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

Migrate out of Travis #2389

Closed
wetneb opened this issue Aug 6, 2021 · 9 comments · Fixed by #2447
Closed

Migrate out of Travis #2389

wetneb opened this issue Aug 6, 2021 · 9 comments · Fixed by #2447
Assignees

Comments

@wetneb
Copy link

wetneb commented Aug 6, 2021

Thanks for running this very nice platform!
Describe the bug

It looks like Travis is no longer building pull requests or the master branch: according to https://travis-ci.com/Trustroots/trustroots, the last build was two months ago. This is probably because of the recent change of policy in Travis, which assigned a fixed amount of credits to OSS projects and stopped building them when those credits run out.

Do not be mislead by Travis' communication: they are basically closing down and do not have the capacity to support OSS projects anymore. This blog post explains it well: https://www.jeffgeerling.com/blog/2020/travis-cis-new-pricing-plan-threw-wrench-my-open-source-works

I had the same problem in many repositories and have been migrating them slowly to different providers. It can be quite time consuming unfortunately. There is also the option to request additional credits to Travis so that PRs keep building for some time, but in my experience it took many months before they granted my request for OpenRefine, so I am glad I migrated to something else earlier.

To Reproduce
Steps to reproduce the behavior:

  1. Open a PR
  2. See it does not get built

Expected behavior
The CI should run.

Additional context

There are other free CI providers: GitLab Pipelines, GitHub Actions, CircleCI, and probably many I am not aware of.

@mariha
Copy link
Contributor

mariha commented Aug 6, 2021

I was planning to migrate it to CircleCI to avoid any potential vendor lock-in and in case TR or OHN (what we've actually discussed) wanted to move to other forge, like gitea (which last time I checked was not currently supported by CircleCI either, but I guess it has greater chance to be then any other mentioned, I'd hope for the best and give it a try).

But if anyone else would like to take it, go for it!

@simison
Copy link
Contributor

simison commented Aug 6, 2021

Thanks for outlining this! Yeah sucha bummer with Travis!

CircleCI or GitHub actions both (or some combination) work for me personally. I have good and poor experiences with both. :-) Help to write a config most welcome! Ping me on slack for access/accounts on anything you'd need.

For basic CI needs we have such small and simple needs that I'm not personally concerned what to use or that we'd get locked on anything, or spend too much time comparing alternatives, because effort of rewrite is so low. I'd just pick something and move on.

Continuous delivery pipeline is a different matter tho (we've had autodeploys to a beta server on merge) and its quite a bit more to move around. I'm not sure what's the best direction for it. In interim might make sense to not have it and prioritise fixing CI setup.

Based on experience on TR and elsewhere, a system which allows testing the PR in temporary manner seems most impactful instead of beta server. It's usually what drives the same purpose beta server is used, and more.

Anyhoo, maybe simple CI first up... 🙂

@wetneb
Copy link
Author

wetneb commented Aug 7, 2021

I don't think I am in a good position to work on this, not having any experience with Trustroots as a developer, so the floor is yours :)

@karlkeefer
Copy link
Contributor

karlkeefer commented Oct 14, 2021

I could attempt a circleCI integration, but not sure about setting up new accounts for the organization... Maybe someone can just invite me as collaborator to an account after creating a canonical one for the org?

I've used circleCI before, so I'd probably just attempt that.

@simison
Copy link
Contributor

simison commented Oct 14, 2021

Sure! Does simply logging to CircleCI with your Github show Trustroots organisation there? I have some kind of TR account for CircleCI stored but not sure even how to login to it.

Worth double-checking what the free plan limits would mean to us:

Includes 2,500 free credits per week
Ability to run 1 concurrent job
Access to Linux and Windows VM builds on small and medium sizes

No idea what 2500 credits looks like in reality. 1 concurrent job sounds pretty limiting. Github actions would be entirely free (for now, of course), so there's always that as a backup if Circle seems too limited.

@karlkeefer
Copy link
Contributor

karlkeefer commented Oct 14, 2021 via email

@karlkeefer karlkeefer self-assigned this Oct 16, 2021
@simison simison mentioned this issue Oct 19, 2021
21 tasks
@simison
Copy link
Contributor

simison commented Oct 19, 2021

I had just an hour-three spare and I wanted to get CI situation fixed because it's been quite frustrating.

With time constraint, I had a hunch that GitHub actions are simple and started testing it out. And oh my! This is soooo much nicer and simpler than Travis or Circle (I have quite a bit experience from both). Much less hassle with configs, secrets, keeping two services connected, etc.

I was even able to add inline linter notices. Whoa!

TODO:

@karlkeefer
Copy link
Contributor

karlkeefer commented Oct 19, 2021 via email

@TMC89
Copy link
Contributor

TMC89 commented Jan 8, 2022

Is someone working on this last point at the moment: Beta deploys? Is it very complicated, so we're waiting for the right person? Cause it is an important tool right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants