-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Image Push Job For Kubernetes CSI #16942
Merged
k8s-ci-robot
merged 2 commits into
kubernetes:master
from
linux-on-ibm-z:prow_config_job_test
Apr 1, 2020
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
postsubmits: | ||
# This is the github repo we'll build from. This block needs to be repeated | ||
# for each repo. | ||
kubernetes-csi/node-driver-registrar: | ||
# The name should be changed to match the repo name above | ||
- name: post-node-driver-registrar-push-images | ||
cluster: test-infra-trusted | ||
annotations: | ||
# This is the name of some testgrid dashboard to report to. | ||
testgrid-dashboards: sig-storage-csi-node-driver-registrar | ||
decorate: true | ||
branches: | ||
- ^master$ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add a comment explaining that this is for publishing the "canary" images, something that we only do on the master branch? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added comment |
||
# this is a regex for semver, from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string | ||
- ^v(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ | ||
spec: | ||
serviceAccountName: deployer # TODO(fejta): use pusher | ||
containers: | ||
- image: gcr.io/k8s-testimages/image-builder:v20200114-6d2c483 | ||
command: | ||
- /run.sh | ||
args: | ||
# this is the project GCB will run in, which is the same as the GCR | ||
# images are pushed to. | ||
- --project=k8s-staging-csi | ||
# This is the same as above, but with -gcb appended. | ||
- --scratch-bucket=gs://k8s-staging-csi-gcb | ||
- --env-passthrough=PULL_BASE_REF | ||
- . |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eventually we'll probably want to have a generator script for all the various repos. There are too many to of them to create and maintain this file manually. But for now as a test it's okay.