-
Notifications
You must be signed in to change notification settings - Fork 178
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
BUG: look into replacing Travis CI with GitHub actions #299
Comments
Here's a guide for migrating from TravisCI to Github Actions. I am hoping to experiment with this over the next few days |
I'm really liking the look of Github Actions. I just sent out a patchset to switch libcgroup from Travis CI to Github Actions. https://github.com/drakenclimber/libcgroup/tree/issues/github_actions I'll try to put together a patchset to transition libseccomp this week. |
That sounds good @drakenclimber, thanks! |
Here's my current status. I have Github Actions working on amd64 with some slight deviations from our current Travis CI solution, but I have concerns about other architectures. Pros:
Cons:
Other:
|
What about using Vagrant on macOS? |
This issue is specifically about moving our CI testing from Travis CI to GitHub Actions and not the general development and testing of libseccomp. I'm not sure MacOS is an option for GitHub Actions, and even if it was it would likely be a poor choice for us due to the lack of kernel support (our "live" tests are limited, but important). |
Thanks for looking into this @drakenclimber, the limited architecture support is very disapppointing. Since we aren't actually seeing a lot of problems with Travis CI at the moment, perhaps we continue with Travis until it becomes disruptive? Regarding the lcov/Coveralls comments; I'd noticed similar things in the past, but didn't worry to much about the differences since they were minor. I wonder if it would be possible to use lcov in Travis and upload the lcov file as part of the Travis build without leaking any creds in the Travis config? If nothing else that would bring consistency across local and Travis use, and it might make things a little easier if/when we migrate way from Travis CI. |
I'm quite familiar with GitHub Actions. They do support macOS (See: https://github.com/actions/virtual-environments#available-environments). Specifically, macOS is the only environment that comes with Vagrant and VirtualBox (See: actions/runner-images#433). In my experience, it requires a little more work to set up, but running inside a virtual machine ensures a more consistent environment for CI/CD pipelines. Not to mention, it is more portable, since anyone can run the Vagrant/VirtualBox images locally. It also makes migrating to a new CI/CD solution easier, since the configuration is typically written in a script, independent of the vendor-specific YAML declarations. This is just my two cents :) |
Thanks @oxr463, that's good to know about GH Actions. At this point I'd prefer not to have the extra management overhead of a virtual environment, but it is something to consider if Travis CI ever becomes a problem for us. As our Travis activity is relatively light, I'm hopeful we wont run into the Travis problems that some other projects have seen. |
Yes, I think that's the best and safest answer.
Yes, this should be possible. I created Issue #309 and assigned it to myself. I'll try to pick this up in the next week or two. Thanks
Thanks, @oxr463. I also hope we don't have to go that route, but it's good to know that there are other options out there. |
@drakenclimber I'm going to drop this from a release milestone and drop the priority down to low since we're adopting a "wait until it breaks" approach to this, if you disagree feel free to shout or simple adjust the labels accordingly. |
Sounds good to me. Thanks! |
@drakenclimber one thing did just occur to me - we should consider trying to migrate from travis-ci.org to travis-ci.com as the ".org" is supposedly going away "within weeks". |
Oh! Didn't know that. Thanks! I'll try to pick this up next week then. |
It looks like we can close this out now. |
There are plenty of articles on this, but see The Register article below for some background on this issue:
With Travis CI becoming potentially unreliable for libseccomp, we should investigate moving out CI testing to GitHub actions:
The text was updated successfully, but these errors were encountered: