File tree 2 files changed +27
-3
lines changed
2 files changed +27
-3
lines changed Original file line number Diff line number Diff line change
1
+ LATEST = $(shell curl -q "https://storage.googleapis.com/origin-ci-test/branch-logs/origin/master/builds/.latest" 2>/dev/null) /artifacts/rpms
2
+ REPO ?= $(LATEST )
3
+ INSTANCE_PREFIX ?= $(WHAT )
4
+ export INSTANCE_PREFIX
5
+
6
+ up : check-cluster
7
+ cd data/ && ../../bin/local.sh ansible-playbook -e " openshift_test_repo=$( REPO) " playbooks/launch.yaml
8
+ .PHONY : up
9
+
10
+ down : check-cluster
11
+ cd data/ && ../../bin/local.sh ansible-playbook playbooks/terminate.yaml
12
+ .PHONY : down
13
+
14
+ sh : check-cluster
15
+ cd datata/ && ../../bin/local.sh
16
+ .PHONY : sh
17
+
18
+ check-cluster :
19
+ .PHONY : check-cluster
20
+
21
+ #
22
+ # Copied code above, deploy custom code below
23
+ #
1
24
2
25
deploy :
3
26
-oc apply -f config/
8
31
oc rollout latest -n default router
9
32
oadm policy add-cluster-role-to-user -z heapster -n kube-system cluster-reader
10
33
oc process heapster-standalone | oc apply -f - -n kube-system
34
+ .PHONY : deploy
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ openshift_node_port_range: 30000-32000
30
30
31
31
# Authentication and authorization
32
32
33
- openshift_master_identity_providers : " {{ (lookup('file', 'files/ identity-providers.json' ) | default('{ \" items \" :[]}') | from_json).get('items') }} "
33
+ openshift_master_identity_providers_file : " identity-providers.json"
34
34
provision_role_mappings : [{"user": "smarterclayton", "role": "cluster-admin"}]
35
35
36
36
# Paths on the local system for the certificate files. If empty, self-signed
@@ -74,9 +74,9 @@ provision_gce_node_groups:
74
74
- name : node
75
75
suffix : n
76
76
tags : ocp-node,preserve
77
- machine_type : n1-standard-4
77
+ machine_type : n1-standard-8
78
78
boot_disk_size : 150
79
- scale : 3
79
+ scale : 10
80
80
- name : node-flex
81
81
suffix : nf
82
82
tags : ocp-node,preserve
You can’t perform that action at this time.
0 commit comments