Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
o-orand committed Aug 11, 2021
1 parent 032ed56 commit 25d1dfa
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/curl-ssl
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
inputs:
- name: repackaged-releases-fallback
run:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/curl-ssl
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
inputs:
- name: repackaged-releases-fallback
run:
Expand Down Expand Up @@ -634,7 +634,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/curl-ssl
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
inputs:
- name: final-release-manifest
outputs:
Expand Down Expand Up @@ -771,7 +771,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/curl-ssl
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
outputs:
- name: result-dir
run:
Expand Down Expand Up @@ -839,7 +839,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/bosh-cli-v2
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
inputs:
- name: scripts-resource
- name: secrets
Expand Down Expand Up @@ -888,7 +888,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/curl-ssl
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
outputs:
- name: result-dir
run:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/curl-ssl
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
inputs:
- name: repackaged-releases-fallback
run:
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:
type: registry-image
source:
repository: orangecloudfoundry/bosh-cli-v2-cf-cli
tag: 8d4bfff7a4aff1d88caff6bd5b78e2d34981d4f1
tag: e52d0924aa2dc367e078fdb5ff19eecab1b16ed7
inputs:
- name: stemcell
outputs:
Expand Down Expand Up @@ -297,7 +297,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/bosh-cli-v2
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
inputs:
- name: releases-to-upload
- name: config-resource
Expand Down Expand Up @@ -329,7 +329,7 @@ jobs:
type: registry-image
source:
repository: orangecloudfoundry/bosh-cli-v2-cf-cli
tag: 8d4bfff7a4aff1d88caff6bd5b78e2d34981d4f1
tag: e52d0924aa2dc367e078fdb5ff19eecab1b16ed7
inputs:
- name: stemcell
- name: secrets
Expand Down Expand Up @@ -387,7 +387,7 @@ jobs:
type: registry-image
source:
repository: orangecloudfoundry/bosh-cli-v2-cf-cli
tag: 8d4bfff7a4aff1d88caff6bd5b78e2d34981d4f1
tag: e52d0924aa2dc367e078fdb5ff19eecab1b16ed7
inputs:
- name: stemcell
outputs:
Expand Down Expand Up @@ -417,7 +417,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/bosh-cli-v2
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
inputs:
- name: releases-to-upload
- name: config-resource
Expand Down Expand Up @@ -449,7 +449,7 @@ jobs:
type: registry-image
source:
repository: orangecloudfoundry/bosh-cli-v2-cf-cli
tag: 8d4bfff7a4aff1d88caff6bd5b78e2d34981d4f1
tag: e52d0924aa2dc367e078fdb5ff19eecab1b16ed7
inputs:
- name: stemcell
- name: secrets
Expand Down Expand Up @@ -507,7 +507,7 @@ jobs:
type: registry-image
source:
repository: orangecloudfoundry/bosh-cli-v2-cf-cli
tag: 8d4bfff7a4aff1d88caff6bd5b78e2d34981d4f1
tag: e52d0924aa2dc367e078fdb5ff19eecab1b16ed7
inputs:
- name: stemcell
outputs:
Expand Down Expand Up @@ -537,7 +537,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/bosh-cli-v2
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
inputs:
- name: releases-to-upload
- name: config-resource
Expand Down Expand Up @@ -569,7 +569,7 @@ jobs:
type: registry-image
source:
repository: orangecloudfoundry/bosh-cli-v2-cf-cli
tag: 8d4bfff7a4aff1d88caff6bd5b78e2d34981d4f1
tag: e52d0924aa2dc367e078fdb5ff19eecab1b16ed7
inputs:
- name: stemcell
- name: secrets
Expand Down Expand Up @@ -628,7 +628,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/curl-ssl
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
outputs:
- name: result-dir
run:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/curl-ssl
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
outputs:
- name: result-dir
run:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/git-ssh
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
outputs:
- name: success-tag
run:
Expand All @@ -186,7 +186,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/git-ssh
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
inputs:
- name: concourse-micro-success
optional: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/curl-ssl
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
outputs:
- name: result-dir
run:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/curl-ssl
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
inputs:
- name: boshrelease
outputs:
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/curl-ssl
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
inputs:
- name: boshrelease
outputs:
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
type: registry-image
source:
repository: governmentpaas/curl-ssl
tag: f4817cce4038ac072c06507ca9d255392489d967
tag: 469ceea7a619b0abdd6cb27efd4d3bd5e9be3ddb
inputs:
- name: boshrelease
outputs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ else
echo "Deployment name: $COA_DEPLOYMENT_NAME"
fi

if [ -z "$COA_ROOT_DEPLOYMENT_NAME" ]; then
echo "env COA_ROOT_DEPLOYMENT_NAME is missing"
exit 1
else
echo "Deployment name: $COA_ROOT_DEPLOYMENT_NAME"
fi


if [ -z "$IAAS_TYPE" ]; then
echo "env IAAS_TYPE is missing"
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ float: #@ data.values.float

auto-injected-by-coa:
deployment-name: #@ data.values.DEPLOYMENT_NAME
root-deployment-name: #@ data.values.ROOT_DEPLOYMENT_NAME
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ int: 0
float: 0.0

DEPLOYMENT_NAME: #! This is required to be able to automatically inject value of COA_DEPLOYMENT_NAME using ytt --data-values-env COA
ROOT_DEPLOYMENT_NAME: #! This is required to be able to automatically inject value of COA_ROOT_DEPLOYMENT_NAME using ytt --data-values-env COA
1 change: 1 addition & 0 deletions spec/tasks/execute_k8s_shells/task_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"TASK_RUN_SCRIPT" => "cf-ops-automation/concourse/tasks/execute_k8s_shells/run.sh",
"FILE_EXECUTION_FILTER" => "[0-9][0-9]-*.sh",
"COA_DEPLOYMENT_NAME" => nil,
"COA_ROOT_DEPLOYMENT_NAME" => nil,
"CUSTOM_SCRIPT_DIR" => nil,
"CREDHUB_SERVER" => nil,
"CREDHUB_CLIENT" => nil,
Expand Down

0 comments on commit 25d1dfa

Please sign in to comment.