Fix metadatapath in airship config for treasuremap

Correct the metadatapath for airshipctl config in treasuremap and assign
it to manifest

Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
Change-Id: I0f36f3cf6452ac38f2a9e9f3d9469e3f65c36357
(cherry picked from commit 0b6375e25a)
This commit is contained in:
Sreejith Punnapuzha 2021-04-05 11:23:38 -05:00 committed by Drew Walters
parent 89fc29184a
commit b734c5549a
1 changed files with 4 additions and 5 deletions

View File

@ -37,15 +37,14 @@ export AIRSHIPCTL_REF=${AIRSHIPCTL_REF:-"$(git rev-parse HEAD)"}
airshipctl config set-manifest treasuremap_ci \
--repo airshipctl \
--url "${AIRSHIPCTL_REPO_URL}" \
--commithash "${AIRSHIPCTL_REF}"
--commithash "${AIRSHIPCTL_REF}" \
--target-path "${AIRSHIP_CONFIG_MANIFEST_DIRECTORY}" \
--metadata-path "${AIRSHIP_CONFIG_METADATA_PATH}"
airshipctl config set-manifest treasuremap_ci \
--repo primary \
--url "${AIRSHIP_CONFIG_PHASE_REPO_URL}" \
--commithash "${TREASUREMAP_REF}"
# Add target path and metadata path
airshipctl config set-manifest treasuremap_ci \
--commithash "${TREASUREMAP_REF}" \
--target-path "${AIRSHIP_CONFIG_MANIFEST_DIRECTORY}" \
--metadata-path "${AIRSHIP_CONFIG_METADATA_PATH}"