Skip to content

Commit

Permalink
Set github status if any CI task failed
Browse files Browse the repository at this point in the history
  • Loading branch information
Temikus committed Jun 5, 2018
1 parent f880382 commit 534fe54
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ jobs:
google_project: {{google_project}}
google_json_key_data: {{google_json_key_data}}
google_client_email: {{google_client_email}}

on_failure:
put: pull-request
params:
path: fog-google-src
status: failure

- name: integration-tests-monitoring
serial: true
plan:
Expand All @@ -34,6 +39,11 @@ jobs:
google_project: {{google_project}}
google_json_key_data: {{google_json_key_data}}
google_client_email: {{google_client_email}}
on_failure:
put: pull-request
params:
path: fog-google-src
status: failure

- name: integration-tests-pubsub
serial: true
Expand All @@ -52,6 +62,11 @@ jobs:
google_project: {{google_project}}
google_json_key_data: {{google_json_key_data}}
google_client_email: {{google_client_email}}
on_failure:
put: pull-request
params:
path: fog-google-src
status: failure

- name: integration-tests-sqlv1
serial: true
Expand All @@ -70,6 +85,11 @@ jobs:
google_project: {{google_project}}
google_json_key_data: {{google_json_key_data}}
google_client_email: {{google_client_email}}
on_failure:
put: pull-request
params:
path: fog-google-src
status: failure

- name: integration-tests-sqlv2
serial: true
Expand All @@ -88,6 +108,11 @@ jobs:
google_project: {{google_project}}
google_json_key_data: {{google_json_key_data}}
google_client_email: {{google_client_email}}
on_failure:
put: pull-request
params:
path: fog-google-src
status: failure

- name: integration-tests-storage
serial: true
Expand All @@ -106,6 +131,11 @@ jobs:
google_project: {{google_project}}
google_json_key_data: {{google_json_key_data}}
google_client_email: {{google_client_email}}
on_failure:
put: pull-request
params:
path: fog-google-src
status: failure

- name: github-pr-aggregator
plan:
Expand Down

0 comments on commit 534fe54

Please sign in to comment.