Skip to content

Instantly share code, notes, and snippets.

@calebamiles
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save calebamiles/1f9390ec3fe3000f4985 to your computer and use it in GitHub Desktop.
Save calebamiles/1f9390ec3fe3000f4985 to your computer and use it in GitHub Desktop.
Throttling the number of concurrent integration tests with concourse
# Ensure that the bosh-worker-locks repository has the proper number of slots desired
resources:
- name: worker-slots
type: pool
source:
uri: git@github.com:cloudfoundry/bosh-worker-locks.git
branch: master
pool: integration
- name: integration-1.9-mysql
public: true
serial: false
plan:
- put: worker-slots
params:
acquire: true
- { get: bosh-src, trigger: true}
- task: test
privileged: true
file: bosh-src/ci/tasks/test-integration.yml
config:
params:
DB: mysql
RUBY_VERSION: 1.9.3
- put: worker-slots
params:
release: worker-slots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment