Read manifest repository URL from env
* Read manifest repository URL from environment variable, so that it can be configured to use for other repos like treasuremap Change-Id: I756e5be6fce72d4a5e7fe2d2f1115e92ea67843f
This commit is contained in:
parent
b8a4b6ad73
commit
191736e852
@ -20,7 +20,7 @@ set -xe
|
|||||||
# The location of sites whose manifests should be validated.
|
# The location of sites whose manifests should be validated.
|
||||||
# This are relative to MANIFEST_ROOT above
|
# This are relative to MANIFEST_ROOT above
|
||||||
: ${SITE_ROOT:="$(basename "${PWD}")/manifests/site"}
|
: ${SITE_ROOT:="$(basename "${PWD}")/manifests/site"}
|
||||||
|
: ${MANIFEST_REPO_URL:="https://review.opendev.org/airship/airshipctl"}
|
||||||
: ${SITE:="test-workload"}
|
: ${SITE:="test-workload"}
|
||||||
: ${CONTEXT:="kind-airship"}
|
: ${CONTEXT:="kind-airship"}
|
||||||
: ${AIRSHIPKUBECONFIG:="${HOME}/.airship/kubeconfig"}
|
: ${AIRSHIPKUBECONFIG:="${HOME}/.airship/kubeconfig"}
|
||||||
@ -74,7 +74,7 @@ manifests:
|
|||||||
commitHash: ""
|
commitHash: ""
|
||||||
force: false
|
force: false
|
||||||
tag: ""
|
tag: ""
|
||||||
url: https://review.opendev.org/airship/airshipctl
|
url: ${MANIFEST_REPO_URL}
|
||||||
targetPath: ${MANIFEST_ROOT}
|
targetPath: ${MANIFEST_ROOT}
|
||||||
metadataPath: manifests/site/${SITE}/metadata.yaml
|
metadataPath: manifests/site/${SITE}/metadata.yaml
|
||||||
EOL
|
EOL
|
||||||
|
Loading…
Reference in New Issue
Block a user