-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2503 from Brian-McM/bm-add-pin-update-pipeline
Add update pins pipelines
- Loading branch information
Showing
3 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
version: v1.0 | ||
name: Trigger Pin Updates | ||
agent: | ||
machine: | ||
type: e1-standard-2 | ||
os_image: ubuntu1804 | ||
|
||
global_job_config: | ||
secrets: | ||
# Mount the github SSH secret for repositories. | ||
- name: private-repo | ||
# Mount a secret for pulling images from GCR. | ||
- name: tigera-dev-ci-pull-credentials | ||
prologue: | ||
commands: | ||
# Correct permissions since they are too open by default: | ||
- chmod 0600 ~/.keys/* | ||
# Add the key to the ssh agent: | ||
- ssh-add ~/.keys/* | ||
# Login to docker in order to pull images. | ||
- docker login --username casey@tigera.io -u _json_key -p "$(cat /home/semaphore/tigera-dev-ci.json)" https://gcr.io | ||
- checkout | ||
|
||
blocks: | ||
- name: 'Auto pin update' | ||
task: | ||
secrets: | ||
- name: marvin-github-token | ||
jobs: | ||
- name: 'Auto pin update' | ||
commands: | ||
- CONFIRM=true make git-config | ||
- CONFIRM=true GITHUB_TOKEN=${MARVIN_GITHUB_TOKEN} make trigger-auto-pin-update-process |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters