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

Upgrade and fix CI #698

Merged
merged 8 commits into from
Dec 17, 2019
Merged

Upgrade and fix CI #698

merged 8 commits into from
Dec 17, 2019

Conversation

drwl
Copy link
Collaborator

@drwl drwl commented Dec 16, 2019

Looks like it's breaking in Github CI because Ruby 2.3.X is no longer supported by actions/setup-ruby@v1. Ruby 2.3.X has stopped being supported since March of 2019, so I've removed Ruby 2.3.X versions from both Github and Travis CI.

It's also breaking in Travis CI because it's timing out in an interactive prompt when trying to do gem update --system. This is due to changes to Ruby Gems 3.1.1. This has been fixed.

Failing Github CI build: https://github.com/ctran/annotate_models/runs/335456181
Failing Travis build: https://api.travis-ci.org/v3/job/625759725/log.txt

drwl added 5 commits December 16, 2019 07:22
Only Ruby versions >= 2.4 are supported by Github actions/set-ruby@v1.

See https://github.com/actions/setup-ruby/blob/master/action.yml
Travis builds fail because they timeout at an interactive prompt. Adding the `-f` flag will bypass this, although this may come with unwanted side effects.

Failed build example: https://api.travis-ci.org/v3/job/625759725/log.txt
@drwl drwl changed the title Upgrade and fix Github CI Upgrade and fix CI Dec 16, 2019
@drwl
Copy link
Collaborator Author

drwl commented Dec 16, 2019

Looks like there's an open issue on RubyGems github project rubygems/rubygems#3036

drwl added 3 commits December 16, 2019 08:55
Trying to use `yes | ...` according to thread on Rubygems repo.

Thread: rubygems/rubygems#3036
Support for Ruby 2.3 ended in March 2019. Removing support for it in Travis to keep parity with Github CI builds until we fully move over to Github for CI.
@drwl drwl merged commit d16182f into develop Dec 17, 2019
@drwl drwl deleted the drwl/upgrade-github-ci branch December 17, 2019 02:04
peterfication pushed a commit to store2be/annotate_models that referenced this pull request Jan 20, 2020
Looks like it's breaking in Github CI because Ruby 2.3.X is no longer supported by `actions/setup-ruby@v1`. Ruby 2.3.X has stopped being supported since March of 2019, so I've removed Ruby 2.3.X versions from both Github and Travis CI.

It's also breaking in Travis CI because it's timing out in an interactive prompt when trying to do `gem update --system`. This is due to changes to [Ruby Gems 3.1.1](rubygems/rubygems#3036). This has been fixed.

Failing Github CI build: https://github.com/ctran/annotate_models/runs/335456181
Failing Travis build: https://api.travis-ci.org/v3/job/625759725/log.txt
vfonic pushed a commit to vfonic/annotate_models that referenced this pull request May 8, 2020
Looks like it's breaking in Github CI because Ruby 2.3.X is no longer supported by `actions/setup-ruby@v1`. Ruby 2.3.X has stopped being supported since March of 2019, so I've removed Ruby 2.3.X versions from both Github and Travis CI.

It's also breaking in Travis CI because it's timing out in an interactive prompt when trying to do `gem update --system`. This is due to changes to [Ruby Gems 3.1.1](rubygems/rubygems#3036). This has been fixed.

Failing Github CI build: https://github.com/ctran/annotate_models/runs/335456181
Failing Travis build: https://api.travis-ci.org/v3/job/625759725/log.txt
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 this pull request may close these issues.

1 participant