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

RFE: Transition from travis-ci.org to travis-ci.com #312

Closed
drakenclimber opened this issue Jan 19, 2021 · 11 comments
Closed

RFE: Transition from travis-ci.org to travis-ci.com #312

drakenclimber opened this issue Jan 19, 2021 · 11 comments

Comments

@drakenclimber
Copy link
Member

travis-ci.org is being decommissioned and will go away in the near future.

Follow the steps here to transition libseccomp to the new travis-ci.com site.
https://docs.travis-ci.com/user/migrate/open-source-repository-migration

@drakenclimber
Copy link
Member Author

I logged into travis-ci.com, but they are still in the beta phase, thus we can't transition yet.

@pcmoore
Copy link
Member

pcmoore commented Jan 22, 2021

Bah! They are definitely not making this easy are they? ;)

@pcmoore
Copy link
Member

pcmoore commented Apr 17, 2021

Since the transition deadline is still "fuzzy" to put it mildly I'm going to pull this from the v2.5.2 milestone and let it float. We will still need to look at this at some point, but until Travis makes the move there is nothing for us to do here.

@pcmoore pcmoore removed this from the v2.5.2 milestone Apr 17, 2021
@pcmoore pcmoore added this to the v2.5.2 milestone Jul 20, 2021
@pcmoore
Copy link
Member

pcmoore commented Jul 20, 2021

I just went to verify that the Travis build completed okay after some pushes and I was greeted by this message:

Since June 15th, 2021, the building on travis-ci.org is ceased. Please use travis-ci.com from now on.

... it looks like we need to figure this out, and soon.

@pcmoore pcmoore self-assigned this Jul 20, 2021
@drakenclimber
Copy link
Member Author

I'm a little leery of Travis' new business model. It looks like open source will remain free (for now), but they have not made it easy. We may need to periodically request more "credits" from them.
https://docs.travis-ci.com/user/billing-faq/#what-if-i-am-building-open-source

What if I am building open source? #

Each of the Travis CI Plans contains an amount of special OSS credits per month assigned to
run builds only on public repositories. To find out more about it please contact the Travis CI
support team. In the email please include:

* Your account name and your VCS provider (like travis-ci.com/github/[your account name] )
* How many credits (build minutes) you’d like to request (should your run out of credits again
  you can repeat the process to request more or to discuss a renewable amount)

@pcmoore
Copy link
Member

pcmoore commented Jul 20, 2021

Ugh, that sucks :/

I need to refresh my memory on what you found out about GH Actions; it was far from perfect, but considering the Travis CI changes it might be the better option.

@pcmoore
Copy link
Member

pcmoore commented Jul 20, 2021

Here we go ... #299

@pcmoore
Copy link
Member

pcmoore commented Jul 20, 2021

Okay, having refreshed my memory on #299 I think the best option right now is to migrate to GH Actions and stick just to x86_64 CI builds for the time being. That seems like the quickest path to restoring PR/branch and code coverage tests with the least amount of headaches.

The lack of other arches/ABIs is troubling, but realistically we don't test every arch/ABI on a regular basis anyway (how could we?) so this isn't the end of the world. If it helps, while it isn't "CI" I do have a nightly job that runs on some private infrastructure which builds and verifies the libseccomp main branch on aarch64; if something breaks I'll notice it within ~24hrs. Hopefully we can figure out something better in the future (I have some ideas here ...).

@drakenclimber thoughts?

@drakenclimber
Copy link
Member Author

I think the best option right now is to migrate to GH Actions and stick just to x86_64 CI builds for the time being. That seems like the quickest path to restoring PR/branch and code coverage tests with the least amount of headaches.

Sounds good to me. I can own the transition since I already did it for libcgroup.

We've been using Github Actions in libcgroup for quite a while now, and it's worked quite well. The jobs were easy to transfer over from Travis.

The Github Actions VMs didn't provide a feature we needed in libcgroup (a full cgroup v2 system), so I recently created a VM on the Oracle Free Cloud and connected it up via Github Actions' self-hosted runner. It was easy to setup, and thus far has worked well. I believe the GH Actions self-hosted-runner logic supports aarch64, so this could be a way to continuously test ARM if we had a box we could point it at.

The lack of other arches/ABIs is troubling, but realistically we don't test every arch/ABI on a regular basis anyway (how could we?) so this isn't the end of the world.

Agreed. I have liked the range of architectures currently tested as it's occasionally found weird 32- vs 64-bit and big- vs little-endian issues. Prior to a release, we should (at a minimum) run the tests across other architectures. Perhaps we can recruit past contributors to help here.

(I have some ideas here ...).

I'm all ears. I wish I could take the best parts from GH Actions and Travis and put them in one CI.

@pcmoore
Copy link
Member

pcmoore commented Jul 21, 2021

(I have some ideas here ...)

Sorry, I should have been more clear. I meant I may have some ideas around supporting aarch64, not about Travis/GH in general.

Regardless, thanks for you work on this in PR #329.

@pcmoore
Copy link
Member

pcmoore commented Aug 12, 2021

Since we've moved to GitHub Actions I think we can close out this issue, if anyone has any objections please feel free to either reopen or drop a comment.

@pcmoore pcmoore closed this as completed Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants