resource_types:
- name: pull-request
type: docker-image
source:
repository: quay.io/quay/pr-resource
username: {{quay-robot-username}}
password: {{quay-robot-password}}
resources:
- name: build-image
repository: quay.io/quay/quay-build-image
- name: quay-pull-request
type: pull-request
access_token: {{quay-github-token}}
private_key: {{quay-git-private-key}}
repo: coreos-inc/quay
uri: git@github.com:coreos-inc/quay.git
base: master
disable_forks: false
jobs:
- name: style
max_in_flight: 4
plan:
- get: quay-pull-request
trigger: true
version: every
- get: build-image
- put: quay-pull-request
params:
path: quay-pull-request
context: style
status: pending
- task: style
image: build-image
file: quay-pull-request/ci/tasks/style.yaml
on_success:
put: quay-pull-request
status: success
on_failure:
status: failure
- name: karma
context: karma
- task: karma
file: quay-pull-request/ci/tasks/karma.yaml
- name: unit
context: unit
- task: unit
file: quay-pull-request/ci/tasks/unit.yaml
- name: registry
context: registry
- task: registry
file: quay-pull-request/ci/tasks/registry.yaml
- name: mysql
context: mysql
- task: mysql
file: quay-pull-request/ci/tasks/mysql.yaml
- name: postgres
context: postgres
- task: postgres
file: quay-pull-request/ci/tasks/postgres.yaml