Skip to content

actions: fix e2e test, add it to pull-request workflow#222

Merged
ashutosh-narkar merged 1 commit intoopen-policy-agent:masterfrom
srenatus:sr/fix-e2e-action
Nov 30, 2020
Merged

actions: fix e2e test, add it to pull-request workflow#222
ashutosh-narkar merged 1 commit intoopen-policy-agent:masterfrom
srenatus:sr/fix-e2e-action

Conversation

@srenatus
Copy link
Collaborator

@srenatus srenatus commented Nov 25, 2020

Also updates kind to 0.9.0, required for Istio 1.7.0.
(Oversight of #217)

👉 Here's an example run of this PR: https://github.com/open-policy-agent/opa-envoy-plugin/runs/1453090996?check_suite_focus=true#step:4:211

⏱️ Just short of 5 minutes. Sounds OK to me. Let's try to roll with this in the pull-request workflow for a while.

@srenatus srenatus force-pushed the sr/fix-e2e-action branch 5 times, most recently from 82f7104 to a60717d Compare November 25, 2020 11:15
@srenatus srenatus changed the title workflow: fix post-merge, add test-e2e to pull-request actions: fix e2e test, move it to pull-request workflow Nov 25, 2020
@srenatus srenatus marked this pull request as ready for review November 25, 2020 11:16
@@ -55,44 +55,3 @@ jobs:
# Only run if required secrets are provided
if: ${{ env.DOCKER_USER && env.DOCKER_PASSWORD }}
run: make deploy-ci
Copy link
Member

Choose a reason for hiding this comment

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

Any reason for removing the e2e on master ? Even though we run it on a PR, it would fine to run it on master as well imo.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hmm good point. We can have both. I'll restore them.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Updated, it's running twice now. Slightly refactored the actions in the process.

Also updates kind to 0.9.0, required for Istio 1.7.0.
(Oversight of open-policy-agent#217)

Signed-off-by: Stephan Renatus <stephan@styra.com>
@srenatus srenatus changed the title actions: fix e2e test, move it to pull-request workflow actions: fix e2e test, add it to pull-request workflow Nov 26, 2020
cd /tmp/istio-${ISTIO_VERSION}
pushd /tmp/istio-${ISTIO_VERSION}
bin/istioctl install -y --set profile=demo
popd
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This cd to pushd change doesn't really matter for the script, but it also doesn't hurt...

Copy link
Member

@ashutosh-narkar ashutosh-narkar left a comment

Choose a reason for hiding this comment

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

lgtm

@ashutosh-narkar ashutosh-narkar merged commit 6ff608e into open-policy-agent:master Nov 30, 2020
@srenatus srenatus deleted the sr/fix-e2e-action branch November 30, 2020 19:44
@srenatus
Copy link
Collaborator Author

✔️ looks OK here: https://github.com/open-policy-agent/opa-envoy-plugin/runs/1475406622

Thanks for the review 🚀

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.

2 participants