[#104004] [Ruby master Feature#17883] Load bundler/setup earlier to make `bundle exec ruby -r` respect Gemfile — mame@...
Issue #17883 has been reported by mame (Yusuke Endoh).
21 messages
2021/05/24
[ruby-core:103878] [Ruby master Misc#17818] Reviving Travis CI
From:
jaruga@...
Date:
2021-05-18 14:59:44 UTC
List:
ruby-core #103878
Issue #17818 has been updated by jaruga (Jun Aruga).
Let me share the current status and the plan for ruby/ruby's Travis.
> As a side note from my experience, the concept of the credits might be no=
t considered on travis-ci.org. =
The travis-ci.org shut down will occur on May 31, 2021. So, there is no opt=
ion to use travis-ci.org any more.
https://blog.travis-ci.com/2021-05-07-orgshutdown
We got 25,000 credits from the above OSS subscription. However as I wrote a=
bove, we consume 10 credits per build on Linux, that means. If a job takes =
17 minutes 30 seconds, it takes 10 * 18 =3D 180 credits for one job. It's m=
uch more than I expected. I misunderstood it was 10 credits per build witho=
ut minutes. So, I plan to not use only free builds without credits on Travi=
s.
The current plan is to create the Ubuntu focal (20.04) CI cases for each CP=
U architecture.
* i686 (x86 variant): Run on GitHub. The example: https://github.com/junaru=
ga/ci-multi-arch-native-test/blob/master/.github/workflows/build.yml .
* arm64/ppc64le/s390x
=A0 Based on this PR.
=A0 * Try Focal i386 packages for building i686-linux ruby
=A0 =A0 https://github.com/ruby/ruby/pull/3173
=A0 Also referring
=A0 * Reviving .travis.yml (don't merge)
=A0 =A0 https://github.com/ruby/ruby/pull/4384
----------------------------------------
Misc #17818: Reviving Travis CI
https://bugs.ruby-lang.org/issues/17818#change-92006
* Author: jaruga (Jun Aruga)
* Status: Open
* Priority: Normal
* Assignee: jaruga (Jun Aruga)
----------------------------------------
Related to #17720, chatting with @naruse and @hsbt in Ruby project, I thoug=
ht it is better to revive Travis that had been deleted at the commit [1] at=
first before trying Cirrus CI, the new thing, even though we only might be=
able to use Travis for a short time. Because it's safe to try the Cirrus C=
I new thing, keeping the Travis non-x86_64 pull-request checks. I am also c=
urious to know how Travis replies to us.
I got the following information about Travis OSS subscription from @naruse,=
and the following criteria: "Project must not be sponsored by a commercial=
company or organization." made us wonder if the Ruby project is qualified =
for criteria.
```
> https://qiita.com/TomoyukiAota/items/42987f1d20f06abb3b3c#open-source-pla=
n%E3%81%AE%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF
To qualify for an Open Source Software (OSS) subscription,
* ...
* Project must not be sponsored by a commercial company or organization.
* ...
```
So, I am asking a question to Travis. and this Ruby issue ticket's goal is =
to revive entire Travis or at least the non-x86_64 cases, and I also want t=
o share the communication log between Travis and us. Because the log looks =
useful for other open source projects too.
Here is the ticket URL in Travis. I don't think it is a public page. But I =
just share it for the record. I also would attach the screen shot image.
https://support.travis-ci.com/hc/en-us/requests/28430
```
Subject: Can the Ruby project enable Travis by OSS subscription?
Hello Travis support,
I am working in the Ruby project (https://github.com/ruby). May I ask you q=
uestions about the OSS subscription program?
We saw Travis OSS subscription includes the "Project must not be sponsored =
by a commercial company or organization."
These criteria made us hesitate to contact you. Because some of the members=
in the Ruby project are sponsored.
> https://qiita.com/TomoyukiAota/items/42987f1d20f06abb3b3c#open-source-pla=
n%E3%81%AE%E7%94%B3%E3%81%97%E8%BE%BC%E3%81%BF
To qualify for an Open Source Software (OSS) subscription,
* ...
* Project must not be sponsored by a commercial company or organization.
* ...
However now we think the criteria is applied for
Case 1: An open source project is used directly for a company's product, th=
en it gives the profit to the company.
But the criteria might not be applied for the following cases. Because in t=
hese cases, the open source project does not produce the profit directly. T=
he open source project is neutral.
I think the Ruby project is the case 2.
Case 2: An open source project is co-created beyond an organization.
* A person is sponsored, because a open source project's library is essen=
tial for a company's product.
* The company sponsors someone because the company wants someone to mai=
ntain the library.
* A person is sponsored, because a company using the library is given the=
benefit by a library.
The company hires someone to give a return to the open source project b=
y just a give and take mind.
* A company hires a full time committer for a popular open source project.
Because the person could be a role model in the company, and the fact t=
hat a committer working in the company is used as an advertisement to hire =
other people.
I think Travis non x86_64 resources are sponsored by IBM and ARM because I =
assume IBM and ARM want to thrive in their CPU architecture's ecosystem.
I think they want to enable popular open source projects on their Travis pi=
pelines.
So, is it possible to enable Travis or at least to enable IBM (ppc64le, s39=
0x) and ARM (arm64) for all the repositories under the Ruby (https://github=
.com/ruby/*) with unlimited?
Thank you.
Jun Aruga
```
[1] https://github.com/ruby/ruby/commit/6b978d542704a5614af5e9375c4b31b8d26=
18652
---Files--------------------------------
screenshot-support.travis-ci.com-2021.04.21-19_49_11.png (218 KB)
screenshot-support.travis-ci.com-2021.04.21-21_49_58.png (144 KB)
-- =
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=3Dunsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>