This repository was archived by the owner on Feb 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathscaling.yml
More file actions
87 lines (83 loc) · 2.55 KB
/
Copy pathscaling.yml
File metadata and controls
87 lines (83 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
resource_types: []
resources:
- name: cf-for-k8s
type: git
icon: github
source:
uri: git@github.com:cloudfoundry/cf-for-k8s
private_key: ((github_private_key.private_key))
branch: scale-istio-1.6.9
ignore_paths:
- ci/**
- name: cf-k8s-networking
type: git
icon: github
source:
uri: git@github.com:cloudfoundry/cf-k8s-networking.git
private_key: ((github_private_key.private_key))
branch: develop
ignore_paths:
- config/values/images.yml # Do not want resource to trigger on image digest updates
- name: cf-k8s-networking-ci
type: git
icon: github
source:
uri: git@github.com:cloudfoundry/cf-k8s-networking.git
private_key: ((github_private_key.private_key))
branch: develop
paths:
- ci
- config
groups:
- name: scale-testing
jobs:
- scale-test
- manually-delete-gke-cluster
# Weekly Scale Tests
jobs:
- name: scale-test
serial: true
serial_groups: [scale-test]
plan:
- in_parallel:
- get: cf-for-k8s
- get: cf-k8s-networking-ci
- get: cf-k8s-networking
- task: create-gke-cluster
file: cf-k8s-networking-ci/ci/tasks/cf4k8s/create-gke-cluster.yml
params:
CLUSTER_NAME: &scale-testing-cluster-name ci-scale-testing-cluster
GCP_SERVICE_ACCOUNT_KEY: ((shared_gcp_account_creds))
ENABLE_IP_ALIAS: true
MACHINE_TYPE: "n1-standard-8"
NUM_NODES: 34
REGIONAL_CLUSTER: ®ional-cluster true
- task: install-cf
file: cf-k8s-networking-ci/ci/tasks/cf4k8s/install-cf-for-k8s.yml
params:
CF_DOMAIN: &scale-testing-domain "ci-scale-testing.routing.lol"
CLUSTER_NAME: *scale-testing-cluster-name
GCP_SERVICE_ACCOUNT_KEY: ((shared_gcp_account_creds))
KPACK_GCR_ACCOUNT_KEY: ((gcp_gcr_service_account_key))
KAPP_TIMEOUT: "45m"
REGIONAL_CLUSTER: *regional-cluster
- task: pave-cf-for-scale-tests
file: cf-k8s-networking-ci/ci/tasks/scale/pave-cf-for-scale-tests.yml
params:
NUMBER_OF_APPS: 1000
- task: run-scale-tests
file: cf-k8s-networking-ci/ci/tasks/scale/run-scale-tests.yml
params:
NUMBER_OF_APPS: 1000
- name: manually-delete-gke-cluster
serial_groups: [scale-test]
plan:
- in_parallel:
- get: cf-k8s-networking-ci
- task: destroy-cluster
file: cf-k8s-networking-ci/ci/tasks/cf4k8s/destroy-cluster.yml
params:
CF_DOMAIN: *scale-testing-domain
CLUSTER_NAME: *scale-testing-cluster-name
GCP_SERVICE_ACCOUNT_KEY: ((shared_gcp_account_creds))