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 periodic jobs for optional tests and release branches #1765

Conversation

lentzi90
Copy link
Member

@lentzi90 lentzi90 commented Jun 4, 2024

What this PR does / why we need it:

This adds more github workflows, namely periodic jobs for the release branches with the required e2e tests and periodic jobs for the optional e2e tests for main and release branches.

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

@metal3-io-bot metal3-io-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 4, 2024
@lentzi90 lentzi90 force-pushed the lentzi90/e2e-periodic-optional-gh-workflows branch from 098ab62 to cbcc7a1 Compare June 4, 2024 10:55
This adds more github workflows, namely periodic jobs for the release
branches with the required e2e tests and periodic jobs for the optional
e2e tests for main and release branches.

Signed-off-by: Lennart Jern <lennart.jern@est.tech>
@lentzi90 lentzi90 force-pushed the lentzi90/e2e-periodic-optional-gh-workflows branch from cbcc7a1 to 4792e1b Compare June 4, 2024 11:10
# We need a new shell to pick up the new group. That is why we do the sudo -s -u $USER ...
# Remove the pre-installed go version. We install the exact version we need.
run: |
sudo usermod -a -G libvirt $USER
sudo rm /usr/bin/go
sudo -s -u $USER bash ${{ github.workspace }}/hack/ci-e2e.sh
sudo -s -u $USER --preserve-env bash ${{ github.workspace }}/hack/ci-e2e.sh
Copy link
Member Author

@lentzi90 lentzi90 Jun 4, 2024

Choose a reason for hiding this comment

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

Note: This was a mistake in the previous PR. The env vars were not passed through. By adding --preserve-env we make sure that the environment variables really are available in the script. The consequence is that we so far only tested redfish-virtualmedia because the BMC_PROTOCOL was never set 🤦

Copy link
Member

@kashifest kashifest left a comment

Choose a reason for hiding this comment

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

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kashifest

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 4, 2024
@Rozzii
Copy link
Member

Rozzii commented Jun 4, 2024

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 4, 2024
@metal3-io-bot metal3-io-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 4, 2024
@lentzi90 lentzi90 force-pushed the lentzi90/e2e-periodic-optional-gh-workflows branch from 4792e1b to 9165d81 Compare June 4, 2024 13:28
@metal3-io-bot metal3-io-bot removed the lgtm Indicates that a PR is ready to be merged. label Jun 4, 2024
@lentzi90
Copy link
Member Author

lentzi90 commented Jun 4, 2024

Test commit removed.

@kashifest
Copy link
Member

/hold cancel
looks good now

@metal3-io-bot metal3-io-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 4, 2024
@Rozzii
Copy link
Member

Rozzii commented Jun 4, 2024

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 4, 2024
@metal3-io-bot metal3-io-bot merged commit a53ead8 into metal3-io:main Jun 4, 2024
16 checks passed
@metal3-io-bot metal3-io-bot deleted the lentzi90/e2e-periodic-optional-gh-workflows branch June 4, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants