github.com/arunkumar7540/cli@v6.45.0+incompatible/ci/infrastructure/lola-pipeline.yml (about) 1 --- 2 groups: 3 - name: create 4 jobs: 5 - deploy 6 - name: delete 7 jobs: 8 - delete-cf 9 - delete-infrastructure 10 11 resources: 12 - name: cf-deployment-concourse-tasks 13 type: git 14 source: 15 uri: https://github.com/cloudfoundry/cf-deployment-concourse-tasks 16 tag_filter: v5.3 17 - name: cli-ci 18 type: git 19 source: 20 uri: https://github.com/cloudfoundry/cli 21 branch: master 22 path: ci 23 - name: cf-deployment 24 type: git 25 source: 26 uri: https://github.com/cloudfoundry/cf-deployment 27 tag_filter: v1.7.0 28 - name: bosh-deployment 29 type: git 30 source: 31 uri: https://github.com/cloudfoundry/bosh-deployment 32 version: 33 ref: 52e46d73007b363dcd68b428951a0337608ce057 34 - name: state 35 type: git 36 source: 37 uri: git@github.com:cloudfoundry/cli-private 38 private_key: ((cli-private-github-private-key)) 39 branch: master 40 paths: 41 - ci/infrastructure/((stack-name))/bbl-state.json 42 - name: gcp-bosh-pool 43 type: pool 44 source: 45 uri: git@github.com:cloudfoundry/cli-pools 46 private_key: ((cli-pools-github-private-key)) 47 branch: master 48 pool: ((pool-name)) 49 - name: overview-broker 50 type: git 51 source: 52 uri: https://github.com/mattmcneeney/overview-broker 53 branch: master 54 55 jobs: 56 - name: deploy 57 serial_groups: [((stack-name))] 58 build_logs_to_retain: 100 59 plan: 60 - aggregate: 61 - get: cf-deployment 62 - get: cf-deployment-concourse-tasks 63 - get: state 64 - put: gcp-bosh-pool 65 timeout: 2h 66 params: 67 claim: ((stack-name)).cli.fun 68 - get: cli-ci 69 - get: bosh-deployment 70 - get: overview-broker 71 - task: setup-infrastructure 72 file: cf-deployment-concourse-tasks/bbl-up/task.yml 73 input_mapping: 74 env-repo: state 75 ops-files: state 76 params: 77 BBL_IAAS: gcp 78 BBL_GCP_SERVICE_ACCOUNT_KEY: ((google-account-creds)) 79 BBL_GCP_REGION: us-central1 80 BBL_LB_CERT: ((ssl-cert)) 81 BBL_LB_KEY: ((ssl-cert-private-key)) 82 LB_DOMAIN: ((stack-name)).cli.fun 83 BBL_ENV_NAME: ((stack-name)) 84 BBL_STATE_DIR: ci/infrastructure/((stack-name)) 85 - task: upload-stemcell 86 file: cf-deployment-concourse-tasks/bosh-upload-stemcell-from-cf-deployment/task.yml 87 input_mapping: 88 env-repo: state 89 params: 90 INFRASTRUCTURE: google 91 BBL_STATE_DIR: ci/infrastructure/((stack-name)) 92 - task: create-vars-file 93 file: cli-ci/ci/infrastructure/tasks/create-vars-file.yml 94 params: 95 CLIENT_SECRET: ((client-secret)) 96 - task: copy-ops-files 97 file: cli-ci/ci/infrastructure/tasks/combine-inputs.yml 98 input_mapping: 99 input1: cf-deployment 100 input2: cli-ci 101 params: 102 COPY_PATHS: "input1/operations/scale-to-one-az.yml input1/operations/test/add-persistent-isolation-segment-diego-cell.yml input1/operations/use-compiled-releases.yml input2/ci/infrastructure/operations/default-app-memory.yml input2/ci/infrastructure/operations/diego-cell-instances.yml input2/ci/infrastructure/operations/skip-ssl-override.yml input2/ci/infrastructure/operations/uaa-vm_type-override.yml input2/ci/infrastructure/operations/add-uaa-client-credentials.yml input2/ci/infrastructure/operations/add-uaa-client-cf-custom.yml input2/ci/infrastructure/operations/add-dummy-windows-stack.yml input2/ci/infrastructure/operations/reduce-async-service-polling.yml input2/ci/infrastructure/operations/add-oidc-provider.yml input2/ci/infrastructure/operations/adjust-user-retry-attempts.yml input2/ci/infrastructure/operations/give-cf-admin-clients-read-scope.yml" 103 - task: deploy-cf 104 file: cf-deployment-concourse-tasks/bosh-deploy/task.yml 105 input_mapping: 106 env-repo: state 107 vars-files: vars_path 108 vars-store: state # actually, we are using credhub but this param is required 109 ops-files: combine_inputs_output 110 params: 111 SYSTEM_DOMAIN: ((stack-name)).cli.fun 112 OPS_FILES: "add-persistent-isolation-segment-diego-cell.yml use-compiled-releases.yml default-app-memory.yml skip-ssl-override.yml scale-to-one-az.yml diego-cell-instances.yml uaa-vm_type-override.yml add-uaa-client-credentials.yml add-uaa-client-cf-custom.yml add-dummy-windows-stack.yml reduce-async-service-polling.yml adjust-user-retry-attempts.yml give-cf-admin-clients-read-scope.yml" 113 USE_VARS_STORE: false 114 VARS_FILES: vars.yml 115 BBL_STATE_DIR: ci/infrastructure/((stack-name)) 116 - task: bosh-cleanup 117 file: cf-deployment-concourse-tasks/bosh-cleanup/task.yml 118 input_mapping: 119 env-repo: state 120 params: 121 BBL_STATE_DIR: ci/infrastructure/((stack-name)) 122 CLEAN_ALL: true 123 ensure: 124 aggregate: 125 - put: state 126 params: 127 repository: updated-env-repo 128 rebase: true 129 - put: gcp-bosh-pool 130 params: 131 release: gcp-bosh-pool 132 133 - name: delete-cf 134 serial_groups: [((stack-name))] 135 build_logs_to_retain: 100 136 plan: 137 - aggregate: 138 - get: cf-deployment-concourse-tasks 139 - get: state 140 - put: gcp-bosh-pool 141 timeout: 2h 142 params: 143 claim: ((stack-name)).cli.fun 144 - task: delete-cf-deployment 145 file: cf-deployment-concourse-tasks/bosh-delete-deployment/task.yml 146 input_mapping: 147 env-repo: state 148 params: 149 BBL_STATE_DIR: ci/infrastructure/((stack-name)) 150 IGNORE_ERRORS: true 151 ensure: 152 put: gcp-bosh-pool 153 params: 154 release: gcp-bosh-pool 155 156 - name: delete-infrastructure 157 serial_groups: [((stack-name))] 158 build_logs_to_retain: 100 159 plan: 160 - aggregate: 161 - get: cf-deployment-concourse-tasks 162 - get: state 163 - put: gcp-bosh-pool 164 timeout: 2h 165 params: 166 claim: ((stack-name)).cli.fun 167 - task: bosh-cleanup 168 file: cf-deployment-concourse-tasks/bosh-cleanup/task.yml 169 input_mapping: 170 env-repo: state 171 params: 172 BBL_STATE_DIR: ci/infrastructure/((stack-name)) 173 CLEAN_ALL: true 174 - task: destroy-infrastructure 175 file: cf-deployment-concourse-tasks/bbl-destroy/task.yml 176 input_mapping: 177 env-repo: state 178 params: 179 BBL_STATE_DIR: ci/infrastructure/((stack-name)) 180 BBL_GCP_SERVICE_ACCOUNT_KEY: ((google-account-creds)) 181 ensure: 182 aggregate: 183 - put: state 184 params: 185 repository: updated-env-repo 186 rebase: true 187 - put: gcp-bosh-pool 188 params: 189 release: gcp-bosh-pool