-
Notifications
You must be signed in to change notification settings - Fork 10
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
Create a basic GHA job to replace travis #17
Conversation
b953d10
to
8748388
Compare
.github/workflows/build.yml
Outdated
@@ -0,0 +1,36 @@ | |||
name: Build | |||
|
|||
on: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should also run on pushes to the separate container branches.
However, this would generate all new containers for everything, not just the changed container.
It might take some tweaking.
.github/workflows/build.yml
Outdated
# This will eventually be run on a schedule, daily initially, but some might be better weekly. | ||
# schedule: | ||
# - cron: '0 0 * * *' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# This will eventually be run on a schedule, daily initially, but some might be better weekly. | |
# schedule: | |
# - cron: '0 0 * * *' | |
schedule: | |
- cron: '0 0 * * *' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
789c0fb
to
75de965
Compare
# These push/pr options will be removed one they are proven to work (one PR/push ought to do it) | ||
pull_request: | ||
branches: main | ||
push: | ||
branches: main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two conditions are here to get the workflow to trigger now, and show that it works. The can be removed prior to merging, by incorporating this suggestion
# These push/pr options will be removed one they are proven to work (one PR/push ought to do it) | |
pull_request: | |
branches: main | |
push: | |
branches: main | |
# These push/pr options will be removed one they are proven to work (one PR/push ought to do it) | |
pull_request: | |
branches: main | |
push: | |
branches: main |
# These push/pr options will be removed one they are proven to work (one PR/push ought to do it) | ||
pull_request: | ||
branches: main | ||
push: | ||
branches: main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two conditions are here to get the workflow to trigger now, and show that it works. The can be removed prior to merging, by incorporating this suggestion
# These push/pr options will be removed one they are proven to work (one PR/push ought to do it) | |
pull_request: | |
branches: main | |
push: | |
branches: main |
The workflows aren't running here because they need to be merged to main, AFAICT. I've done this in my fork, and the workflows are running, and you can view them at [1]. They appear not to pass, however, it's mostly because I don't have credentials in my fork. At this point, everything appear to be "working" (workflow failing due to incorrect credentials) for each branch except fedora_rawhide_x86_64. |
These will act as a template and allow new actions to be tested when changes are pushed to dev branches.
This consist of two sets of jobs: * daily builds that build unstable/rolling distros * weekly job for stable distros Both jobs will: * Build each of the specified containers * Push the container images to dockerhub
0fef5c4
to
ba81149
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I am aware of this reporting issues, but it's not working at the moment anyways.
Adding two jobs to build containers for use in collectd ci
Both jobs do the same thing for each listed distro: