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:
siraj.yasin 2021-02-18 21:13:58 +00:00
parent b8a4b6ad73
commit 191736e852

View File

@ -20,7 +20,7 @@ set -xe
# The location of sites whose manifests should be validated.
# This are relative to MANIFEST_ROOT above
: ${SITE_ROOT:="$(basename "${PWD}")/manifests/site"}
: ${MANIFEST_REPO_URL:="https://review.opendev.org/airship/airshipctl"}
: ${SITE:="test-workload"}
: ${CONTEXT:="kind-airship"}
: ${AIRSHIPKUBECONFIG:="${HOME}/.airship/kubeconfig"}
@ -74,7 +74,7 @@ manifests:
commitHash: ""
force: false
tag: ""
url: https://review.opendev.org/airship/airshipctl
url: ${MANIFEST_REPO_URL}
targetPath: ${MANIFEST_ROOT}
metadataPath: manifests/site/${SITE}/metadata.yaml
EOL