Skip to content

Commit b38d10f

Browse files
Updates to new CI cluster size
1 parent 243abf2 commit b38d10f

File tree

2 files changed

+27
-3
lines changed

2 files changed

+27
-3
lines changed

cluster/ci/Makefile

+24
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
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+
#
124

225
deploy:
326
-oc apply -f config/
@@ -8,3 +31,4 @@ deploy:
831
oc rollout latest -n default router
932
oadm policy add-cluster-role-to-user -z heapster -n kube-system cluster-reader
1033
oc process heapster-standalone | oc apply -f - -n kube-system
34+
.PHONY: deploy

cluster/ci/data/vars.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ openshift_node_port_range: 30000-32000
3030

3131
# Authentication and authorization
3232

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"
3434
provision_role_mappings: [{"user": "smarterclayton", "role": "cluster-admin"}]
3535

3636
# Paths on the local system for the certificate files. If empty, self-signed
@@ -74,9 +74,9 @@ provision_gce_node_groups:
7474
- name: node
7575
suffix: n
7676
tags: ocp-node,preserve
77-
machine_type: n1-standard-4
77+
machine_type: n1-standard-8
7878
boot_disk_size: 150
79-
scale: 3
79+
scale: 10
8080
- name: node-flex
8181
suffix: nf
8282
tags: ocp-node,preserve

0 commit comments

Comments
 (0)