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

Add manual trigger for integration test workflow for PRs #109

Merged
merged 3 commits into from
Aug 9, 2023

Conversation

t0mk
Copy link
Contributor

@t0mk t0mk commented Aug 4, 2023

This PR adds workflow to run integration tests for a PR. It doens't run the tests automatically but it's triggered manually, from Actions section of the repo, and it's got params test, hash, PR num.

I think only people with write access to the repo can trigger the test. I'm not sure if this is a good thing as Equinix Metal integration tests can flaky, as we know from the TF provider.

It's taken from Linode ansible collection.

@t0mk t0mk requested a review from ctreatma August 4, 2023 13:53
run: pip3 install -r requirements-dev.txt -r requirements.txt

- name: install ansible dependencies
run: ansible-galaxy collection install amazon.aws:==6.0.1
Copy link
Member

Choose a reason for hiding this comment

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

I think I've asked about this before.. Any idea why we need AWS here?

@displague
Copy link
Member

@ctreatma added a pattern in equinix/metal-cli that could be helpful here: https://github.com/equinix/metal-cli/blob/main/.github/workflows/e2e-test.yml

Described here: equinix/metal-cli#306

@t0mk
Copy link
Contributor Author

t0mk commented Aug 7, 2023

@ctreatma added a pattern in equinix/metal-cli that could be helpful here: https://github.com/equinix/metal-cli/blob/main/.github/workflows/e2e-test.yml

Described here: equinix/metal-cli#306

Hmm, that looks more simple than the the Linode workflow.

@t0mk
Copy link
Contributor Author

t0mk commented Aug 7, 2023

@displague I redid the workflow in a similar manner as the one in metal-cli. It's actually the same except for trigger paths and the last text execution block.

@ctreatma ctreatma merged commit b1adc91 into main Aug 9, 2023
@ctreatma ctreatma deleted the pr_integ_tests branch September 9, 2024 21:27
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.

3 participants