Skip to content

Commit

Permalink
Update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Temikus committed Jul 18, 2018
1 parent a34e61d commit 306f2af
Showing 1 changed file with 112 additions and 12 deletions.
124 changes: 112 additions & 12 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
jobs:
- name: integration-tests-compute
- name: integration-compute-core_compute
serial: true
plan:
- get: fog-google-src
Expand All @@ -9,10 +9,10 @@ jobs:
- put: pull-request
params: {path: fog-google-src, status: pending}

- task: full-integration-tests
- task: run-integration-tests
file: fog-google-src/ci/tasks/run-int.yml
params:
rake_task: test:compute
rake_task: test:compute-core_compute
codecov_token: {{codecov_token}}
google_project: {{google_project}}
google_json_key_data: {{google_json_key_data}}
Expand All @@ -22,7 +22,79 @@ jobs:
params:
path: fog-google-src
status: failure


- name: integration-compute-core_networking
serial: true
plan:
- get: fog-google-src
resource: pull-request
version: every
trigger: true
- put: pull-request
params: {path: fog-google-src, status: pending}

- task: run-integration-tests
file: fog-google-src/ci/tasks/run-int.yml
params:
rake_task: test:compute-core_networking
codecov_token: {{codecov_token}}
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-compute-instance_groups
serial: true
plan:
- get: fog-google-src
resource: pull-request
version: every
trigger: true
- put: pull-request
params: {path: fog-google-src, status: pending}

- task: run-integration-tests
file: fog-google-src/ci/tasks/run-int.yml
params:
rake_task: test:compute-instance_groups
codecov_token: {{codecov_token}}
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-compute-loadbalancing
serial: true
plan:
- get: fog-google-src
resource: pull-request
version: every
trigger: true
- put: pull-request
params: {path: fog-google-src, status: pending}

- task: run-integration-tests
file: fog-google-src/ci/tasks/run-int.yml
params:
rake_task: test:compute-loadbalancing
codecov_token: {{codecov_token}}
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 @@ -33,7 +105,7 @@ jobs:
- put: pull-request
params: {path: fog-google-src, status: pending}

- task: full-integration-tests
- task: run-integration-tests
file: fog-google-src/ci/tasks/run-int.yml
params:
rake_task: test:monitoring
Expand All @@ -57,7 +129,7 @@ jobs:
- put: pull-request
params: {path: fog-google-src, status: pending}

- task: full-integration-tests
- task: run-integration-tests
file: fog-google-src/ci/tasks/run-int.yml
params:
rake_task: test:pubsub
Expand All @@ -71,7 +143,31 @@ jobs:
path: fog-google-src
status: failure

- name: integration-tests-sql
- name: integration-sqlv1
serial: true
plan:
- get: fog-google-src
resource: pull-request
version: every
trigger: true
- put: pull-request
params: {path: fog-google-src, status: pending}

- task: run-integration-tests
file: fog-google-src/ci/tasks/run-int.yml
params:
rake_task: test:sql-sqlv1
codecov_token: {{codecov_token}}
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-sqlv2
serial: true
plan:
- get: fog-google-src
Expand All @@ -81,10 +177,10 @@ jobs:
- put: pull-request
params: {path: fog-google-src, status: pending}

- task: full-integration-tests
- task: run-integration-tests
file: fog-google-src/ci/tasks/run-int.yml
params:
rake_task: test:sql
rake_task: test:sql-sqlv2
codecov_token: {{codecov_token}}
google_project: {{google_project}}
google_json_key_data: {{google_json_key_data}}
Expand All @@ -105,7 +201,7 @@ jobs:
- put: pull-request
params: {path: fog-google-src, status: pending}

- task: full-integration-tests
- task: run-integration-tests
file: fog-google-src/ci/tasks/run-int.yml
params:
rake_task: test:storage
Expand All @@ -124,10 +220,14 @@ jobs:
- get: fog-google-src
resource: pull-request
passed: [integration-tests-storage,
integration-tests-sql,
integration-tests-pubsub,
integration-tests-monitoring,
integration-tests-compute]
integration-sqlv1,
integration-sqlv2,
integration-compute-core_compute,
integration-compute-core_networking,
integration-compute-instance_groups,
integration-compute-loadbalancing]
trigger: true
on_success:
put: pull-request
Expand Down

0 comments on commit 306f2af

Please sign in to comment.