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

feat(github-action): Upgrade GitHub Actions #891

Conversation

nderjung
Copy link
Member

@nderjung nderjung commented Oct 19, 2023

Prerequisite checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Ran make fmt on your commit series before opening this PR;
  • Updated relevant documentation.

Description of changes

This PR upgrades the GitHub action to a newer version of KraftKit and makes necessary additional adjustments, including:

  1. Allowing for authenticated calls during fetching components;
  2. Changing the log-level from error to warning for stderr;

@nderjung nderjung force-pushed the nderjung/feat/tools/github-action/upgrade branch 3 times, most recently from 75d5e91 to 74f7dd6 Compare October 19, 2023 16:35
Copy link
Member

@craciunoiuc craciunoiuc left a comment

Choose a reason for hiding this comment

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

All good here. Thanks!

Reviewed-by: Cezar Craciunoiu cezar.craciunoiu@unikraft.io
Approved-by: Cezar Craciunoiu cezar.craciunoiu@unikraft.io

Included are necessary changes to makae the github-action compatible.
Also remove the `replace` statement.

Signed-off-by: Alexander Jung <alex@unikraft.io>
Allow for authenticated calls during the pulling processs.

Signed-off-by: Alexander Jung <alex@unikraft.io>
Signed-off-by: Alexander Jung <alex@unikraft.io>
Signed-off-by: Alexander Jung <alex@unikraft.io>
Signed-off-by: Alexander Jung <alex@unikraft.io>
Signed-off-by: Alexander Jung <alex@unikraft.io>
Signed-off-by: Alexander Jung <alex@unikraft.io>
This commit fixes the GitHub Actions workflow for the github-actions
program.  Previously, the integration would not be properly run, in fact
it was running what was already in the registry.  Solve this by not
"load"ing the image (this unintuitive name does the opposite of what we
want) so that we can use the image locally.

Additionally, do not run the pull step in the action; this will be done
if the image is not present by the run step.

Signed-off-by: Alexander Jung <alex@unikraft.io>
Signed-off-by: Alexander Jung <alex@unikraft.io>
@nderjung nderjung force-pushed the nderjung/feat/tools/github-action/upgrade branch from 74f7dd6 to 42ea39e Compare October 19, 2023 16:38
@craciunoiuc craciunoiuc merged commit 9053c1e into unikraft:staging Oct 19, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🚀 Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants