This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/ci/pipelines/pull-requests.yaml

210 lines
4.8 KiB
YAML
Raw Normal View History

2017-02-02 22:11:12 +00:00
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
type: docker-image
source:
repository: quay.io/quay/quay-build-image
username: {{quay-robot-username}}
password: {{quay-robot-password}}
- name: quay-pull-request
type: pull-request
source:
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
2017-02-06 23:36:58 +00:00
disable_forks: false
2017-02-02 22:11:12 +00:00
jobs:
2017-02-16 16:30:52 +00:00
- 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
params:
path: quay-pull-request
context: style
status: success
on_failure:
put: quay-pull-request
params:
path: quay-pull-request
context: style
status: failure
2017-02-02 22:11:12 +00:00
- name: karma
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: karma
status: pending
- task: karma
image: build-image
file: quay-pull-request/ci/tasks/karma.yaml
on_success:
put: quay-pull-request
params:
path: quay-pull-request
context: karma
status: success
on_failure:
put: quay-pull-request
params:
path: quay-pull-request
context: karma
status: failure
- name: unit
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: unit
status: pending
- task: unit
image: build-image
file: quay-pull-request/ci/tasks/unit.yaml
on_success:
put: quay-pull-request
params:
path: quay-pull-request
context: unit
status: success
on_failure:
put: quay-pull-request
params:
path: quay-pull-request
context: unit
status: failure
- name: registry
plan:
- get: quay-pull-request
trigger: true
version: every
- get: build-image
- put: quay-pull-request
params:
path: quay-pull-request
context: registry
status: pending
- task: registry
image: build-image
file: quay-pull-request/ci/tasks/registry.yaml
on_success:
put: quay-pull-request
params:
path: quay-pull-request
context: registry
status: success
on_failure:
put: quay-pull-request
params:
path: quay-pull-request
context: registry
status: failure
- name: mysql
plan:
- get: quay-pull-request
trigger: true
version: every
- get: build-image
- put: quay-pull-request
params:
path: quay-pull-request
context: mysql
status: pending
- task: mysql
image: build-image
file: quay-pull-request/ci/tasks/mysql.yaml
on_success:
put: quay-pull-request
params:
path: quay-pull-request
context: mysql
status: success
on_failure:
put: quay-pull-request
params:
path: quay-pull-request
context: mysql
status: failure
- name: postgres
plan:
- get: quay-pull-request
trigger: true
version: every
- get: build-image
- put: quay-pull-request
params:
path: quay-pull-request
context: postgres
status: pending
- task: postgres
image: build-image
file: quay-pull-request/ci/tasks/postgres.yaml
on_success:
put: quay-pull-request
params:
path: quay-pull-request
context: postgres
status: success
on_failure:
put: quay-pull-request
params:
path: quay-pull-request
context: postgres
status: failure