Skip to content

Commit

Permalink
ci: fix meltano img path in bump script
Browse files Browse the repository at this point in the history
  • Loading branch information
krtk6160 committed Jan 24, 2025
1 parent 59133ec commit 2d37666
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ groups:
- bump-image-in-chart
- #@ build_app_edge_image_name("admin-panel")
- #@ build_app_edge_image_name("customer-portal")
- build-meltano-image
- build-meltano-edge-image

jobs:
- #@ check_code()
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
- #@ build_app_edge_image_name("customer-portal")
- get: meltano-edge-image
passed:
- build-meltano-image
- build-meltano-edge-image
- task: prep-release
config:
platform: linux
Expand Down Expand Up @@ -344,7 +344,7 @@ jobs:
- #@ build_app_edge_image("admin-panel")
- #@ build_app_edge_image("customer-portal")

- name: build-meltano-image
- name: build-meltano-edge-image
plan:
- in_parallel:
- get: repo
Expand Down
2 changes: 1 addition & 1 deletion ci/tasks/bump-image-digest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pushd charts-repo
yq -i e '.lanaBank.image.digest = strenv(digest)' ./charts/${CHARTS_SUBDIR}/values.yaml
yq -i e '.lanaBank.adminPanel.image.digest = strenv(admin_panel_image_digest)' ./charts/${CHARTS_SUBDIR}/values.yaml
yq -i e '.lanaBank.customerPortal.image.digest = strenv(customer_portal_image_digest)' ./charts/${CHARTS_SUBDIR}/values.yaml
yq -i e '.lanaBank.meltano.image.digest = strenv(meltano_image_digest)' ./charts/${CHARTS_SUBDIR}/values.yaml
yq -i e '.meltano.image.digest = strenv(meltano_image_digest)' ./charts/${CHARTS_SUBDIR}/values.yaml
sed -i "s|\(digest: \"${digest}\"\).*$|\1 # METADATA:: repository=https://github.com/GaloyMoney/${CHARTS_SUBDIR};commit_ref=${ref};app=${CHARTS_SUBDIR};|g" "./charts/${CHARTS_SUBDIR}/values.yaml"

yq -i e '.lanaBank.appVersion = strenv(app_version)' ./charts/${CHARTS_SUBDIR}/values.yaml
Expand Down

0 comments on commit 2d37666

Please sign in to comment.