Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upload stemcells independently of using bosh-deployment resource to
avoid manifest being treated as v2. Add CREDHUB_MODE parameter for write-cats-config and only set for bal pipeline Signed-off-by: Keaty Gross <kgross@pivotal.io> Signed-off-by: Sam Coward <scoward@pivotal.io>
- Loading branch information
1 parent
04172ff
commit 51bc826
Showing
7 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash -l | ||
|
||
set -o errexit | ||
set -o nounset | ||
set -o pipefail | ||
|
||
pushd buildpacks-ci | ||
# shellcheck disable=SC1091 | ||
source ./bin/target_bosh "$DEPLOYMENT_NAME" | ||
popd | ||
|
||
bosh upload stemcell https://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-trusty-go_agent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
platform: linux | ||
image_resource: | ||
type: docker-image | ||
source: | ||
repository: cfbuildpacks/ci | ||
inputs: | ||
- name: bosh-lite | ||
- name: buildpacks-ci | ||
- name: cf-release | ||
- name: diego-release | ||
outputs: | ||
- name: upload-stemcell-to-bosh-lite | ||
run: | ||
path: buildpacks-ci/tasks/upload-stemcell-to-bosh-lite/run.sh | ||
params: | ||
DEPLOYMENT_NAME: | ||
BOSH_USER: | ||
BOSH_PASSWORD: | ||
BOSH_TARGET: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ params: | |
CI_CF_PASSWORD: | ||
APPS_DOMAIN: | ||
DIEGO_DOCKER_ON: | ||
CREDHUB_MODE: |