Sha256: 286079c0be640f5473ceb40c5478d62e5a6736142ea2df6f5749e3347ccb8869

Contents?: true

Size: 1.69 KB

Versions: 4

Compression:

Stored size: 1.69 KB

Contents

% require "common_prelude.rb"

resource_types:
- name: pull-request
  type: docker-image
  source:
    repository: jtarchie/pr

resources:
<%= erbify_file "common_resources.yml" -%>
  - name: mini_portile-pr
    type: pull-request
    source:
      repo: flavorjones/mini_portile
      access_token: ((github-repo-status-access-token))
      ignore_paths: <%= $common_ignore_paths %>

jobs:
  - name: pr-pending
    public: true
    plan:
      - get: ci
      - get: mini_portile-pr
        trigger: true
        version: every
      - put: mini_portile-pr
        params: {path: mini_portile-pr, status: pending}

% RUBIES[:mri].last(2).each do |ruby_version|
  - name: ruby-<%= ruby_version %>-pr
    public: true
    serial_groups: [pr]
    plan:
      - get: ci
      - get: mini_portile-pr
        trigger: true
        version: every
        passed: [pr-pending]
      - task: rake-test
        config:
          platform: linux
          image_resource:
            type: registry-image
            source: {repository: ruby, tag: "<%= ruby_version %>"}
          inputs:
            - name: ci
            - name: mini_portile-pr
              path: mini_portile
          run:
            path: ci/concourse/tasks/rake-test/task.sh
        on_failure:
          put: mini_portile-pr
          params: {path: mini_portile-pr, status: failure}
% end

  - name: pr-success
    public: true
    serial_groups: [pr]
    disable_manual_trigger: true
    plan:
      - get: mini_portile-pr
        trigger: true
        version: every
        passed:
% RUBIES[:mri].last(2).each do |ruby_version|
          - ruby-<%= ruby_version %>-pr
% end
      - put: mini_portile-pr
        params: {path: mini_portile-pr, status: success}

Version data entries

4 entries across 3 versions & 2 rubygems

Version Path
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/mini_portile2-2.5.0/concourse/mini_portile-pr.yml
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/mini_portile2-2.5.0/concourse/mini_portile-pr.yml
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/mini_portile2-2.5.0/concourse/mini_portile-pr.yml
mini_portile2-2.5.0 concourse/mini_portile-pr.yml