Skip to content

Commit

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

0 comments on commit bef5d3d

Please sign in to comment.