Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Use Capistrano's HOSTFILTER feature instead of rolling our own. #10146

Merged
merged 1 commit into from Feb 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions modules/govuk_jenkins/templates/jobs/deploy_app.yaml.erb
Expand Up @@ -20,7 +20,7 @@
export DEPLOY_TO="<%= @environment -%>"
export DEPLOY_TASK="$DEPLOY_TASK"
export TAG="$TAG"
export TARGET_MACHINES="$TARGET_MACHINES"
export HOSTFILTER="$TARGET_MACHINES"
export ORGANISATION="<%= @environment -%>"
export CI_DEPLOY_JENKINS_API_KEY="<%= @ci_deploy_jenkins_api_key -%>"
export GRAPHITE_HOST="<%= @graphite_host -%>"
Expand Down Expand Up @@ -90,8 +90,9 @@
- string:
name: TARGET_MACHINES
description: >
Use "all" to target all eligible servers or
provide a comma-delimited list of FQDN of the servers to deploy to.
Use "all" to target all eligible servers or provide a
comma-delimited list of FQDN of the servers to deploy to. Sets
the HOSTFILTER environment variable for Capistrano.
default: all
- bool:
name: DEPLOY_FROM_AWS_CODECOMMIT
Expand Down