mirror of
https://github.com/bitnami/charts.git
synced 2026-02-25 15:57:33 +08:00
[bitnami/charts] Allow empty runtimes-parameters (#15960)
Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
8
.github/workflows/cd-pipeline.yml
vendored
8
.github/workflows/cd-pipeline.yml
vendored
@@ -181,14 +181,20 @@ jobs:
|
||||
if [[ -f $config_file ]]; then
|
||||
verification_mode="$(cat $config_file | grep 'verification-mode' | cut -d'=' -f2)"
|
||||
fi
|
||||
runtime_parameters_file=""
|
||||
if [[ -f ".vib/${{ needs.get-chart.outputs.chart }}/runtime-parameters.yaml" ]]; then
|
||||
# The path is relative to the .vib folder
|
||||
runtime_parameters_file="${{ needs.get-chart.outputs.chart }}/runtime-parameters.yaml"
|
||||
fi
|
||||
echo "verification_mode=${verification_mode}" >> $GITHUB_OUTPUT
|
||||
echo "runtime_parameters_file=${runtime_parameters_file}" >> $GITHUB_OUTPUT
|
||||
- uses: vmware-labs/vmware-image-builder-action@v0
|
||||
name: Verify and publish ${{ needs.get-chart.outputs.chart }}
|
||||
with:
|
||||
pipeline: ${{ needs.get-chart.outputs.chart }}/vib-publish.json
|
||||
config: charts/.vib/
|
||||
verification-mode: ${{ steps.get-asset-vib-config.outputs.verification_mode }}
|
||||
runtime-parameters-file: ${{ needs.get-chart.outputs.chart }}/runtime-parameters.yaml
|
||||
runtime-parameters-file: ${{ steps.get-asset-vib-config.outputs.runtime_parameters_file }}
|
||||
env:
|
||||
VIB_ENV_TARGET_PLATFORM: ${{ secrets.VIB_ENV_TARGET_PLATFORM }}
|
||||
VIB_ENV_ALTERNATIVE_TARGET_PLATFORM: ${{ secrets.VIB_ENV_ALTERNATIVE_TARGET_PLATFORM }}
|
||||
|
||||
8
.github/workflows/ci-pipeline.yml
vendored
8
.github/workflows/ci-pipeline.yml
vendored
@@ -119,13 +119,19 @@ jobs:
|
||||
if [[ -f $config_file ]]; then
|
||||
verification_mode="$(cat $config_file | grep 'verification-mode' | cut -d'=' -f2)"
|
||||
fi
|
||||
runtime_parameters_file=""
|
||||
if [[ -f ".vib/${{ needs.get-chart.outputs.chart }}/runtime-parameters.yaml" ]]; then
|
||||
# The path is relative to the .vib folder
|
||||
runtime_parameters_file="${{ needs.get-chart.outputs.chart }}/runtime-parameters.yaml"
|
||||
fi
|
||||
echo "verification_mode=${verification_mode}" >> $GITHUB_OUTPUT
|
||||
echo "runtime_parameters_file=${runtime_parameters_file}" >> $GITHUB_OUTPUT
|
||||
- uses: vmware-labs/vmware-image-builder-action@v0
|
||||
name: Verify ${{ needs.get-chart.outputs.chart }}
|
||||
with:
|
||||
pipeline: ${{ needs.get-chart.outputs.chart }}/vib-verify.json
|
||||
verification-mode: ${{ steps.get-asset-vib-config.outputs.verification_mode }}
|
||||
runtime-parameters-file: ${{ needs.get-chart.outputs.chart }}/runtime-parameters.yaml
|
||||
runtime-parameters-file: ${{ steps.get-asset-vib-config.outputs.runtime_parameters_file }}
|
||||
env:
|
||||
# Target-Platform used by default
|
||||
VIB_ENV_TARGET_PLATFORM: ${{ secrets.VIB_ENV_TARGET_PLATFORM }}
|
||||
|
||||
Reference in New Issue
Block a user