Skip to content

Commit

Permalink
test extraEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig O'Donnell committed Oct 5, 2023
1 parent fad05e0 commit 8aba2af
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,19 @@ jobs:
exit 1
fi
cat << EOF >> test-values.yaml
extraEnv:
- name: TEST_EXTRA_ENV
value: test-extra-env
EOF
output=$(helm template oci://ttl.sh/automated-${{ github.run_id }}/replicated --version 0.0.0 --values test-values.yaml)
if ! echo $output | grep -q 'TEST_EXTRA_ENV'; then
printf "user-set extraEnv should exist:\n\n%s\n\n" "$output"
exit 1
fi
create-test-release:
runs-on: ubuntu-22.04
needs: [ build-and-push-e2e ]
Expand Down

0 comments on commit 8aba2af

Please sign in to comment.