Skip to content

Commit c529a0a

Browse files
authored
[bitnami/*] Update publishing workflow to VIB Action v0.4.19 (bitnami#14295)
* Revert "Use fixed version for vib action (bitnami#14285)" This reverts commit 9e70798. Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com> * Use new file for VIB action publish report file Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com> Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>
1 parent 9047b7a commit c529a0a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/cd-pipeline.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ jobs:
178178
verification_mode="$(cat $config_file | grep 'verification-mode' | cut -d'=' -f2)"
179179
fi
180180
echo "verification_mode=${verification_mode}" >> $GITHUB_OUTPUT
181-
- uses: vmware-labs/vmware-image-builder-action@0.4.18
181+
- uses: vmware-labs/vmware-image-builder-action@main
182182
name: Verify and publish ${{ needs.get-chart.outputs.chart }}
183183
with:
184184
pipeline: ${{ needs.get-chart.outputs.chart }}/vib-publish.json
@@ -221,10 +221,10 @@ jobs:
221221
- id: update-index
222222
name: Fetch chart and update index
223223
run: |
224-
# Extract chart release metadata from the publish result file
225-
vib_publish_result_file=$(find ~/artifacts -name "result.json" -print -quit)
226-
chart_name=$(jq -re '.actions|map(select(.action_id == "helm-publish"))[0] | .application.name' $vib_publish_result_file)
227-
chart_version=$(jq -re '.actions|map(select(.action_id == "helm-publish"))[0] | .application.version' $vib_publish_result_file)
224+
# Extract chart release metadata from the publish report file
225+
vib_publish_report_file=$(find ~/artifacts -name "report.json" -print -quit)
226+
chart_name=$(jq -re '.actions|map(select(.action_id == "helm-publish"))[0] | .application.name' $vib_publish_report_file)
227+
chart_version=$(jq -re '.actions|map(select(.action_id == "helm-publish"))[0] | .application.version' $vib_publish_report_file)
228228
# Download published asset
229229
mkdir download
230230
aws s3 cp s3://${{ secrets.AWS_S3_BUCKET }}/bitnami/${chart_name}-${chart_version}.tgz download/

.github/workflows/ci-pipeline-extra-thanos.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
ref: ${{ github.event.pull_request.head.ref }}
3131
repository: ${{ github.event.pull_request.head.repo.full_name }}
32-
- uses: vmware-labs/vmware-image-builder-action@0.4.18
32+
- uses: vmware-labs/vmware-image-builder-action@main
3333
with:
3434
pipeline: thanos/bucketweb/vib-verify.json
3535
env:

.github/workflows/ci-pipeline.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
verification_mode="$(cat $config_file | grep 'verification-mode' | cut -d'=' -f2)"
118118
fi
119119
echo "verification_mode=${verification_mode}" >> $GITHUB_OUTPUT
120-
- uses: vmware-labs/vmware-image-builder-action@0.4.18
120+
- uses: vmware-labs/vmware-image-builder-action@main
121121
name: Verify ${{ needs.get-chart.outputs.chart }}
122122
with:
123123
pipeline: ${{ needs.get-chart.outputs.chart }}/vib-verify.json

0 commit comments

Comments
 (0)