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 disable_forks: false jobs: - 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