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

Replace Travis with another CI tool #28

Closed
tycooon opened this issue Mar 26, 2020 · 7 comments
Closed

Replace Travis with another CI tool #28

tycooon opened this issue Mar 26, 2020 · 7 comments

Comments

@tycooon
Copy link
Owner

tycooon commented Mar 26, 2020

See discussion and checks status in #26.
Maybe we can use GitHub Actions? @AlexWayfer what do you think?

@AlexWayfer
Copy link
Contributor

Maybe we can use GitHub Actions? @AlexWayfer what do you think?

Of course we can. As you wish.

An example (not perfect) of these CIs for Ruby gem you can see there: AlexWayfer/flame-flash#33

Not perfect because Cirrus CI config has populate_script for cache, and it causes problems with non-cached Gemfile.lock, but we resolved it via replacing populate_script with before_script: cirruslabs/cirrus-ci-docs#560 (comment)

Pros of Cirrus CI for me:

Pros of GitHub Actions for me:

  • Simpler and tight integration with GitHub
  • … don't know anything else. Better UI, maybe.

I know a few popular Ruby gem repositories with GitHub Actions, like Puma and Dry, but their configs looks huge and ugly for me (https://github.com/puma/puma/blob/0b737cc/.github/workflows/ruby.yml).

@tycooon
Copy link
Owner Author

tycooon commented Mar 26, 2020

Well, I think one of the pros for GitHub Actions is that it is not external service so it's more future proof and less likely to "die" or become slow or deprecated like Travis did.

@AlexWayfer
Copy link
Contributor

Well, I think one of the pros for GitHub Actions is that it is not external service so it's more future proof and less likely to "die" or become slow or deprecated like Travis did.

Hm, maybe. It's a feature, we don't know it. And I know how Google closed its services, even related and integrated (Plus, Hangouts, YouTube Chat, etc.)

But I can agree. But for me it's not too hard to switch from one CI tool to another (once when something deprecated or died or another becomes better).

Anyway, as you wish. Maybe I'll understand and like GitHub Actions later. For now I even don't know how to define an order of jobs, like "let's lint and if successful then test". Cache was added after release, but at least it was.

@JelF
Copy link
Contributor

JelF commented Apr 20, 2020

I can suggest gitlab-ci

@AlexWayfer
Copy link
Contributor

I can suggest gitlab-ci

It's pretty good, but slower than Cirrus CI.

GitLab CI: https://gitlab.com/AlexWayfer/flame-flash/-/jobs/447196393 (1 minute)

Cirrus CI: https://cirrus-ci.com/task/6456099616325632 (15 seconds)

@JelF
Copy link
Contributor

JelF commented Apr 20, 2020

Wow, it's really fast. Thanks

However, I should notice that gitlab-ci spent most of time while pulling 2.6 image.

AlexWayfer added a commit to AlexWayfer/alt_memery that referenced this issue Jun 25, 2020
You can see discussion here: tycooon#28
AlexWayfer added a commit to AlexWayfer/alt_memery that referenced this issue Jun 25, 2020
You can see discussion here: tycooon#28
AlexWayfer added a commit to AlexWayfer/alt_memery that referenced this issue Jun 25, 2020
You can see discussion here: tycooon#28
@tycooon
Copy link
Owner Author

tycooon commented Mar 15, 2021

Switched to GitHub Actions in cf547e5.

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

No branches or pull requests

3 participants