Skip to content

Commit

Permalink
ci: update concourse pipelines with latest rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Apr 5, 2020
1 parent 9aa508c commit f47758e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 74 deletions.
35 changes: 3 additions & 32 deletions concourse/loofah-pr.yml.generated
Original file line number Diff line number Diff line change
Expand Up @@ -41,44 +41,15 @@ jobs:
trigger: true
version: every
passed:
- ruby-2.3-pr
- ruby-2.4-pr
- ruby-2.5-pr
- ruby-2.6-pr
- ruby-2.7-rc-pr
- ruby-2.7-pr
- put: loofah-pr
params:
path: loofah-pr
status: success

- name: ruby-2.3-pr
public: true
serial_groups: ["ruby-pr"]
plan:
- get: ci
- get: loofah-pr
trigger: true
version: every
passed: [pr-pending]
- task: rake-test
config:
image_resource:
type: docker-image
source: {repository: ruby, tag: "2.3"}
platform: linux
inputs:
- name: ci
- name: loofah-pr
path: loofah
params:
NOKOGIRI_USE_SYSTEM_LIBRARIES: t
run:
path: ci/concourse/tasks/rake-test/run.sh
on_failure:
put: loofah-pr
params:
path: loofah-pr
status: failure
- name: ruby-2.4-pr
public: true
serial_groups: ["ruby-pr"]
Expand Down Expand Up @@ -163,7 +134,7 @@ jobs:
params:
path: loofah-pr
status: failure
- name: ruby-2.7-rc-pr
- name: ruby-2.7-pr
public: true
serial_groups: ["ruby-pr"]
plan:
Expand All @@ -176,7 +147,7 @@ jobs:
config:
image_resource:
type: docker-image
source: {repository: ruby, tag: "2.7-rc"}
source: {repository: ruby, tag: "2.7"}
platform: linux
inputs:
- name: ci
Expand Down
44 changes: 2 additions & 42 deletions concourse/loofah.yml.generated
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,6 @@ resources:
ignore_paths: ["CHANGELOG.md","README.md","concourse/**"]

jobs:
- name: ruby-2.3
public: true
serial_groups: ["ruby"]
plan:
- get: ci
- get: loofah
trigger: true
- task: rake-test
config:
image_resource:
type: docker-image
source: {repository: ruby, tag: "2.3"}
platform: linux
inputs:
- name: ci
- name: loofah
params:
NOKOGIRI_USE_SYSTEM_LIBRARIES: t
run:
path: ci/concourse/tasks/rake-test/run.sh
- name: ruby-2.4
public: true
serial_groups: ["ruby"]
Expand Down Expand Up @@ -96,7 +76,7 @@ jobs:
NOKOGIRI_USE_SYSTEM_LIBRARIES: t
run:
path: ci/concourse/tasks/rake-test/run.sh
- name: ruby-2.7-rc
- name: ruby-2.7
public: true
serial_groups: ["ruby"]
plan:
Expand All @@ -107,7 +87,7 @@ jobs:
config:
image_resource:
type: docker-image
source: {repository: ruby, tag: "2.7-rc"}
source: {repository: ruby, tag: "2.7"}
platform: linux
inputs:
- name: ci
Expand All @@ -117,26 +97,6 @@ jobs:
run:
path: ci/concourse/tasks/rake-test/run.sh

- name: jruby-9.1
public: true
serial_groups: ["jruby"]
plan:
- get: ci
- get: loofah
trigger: true
- task: rake-test
config:
image_resource:
type: docker-image
source: {repository: jruby, tag: "9.1-jdk"}
platform: linux
inputs:
- name: ci
- name: loofah
params:
JAVA_OPTS: "-Dfile.encoding=UTF8" # https://github.com/docker-library/openjdk/issues/32
run:
path: ci/concourse/tasks/rake-test/run.sh
- name: jruby-9.2
public: true
serial_groups: ["jruby"]
Expand Down

0 comments on commit f47758e

Please sign in to comment.