-
Notifications
You must be signed in to change notification settings - Fork 28
/
bump-flannel.yml
42 lines (38 loc) · 995 Bytes
/
bump-flannel.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
resources:
- name: flannel-release
type: github-release
source:
owner: coreos
repository: flannel
access_token: ((github-token-key))
- name: git-kubo-ci
type: git
source:
uri: https://github.com/cloudfoundry-incubator/kubo-ci
branch: master
- name: git-kubo-release
type: git
source:
uri: [email protected]:cloudfoundry-incubator/kubo-release.git
branch: develop
private_key: ((git-ssh-key.private_key))
jobs:
- name: check-and-upgrade-flannel
plan:
- in_parallel:
- get: git-kubo-ci
- get: git-kubo-release
- get: flannel-release
trigger: true
params: { globs: ["flannel-v*-linux-amd64.tar.gz"] }
- task: update-flannel-blob
file: git-kubo-ci/tasks/bump-flannel.yml
params:
GCS_JSON_KEY: ((gcs-json-key))
- task: generate-flannel-pr
file: git-kubo-ci/tasks/create-flannel-pr.yml
params:
CFCR_USER_TOKEN: ((cfcr-git-user-token))
GIT_SSH_KEY: |
((git-ssh-key.private_key))