github.com/jghiloni/cli@v6.28.1-0.20170628223758-0ce05fe032a2+incompatible/ci/infrastructure/hardknox.yml (about) 1 --- 2 groups: 3 - name: create 4 jobs: 5 - setup-infrastructure 6 - deploy-cf 7 - name: delete 8 jobs: 9 - delete-cf 10 - delete-infrastructure 11 12 resources: 13 - name: cf-deployment-concourse-tasks 14 type: git 15 source: 16 uri: https://github.com/cloudfoundry/cf-deployment-concourse-tasks 17 branch: master 18 - name: cli-ci 19 type: git 20 source: 21 uri: https://github.com/cloudfoundry/cli 22 branch: master 23 path: ci 24 - name: cf-deployment 25 type: git 26 source: 27 uri: https://github.com/cloudfoundry/cf-deployment 28 branch: master 29 - name: ops-files 30 type: git 31 source: 32 uri: https://github.com/cloudfoundry/cf-deployment 33 branch: master 34 - name: state 35 type: git 36 source: 37 uri: git@github.com:cloudfoundry/cli-private 38 private_key: {{cli-private-github-private-key-write}} 39 branch: master 40 paths: 41 - ci/infrastructure/hardknox/bbl-state.json 42 - name: cf-state 43 type: git 44 source: 45 uri: git@github.com:cloudfoundry/cli-private 46 private_key: {{cli-private-github-private-key-write}} 47 branch: master 48 paths: 49 - ci/infrastructure/hardknox/deployment-vars.yml 50 51 jobs: 52 - name: setup-infrastructure 53 serial_groups: [hardknox] 54 build_logs_to_retain: 100 55 plan: 56 - aggregate: 57 - get: cf-deployment-concourse-tasks 58 - get: state 59 - task: setup-infrastructure 60 file: cf-deployment-concourse-tasks/bbl-up/task.yml 61 input_mapping: 62 bbl-state: state 63 params: 64 BBL_IAAS: gcp 65 BBL_GCP_SERVICE_ACCOUNT_KEY: {{google_account_creds}} 66 BBL_GCP_PROJECT_ID: {{gcp_project}} 67 BBL_GCP_REGION: us-central1 68 BBL_GCP_ZONE: us-central1-f 69 BBL_LB_CERT: {{hardknox_cf_ssl_cert}} 70 BBL_LB_KEY: {{hardknox_cf_ssl_cert_private_key}} 71 LB_DOMAIN: hardknox.cli.fun 72 BBL_ENV_NAME: hardknox 73 BBL_STATE_DIR: ci/infrastructure/hardknox 74 ensure: 75 put: state 76 params: 77 repository: updated-bbl-state 78 rebase: true 79 80 - name: deploy-cf 81 serial_groups: [hardknox] 82 build_logs_to_retain: 100 83 plan: 84 - aggregate: 85 - get: cf-deployment-concourse-tasks 86 - get: state 87 passed: [setup-infrastructure] 88 trigger: true 89 - get: cf-state 90 - get: cf-deployment 91 - get: ops-files 92 - get: cli-ci 93 - task: upload-stemcell 94 file: cf-deployment-concourse-tasks/bosh-upload-stemcell-from-cf-deployment/task.yml 95 input_mapping: 96 bbl-state: state 97 params: 98 INFRASTRUCTURE: google 99 BBL_STATE_DIR: ci/infrastructure/hardknox 100 - task: copy-ops-files 101 file: cli-ci/ci/infrastructure/tasks/combine-inputs.yml 102 input_mapping: 103 input1: ops-files 104 input2: cli-ci 105 params: 106 COPY_PATHS: "input1/operations/scale-to-one-az.yml input1/operations/tcp-routing-gcp.yml input1/operations/test/add-persistent-isolation-segment-diego-cell.yml input2/ci/infrastructure/operations/cli-isolation-cell-overrides.yml input2/ci/infrastructure/operations/diego-cell-instances.yml input2/ci/infrastructure/operations/skip-ssl-override.yml" 107 - task: deploy-cf 108 file: cf-deployment-concourse-tasks/bosh-deploy/task.yml 109 input_mapping: 110 bbl-state: state 111 vars-store: cf-state 112 vars-files: cf-state 113 ops-files: combine_inputs_output 114 params: 115 SYSTEM_DOMAIN: hardknox.cli.fun 116 OPS_FILES: "tcp-routing-gcp.yml add-persistent-isolation-segment-diego-cell.yml cli-isolation-cell-overrides.yml skip-ssl-override.yml scale-to-one-az.yml diego-cell-instances.yml" 117 VARS_STORE_FILE: ci/infrastructure/hardknox/deployment-vars.yml 118 BBL_STATE_DIR: ci/infrastructure/hardknox 119 ensure: 120 put: cf-state 121 params: 122 repository: updated-vars-store 123 rebase: true 124 125 - name: delete-cf 126 serial_groups: [hardknox] 127 build_logs_to_retain: 100 128 plan: 129 - aggregate: 130 - get: cf-deployment-concourse-tasks 131 - get: state 132 - task: delete-cf-deployment 133 file: cf-deployment-concourse-tasks/bosh-delete-deployment/task.yml 134 input_mapping: 135 bbl-state: state 136 params: 137 BBL_STATE_DIR: ci/infrastructure/hardknox 138 139 - name: delete-infrastructure 140 serial_groups: [hardknox] 141 build_logs_to_retain: 100 142 plan: 143 - aggregate: 144 - get: cf-deployment-concourse-tasks 145 - get: state 146 - task: destroy-infrastructure 147 file: cf-deployment-concourse-tasks/bbl-destroy/task.yml 148 input_mapping: 149 bbl-state: state 150 params: 151 BBL_STATE_DIR: ci/infrastructure/hardknox 152 ensure: 153 put: state 154 params: 155 repository: updated-bbl-state 156 rebase: true