Skip to content

Conversation

@svenfuchs
Copy link
Contributor

Keychain:

limit:
  by_repo:
    travis-ci/travis-ci: 1

This should set a hard limit of 1 for the repo travis-ci/travis-ci.

before { subject }

it { expect(subject.size).to eq 2 }
it { expect(report).to include('max jobs for repo svenfuchs/gem-release by repo_settings: 2') }

This comment was marked as spam.

This comment was marked as spam.

@svenfuchs svenfuchs deployed to org-staging April 21, 2017 14:50 Active
before { config.limit.default = 5 }
before { config.limit.by_repo = { repo.slug => 2 } }
before { create_jobs(3) }
before { repo.settings.update_attributes!(maximum_number_of_builds: 2) }

This comment was marked as spam.

Copy link
Contributor

@joecorcoran joecorcoran left a comment

Choose a reason for hiding this comment

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

Agree with @cotsog's changes, otherwise LGTM!

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.

4 participants