|
23 | 23 | slack: |
24 | 24 | webhook: unknown |
25 | 25 | channel: '#vault' |
26 | | - |
27 | | -groups: |
28 | | - - name: (( grab meta.pipeline )) |
29 | | - jobs: |
30 | | - - ((append)) |
31 | | - - publish-plugin |
32 | | - |
33 | | -jobs: |
34 | | - - name: publish-plugin |
35 | | - public: false |
36 | | - serial: true |
37 | | - plan: |
38 | | - - do: |
39 | | - - { get: git } |
40 | | - # - { get: git, passed: [shipit] } |
41 | | - - { get: version, passed: [shipit] } |
42 | | - - { get: github, passed: [shipit] } |
43 | | - - { get: cli-plugin-repo } |
44 | | - - name: update-cli-plugin-repo |
45 | | - task: update-cli-plugin-repo |
46 | | - config: |
47 | | - platform: linux |
48 | | - image_resource: |
49 | | - type: docker-image |
50 | | - source: |
51 | | - repository: (( grab meta.image.name )) |
52 | | - tag: (( grab meta.image.tag )) |
53 | | - inputs: |
54 | | - - name: git |
55 | | - - name: version |
56 | | - - name: github |
57 | | - - name: cli-plugin-repo |
58 | | - outputs: |
59 | | - - name: pullrequest-repo |
60 | | - run: |
61 | | - path: git/ci/scripts/update-cli-plugin-repo |
62 | | - args: [] |
63 | | - params: {} |
64 | | - - name: cli-plugin-repo-pullrequests |
65 | | - put: cli-plugin-repo-pullrequests |
66 | | - params: |
67 | | - repository: pullrequest-repo |
68 | | - force: true |
69 | | - - name: submit-pull-request |
70 | | - task: submit-pull-request |
71 | | - config: |
72 | | - platform: linux |
73 | | - image_resource: |
74 | | - type: docker-image |
75 | | - source: |
76 | | - repository: (( grab meta.image.name )) |
77 | | - tag: (( grab meta.image.tag )) |
78 | | - inputs: |
79 | | - - name: git |
80 | | - - name: version |
81 | | - run: |
82 | | - path: git/ci/scripts/submit-pull-request |
83 | | - args: [] |
84 | | - params: |
85 | | - BASE_ORG_REPO: cloudfoundry-incubator/cli-plugin-repo |
86 | | - BASE_BRANCH: master |
87 | | - PR_ORG: starkandwayne |
88 | | - PR_BRANCH: (( concat meta.name "-release" )) |
89 | | - GITHUB_TOKEN: (( grab meta.github.access_token )) |
90 | | - |
91 | | -resources: |
92 | | - - name: cli-plugin-repo |
93 | | - type: git |
94 | | - source: |
95 | | - uri: https://github.com/cloudfoundry-incubator/cli-plugin-repo |
96 | | - branch: master |
97 | | - |
98 | | - - name: cli-plugin-repo-pullrequests |
99 | | - type: git |
100 | | - source: |
101 | | - uri: git@github.com:starkandwayne/cf-cli-plugin-repo.git |
102 | | - branch: (( concat meta.name "-release" )) |
103 | | - private_key: (( grab meta.github.private_key )) |
0 commit comments