Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix helm upgrade #1201

Merged
merged 2 commits into from
Mar 26, 2021
Merged

fix helm upgrade #1201

merged 2 commits into from
Mar 26, 2021

Conversation

sozercan
Copy link
Member

@sozercan sozercan commented Mar 25, 2021

Signed-off-by: Sertac Ozercan sozercan@gmail.com

What this PR does / why we need it:
Uses matching version for initial test

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #

Special notes for your reviewer:

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Does this solve the concern about older e2e runs not being self-cleaning?

@ritazh
Copy link
Member

ritazh commented Mar 26, 2021

Does this solve the concern about older e2e runs not being self-cleaning?

@maxsmythe #1165 fixed it.


- name: Save logs
if: ${{ always() }}
run: |
kubectl logs -n gatekeeper-system -l control-plane=controller-manager --tail=-1 > logs-${{ matrix.HELM_VERSION }}-controller-pre-upgrade.json
kubectl logs -n gatekeeper-system -l control-plane=audit-controller --tail=-1 > logs-${{ matrix.HELM_VERSION }}-audit-pre-upgrade.json

- name: Cleanup
run: |
kubectl delete ns gatekeeper-test-playground gatekeeper-excluded-namespace || true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maxsmythe this is also added since older tests dont have the clean up code yet.

@ritazh ritazh merged commit fe3b6de into open-policy-agent:master Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants