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

github: factor out common workflows #1196

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

github: factor out common workflows #1196

wants to merge 4 commits into from

Conversation

lsf37
Copy link
Member

@lsf37 lsf37 commented Feb 10, 2024

We can now reuse workflow definitions, which means we can factor them out into the ci-actions repo and re-use over multiple other repositories.

Needs seL4/ci-actions#332 merged first.

The plan is to use this on the seL4 repo first for a while and then deploy to the rest when we are sure that everything works as we want it to.

@lsf37 lsf37 self-assigned this Feb 10, 2024
@lsf37 lsf37 added the CI related to continuous integration and testing label Feb 10, 2024
@lsf37 lsf37 requested a review from axel-h February 10, 2024 03:06
@lsf37
Copy link
Member Author

lsf37 commented Feb 10, 2024

(This needs seL4/ci-actions#332 merged before the required actions can trigger, because they point to master where they don't exist yet)

The new reusable workflow feature of GitHub allows us to avoid
repeating the workflow definitions and collect them in the ci-actions
repo instead.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Disambiguate from seL4Test runs on pull requests.

Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Copy link
Member

@axel-h axel-h left a comment

Choose a reason for hiding this comment

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

Looks good, nice.

Copy link
Member

@axel-h axel-h Mar 26, 2024

Choose a reason for hiding this comment

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

Maybe rename the file also to clarify this is a generic deploy: sel4test-deploy.yml -> deploy.yml

Copy link
Member

Choose a reason for hiding this comment

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

ah no, ignore that.

Copy link
Member

@axel-h axel-h Mar 26, 2024

Choose a reason for hiding this comment

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

Maybe rename the file also to clarify this is a generic hw test: sel4test-hw.ym -> test-hw.yml

concurrency:
group: ${{ github.workflow }}-pr-${{ github.event.number }}
cancel-in-progress: true
types: [synchronize, labeled]
Copy link
Member

Choose a reason for hiding this comment

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

Was it intentional no drop opened and reopened here?

Suggested change
types: [synchronize, labeled]
types: [opened, reopened, synchronize, labeled]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI related to continuous integration and testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants