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

CI, relax rules for "rack_edge" builds #1857

Merged
merged 1 commit into from
Jan 31, 2019

Conversation

dm1try
Copy link
Member

@dm1try dm1try commented Jan 31, 2019

test only a single job and allow failures

ref #1856 (comment)

test only a single job and allow failures
@grape-bot

This comment has been minimized.

@@ -2,6 +2,10 @@ language: ruby

sudo: false

# "gemfile" is required for "allow_failures" option,
# see https://docs.travis-ci.com/user/customizing-the-build/#matching-jobs-with-allow_failures
gemfile:
Copy link
Member Author

@dm1try dm1try Jan 31, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if this is needed, as our .travis.yml already do not follow Travis requirement:

When matching jobs against the definitions given in allow_failures, all conditions in allow_failures must be met exactly, and all the keys in allow_failures element must exist in the top level of the build matrix (i.e., not in matrix.include).

or I'm missing something :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♂️

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from the docs

and all the keys in allow_failures element must exist in the top level of the build matrix (i.e., not in matrix.include).

according to this information we should have rvm key on the top level of build matrix(?) but not in matrix.include

I used this example as basis(see the link to docs):

language: php
php:
- 5.6
- 7.0
env: # important!
matrix:
  include:
  - php: 7.0
    env: KEY=VALUE
  allow_failures:
  - php: 7.0
    env: KEY=VALUE

Without the top-level env, no job will be allowed to fail

Copy link
Member Author

@dm1try dm1try Jan 31, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♂️

@dblock sorry, I'm not sure that you mean. It's something like "I'm not sure what are you talking about" or "I don't know also". If this is the latter then ignore my comment above :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant I don't know also, trust whatever you do here

@dm1try dm1try merged commit 2633f74 into ruby-grape:master Jan 31, 2019
@dm1try dm1try deleted the allow_build_failures_for_rack_edge branch January 31, 2019 19:47
@dm1try
Copy link
Member Author

dm1try commented Jan 31, 2019

it might be worth considering whether we need a tracking issue for the breaking changes that are related to rack(see the referenced comment)

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.

3 participants