Skip to content

Commit

Permalink
ci: fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
phbelitz committed Jan 22, 2022
1 parent 29a27a5 commit eaa1643
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ jobs:
echo ALERTING_ENDPOINT_IP=${ALERTING_ENDPOINT_IP} >> $GITHUB_ENV
- name: Configure Connaisseur and show configuration
run: |
if [[ ! (${{ matrix.integration-test-arg }} == 'pre-config') ]]; then
yq eval -i '.deployment.imagePullPolicy="IfNotPresent"' helm/values.yaml
fi
yq eval -i '.deployment.imagePullPolicy="IfNotPresent"' tests/integration/update.yaml
echo "::group::values.yaml"
yq e '.' helm/values.yaml
echo "::endgroup::"
Expand Down
3 changes: 2 additions & 1 deletion tests/integration/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ case $1 in
deployment_int_test
;;
"pre-config")
update_values '.deployment.imagePullPolicy="Never"'
IPP=`yq e '.deployment.imagePullPolicy' tests/integration/update.yaml`
update_values '.deployment.imagePullPolicy=strenv(IPP)'
helm_install
pre_config_int_test
helm_uninstall
Expand Down

0 comments on commit eaa1643

Please sign in to comment.