Skip to content

Commit

Permalink
ci(truffle): add truffle-{stable,nightly} builds
Browse files Browse the repository at this point in the history
These builds are considered non-release-blocking ("experimental")
until we get them green.

Related to #2089
  • Loading branch information
flavorjones committed Oct 1, 2020
1 parent 88f1424 commit d0b71bf
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 0 deletions.
24 changes: 24 additions & 0 deletions concourse/nokogiri-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,30 @@ jobs:
path: ci/concourse/tasks/rake-test/run.sh
<% end %>

<% RUBIES[:truffle].each_with_index do |truffle_version, j| %>
- name: truffle-<%= truffle_version %>
public: true
on_failure: { in_parallel: [*notify_failure_to_irc, *notify_failure_to_pr, *notify_failure_to_gitter] }
plan:
- get: ci
- get: nokogiri-pr
trigger: true
version: every
passed: ["cruby-on-vanilla-ubuntu"]
- task: rake-test
config:
platform: linux
image_resource:
type: registry-image
source: { repository: "flavorjones/nokogiri-test", tag: "truffle-<%= truffle_version %>" }
inputs:
- name: ci
- name: nokogiri-pr
path: nokogiri
run:
path: ci/concourse/tasks/rake-test/run.sh
<% end %>

- name: cruby-on-musl
public: true
on_failure: { in_parallel: [*notify_failure_to_irc, *notify_failure_to_pr, *notify_failure_to_gitter] }
Expand Down
72 changes: 72 additions & 0 deletions concourse/nokogiri-pr.yml.generated
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,78 @@ jobs:
path: ci/concourse/tasks/rake-test/run.sh
task: rake-test
public: true
- name: truffle-stable
on_failure:
in_parallel:
steps:
- params:
message: ($BUILD_PIPELINE_NAME/$BUILD_JOB_NAME) The build failed ($BUILD_URL)
put: irc
- params:
path: nokogiri-pr
status: FAILURE
put: nokogiri-pr
- params:
status: failed
put: gitter
plan:
- get: ci
- get: nokogiri-pr
passed:
- cruby-on-vanilla-ubuntu
trigger: true
version: every
- config:
image_resource:
source:
repository: flavorjones/nokogiri-test
tag: truffle-stable
type: registry-image
inputs:
- name: ci
- name: nokogiri-pr
path: nokogiri
platform: linux
run:
path: ci/concourse/tasks/rake-test/run.sh
task: rake-test
public: true
- name: truffle-nightly
on_failure:
in_parallel:
steps:
- params:
message: ($BUILD_PIPELINE_NAME/$BUILD_JOB_NAME) The build failed ($BUILD_URL)
put: irc
- params:
path: nokogiri-pr
status: FAILURE
put: nokogiri-pr
- params:
status: failed
put: gitter
plan:
- get: ci
- get: nokogiri-pr
passed:
- cruby-on-vanilla-ubuntu
trigger: true
version: every
- config:
image_resource:
source:
repository: flavorjones/nokogiri-test
tag: truffle-nightly
type: registry-image
inputs:
- name: ci
- name: nokogiri-pr
path: nokogiri
platform: linux
run:
path: ci/concourse/tasks/rake-test/run.sh
task: rake-test
public: true
- name: cruby-on-musl
on_failure:
in_parallel:
Expand Down
23 changes: 23 additions & 0 deletions concourse/nokogiri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,29 @@ jobs:
<% end %>


<% RUBIES[:truffle].each_with_index do |truffle_version, j| %>
- name: truffle-<%= truffle_version %>
public: true
on_failure: { in_parallel: [*notify_failure_to_irc, *notify_failure_to_gitter] }
plan:
- get: ci
- get: nokogiri
trigger: true
passed: ["cruby-on-vanilla-ubuntu"]
- task: rake-test
config:
platform: linux
image_resource:
type: registry-image
source: {repository: "flavorjones/nokogiri-test", tag: "truffle-<%= truffle_version %>"}
inputs:
- name: ci
- name: nokogiri
run:
path: ci/concourse/tasks/rake-test/run.sh
<% end %>


- name: cruby-on-musl
public: true
on_failure: { in_parallel: [*notify_failure_to_irc, *notify_failure_to_gitter] }
Expand Down
60 changes: 60 additions & 0 deletions concourse/nokogiri.yml.generated
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,66 @@ jobs:
path: ci/concourse/tasks/rake-test/run.sh
task: rake-test
public: true
- name: truffle-stable
on_failure:
in_parallel:
steps:
- params:
message: ($BUILD_PIPELINE_NAME/$BUILD_JOB_NAME) The build failed ($BUILD_URL)
put: irc
- params:
status: failed
put: gitter
plan:
- get: ci
- get: nokogiri
passed:
- cruby-on-vanilla-ubuntu
trigger: true
- config:
image_resource:
source:
repository: flavorjones/nokogiri-test
tag: truffle-stable
type: registry-image
inputs:
- name: ci
- name: nokogiri
platform: linux
run:
path: ci/concourse/tasks/rake-test/run.sh
task: rake-test
public: true
- name: truffle-nightly
on_failure:
in_parallel:
steps:
- params:
message: ($BUILD_PIPELINE_NAME/$BUILD_JOB_NAME) The build failed ($BUILD_URL)
put: irc
- params:
status: failed
put: gitter
plan:
- get: ci
- get: nokogiri
passed:
- cruby-on-vanilla-ubuntu
trigger: true
- config:
image_resource:
source:
repository: flavorjones/nokogiri-test
tag: truffle-nightly
type: registry-image
inputs:
- name: ci
- name: nokogiri
platform: linux
run:
path: ci/concourse/tasks/rake-test/run.sh
task: rake-test
public: true
- name: cruby-on-musl
on_failure:
in_parallel:
Expand Down

0 comments on commit d0b71bf

Please sign in to comment.