Skip to content

Commit

Permalink
updating release pipeline to run off prs
Browse files Browse the repository at this point in the history
  • Loading branch information
rambleraptor committed Feb 20, 2019
1 parent fba6f37 commit d6aad16
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .ci/release.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ resources:
uri: git@github.com:GoogleCloudPlatform/magic-modules.git
private_key: ((repo-key.private_key))

- name: magic-modules-new-prs
type: github-pull-request
source:
repo: GoogleCloudPlatform/magic-modules
private_key: ((repo-key.private_key))
access_token: ((github-account.password))
authorship_restriction: true
no_label: automerged

- name: gcp-bucket
type: gcs-resource
source:
Expand All @@ -45,7 +54,8 @@ jobs:
plan:
- get: night-trigger
trigger: true
- get: magic-modules-gcp
- get: magic-modules-new-prs
trigger: false
- task: build
file: magic-modules-gcp/.ci/magic-modules/release-ansible.yml
params:
Expand Down

0 comments on commit d6aad16

Please sign in to comment.