Skip to content

Instantly share code, notes, and snippets.

@mariash
Created September 26, 2019 22:31
Show Gist options
  • Save mariash/612714710a82131b855aeda3b115c3f9 to your computer and use it in GitHub Desktop.
Save mariash/612714710a82131b855aeda3b115c3f9 to your computer and use it in GitHub Desktop.
- name: warp-drive-deploy-cf-deployment
serial_groups: [warp-drive-cf-deployment]
plan:
- get: candidate-lock
passed: [candidate]
trigger: true
- in_parallel:
- get: deployments-diego
resource: warp-drive-config
- get: diego-release
passed: [candidate]
- get: diego-ci
- get: cf-deployment-develop
passed: [candidate]
- get: cf-deployment-diego
passed: [candidate]
- get: cf-deployment-concourse-tasks
- get: runtime-ci
- get: warp-drive-cats-config
- task: merge-cf-deployment
file: diego-ci/tasks/merge_cf_deployment.build.yml
input_mapping:
cf-deployment: cf-deployment-develop
- task: upload-stemcells
file: cf-deployment-concourse-tasks/bosh-upload-stemcells/task.yml
input_mapping: &warp_drive_deployment_input_mappings
release: diego-release
ops-files: deployments-diego
vars-files: deployments-diego
bbl-state: deployments-diego
cf-deployment: merged-cf-deployment
params:
BBL_STATE_DIR: warp-drive/deployments/bbl
OPS_FILES: |
../cf-deployment/operations/windows2012R2-cell.yml
../cf-deployment/operations/windows2019-cell.yml
- task: deploy-cf-deployment
file: cf-deployment-concourse-tasks/bosh-deploy-with-created-release/task.yml
input_mapping: *warp_drive_deployment_input_mappings
params:
BBL_STATE_DIR: warp-drive/deployments/bbl
SYSTEM_DOMAIN: warp-drive.cf-app.com
VARS_FILES: warp-drive/cf-deployment-vars.yml
DEPLOY_WITH_UPTIME_MEASUREMENTS: true
FAIL_ON_DOWNTIME: true
MEASURE_SYSLOG_AVAILABILITY: false
TCP_DOMAIN: " "
AVAILABLE_PORT: -1
APP_PUSHABILITY_THRESHOLD: 2
HTTP_AVAILABILITY_THRESHOLD: 0
RECENT_LOGS_THRESHOLD: 100
STREAMING_LOGS_THRESHOLD: 100
APP_SYSLOG_AVAILABILITY_THRESHOLD: 0
USE_SINGLE_APP_INSTANCE: true
OPS_FILES: &warp_drive_ops_files |
../cf-deployment/operations/use-compiled-releases.yml
../cf-deployment/operations/experimental/use-compiled-releases-windows.yml
../release/operations/add-vizzini-errand.yml
../cf-deployment/operations/test/add-datadog-firehose-nozzle.yml
../cf-deployment/operations/scale-database-cluster.yml
../cf-deployment/operations/use-external-blobstore.yml
../cf-deployment/operations/use-gcs-blobstore-service-account.yml
../cf-deployment/operations/windows2012R2-cell.yml
../cf-deployment/operations/windows2019-cell.yml
../cf-deployment/operations/use-online-windows2019fs.yml
warp-drive/operations/set-windows2019-cell-to-2-instances.yml
warp-drive/operations/scale-up-diego-cells.yml
../release/operations/enable-vizzini-delcarative-healthcheck-tests.yml
../release/operations/enable-vizzini-container-proxy-tests.yml
../release/operations/enable-vizzini-container-proxy-tests-mutual-tls.yml
../cf-deployment/operations/experimental/enable-oci-phase-1.yml
../cf-deployment/operations/experimental/enable-suspect-actual-lrp-generation.yml
../cf-deployment/operations/experimental/rootless-containers.yml
../cf-deployment/operations/experimental/set-cpu-weight.yml
../cf-deployment/operations/experimental/set-cpu-weight-windows2019.yml
../cf-deployment/operations/experimental/enable-nginx-routing-integrity-windows2019.yml
../cf-deployment/operations/enable-tls-on-file-server.yml
../cf-deployment/operations/experimental/disable-uaa-client-redirect-uri-legacy-matching-mode.yml
warp-drive/operations/open-files-limit.yml
warp-drive/operations/routing-acceptance-tests.yml
warp-drive/operations/routing-smoke-tests.yml
warp-drive/operations/set-rep-max-idle-conns.yml
warp-drive/operations/disable-vizzini-privileged-containers-tests.yml
warp-drive/operations/stream-vizzini-output.yml
warp-drive/operations/disable-health-check-server.yml
warp-drive/operations/change-loggregator-agent-deployment.yml
warp-drive/operations/route-integrity-with-correct-backend-ca.yml
- task: enable-docker
file: cf-deployment-concourse-tasks/set-feature-flags/task.yml
input_mapping:
bbl-state: deployments-diego
params:
BBL_STATE_DIR: warp-drive/deployments/bbl
SYSTEM_DOMAIN: warp-drive.cf-app.com
ENABLED_FEATURE_FLAGS: diego_docker
- in_parallel:
- task: update-integration-configs
file: cf-deployment-concourse-tasks/update-integration-configs/task.yml
input_mapping:
bbl-state: deployments-diego
integration-configs: warp-drive-cats-config
params:
BBL_STATE_DIR: warp-drive/deployments/bbl
CATS_INTEGRATION_CONFIG_FILE: warp-drive/integration_config.json
WATS_INTEGRATION_CONFIG_FILE: warp-drive/wats_integration_config.json
SYSTEM_DOMAIN: warp-drive.cf-app.com
GIT_COMMIT_EMAIL: "[email protected]"
GIT_COMMIT_USERNAME: "Diego CI Bot"
ensure:
put: warp-drive-cats-config
params:
repository: updated-integration-configs
rebase: true
- task: update-integration-configs
file: cf-deployment-concourse-tasks/update-integration-configs/task.yml
input_mapping:
bbl-state: deployments-diego
integration-configs: warp-drive-cats-config
params:
BBL_STATE_DIR: warp-drive/deployments/bbl
WATS_INTEGRATION_CONFIG_FILE: warp-drive/wats_2016_integration_config.json
SYSTEM_DOMAIN: warp-drive.cf-app.com
GIT_COMMIT_EMAIL: "[email protected]"
GIT_COMMIT_USERNAME: "Diego CI Bot"
ensure:
put: warp-drive-cats-config
params:
repository: updated-integration-configs
rebase: true
- task: open-asgs-for-credhub
file: cf-deployment-concourse-tasks/open-asgs-for-bosh-instance-group/task.yml
input_mapping:
bbl-state: deployments-diego
params:
BBL_STATE_DIR: warp-drive/deployments/bbl
INSTANCE_GROUP_NAME: credhub
SYSTEM_DOMAIN: warp-drive.cf-app.com
SECURITY_GROUP_NAME: credhub-cats-asg
- task: open-asgs-for-uaa
file: cf-deployment-concourse-tasks/open-asgs-for-bosh-instance-group/task.yml
input_mapping:
bbl-state: deployments-diego
params:
BBL_STATE_DIR: warp-drive/deployments/bbl
INSTANCE_GROUP_NAME: uaa
SYSTEM_DOMAIN: warp-drive.cf-app.com
SECURITY_GROUP_NAME: uaa-cats-asg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment