-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TODO: Add builds on tags. Signed-off-by: Petr Horacek <[email protected]>
- Loading branch information
Showing
5 changed files
with
109 additions
and
0 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,6 @@ | ||
filters: | ||
".*": | ||
reviewers: | ||
- phoracek | ||
approvers: | ||
- phoracek |
26 changes: 26 additions & 0 deletions
26
github/ci/prow/files/jobs/macvtap-cni/macvtap-cni-postsubmits.yaml
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,26 @@ | ||
postsubmits: | ||
kubevirt/macvtap-cni: | ||
- name: publish-macvtap-cni-latest | ||
always_run: true | ||
decorate: true | ||
max_concurrency: 1 | ||
labels: | ||
preset-dind-enabled: "true" | ||
preset-docker-mirror: "true" | ||
preset-kubevirtci-quay-credential: "true" | ||
spec: | ||
nodeSelector: | ||
type: vm | ||
zone: ci | ||
containers: | ||
- image: gcr.io/k8s-testimages/bootstrap:v20190516-c6832d9 | ||
command: | ||
- "/usr/local/bin/runner.sh" | ||
- "/bin/bash" | ||
- "-c" | ||
- "cat $QUAY_PASSWORD | docker login --username $(cat $QUAY_USER) --password-stdin=true quay.io && make docker-build docker-push" | ||
# docker-in-docker needs privileged mode | ||
securityContext: | ||
privileged: true | ||
|
||
# TODO: Build new tagged image when there is a new tag |
63 changes: 63 additions & 0 deletions
63
github/ci/prow/files/jobs/macvtap-cni/macvtap-cni-presubmits.yaml
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,63 @@ | ||
presubmits: | ||
kubevirt/macvtap-cni: | ||
- name: pull-macvtap-cni-unit-test | ||
skip_branches: | ||
- release-\d+\.\d+ | ||
annotations: | ||
fork-per-release: "true" | ||
always_run: true | ||
optional: false | ||
decorate: true | ||
decoration_config: | ||
timeout: 3h | ||
grace_period: 5m | ||
max_concurrency: 6 | ||
labels: | ||
preset-dind-enabled: "true" | ||
preset-docker-mirror: "true" | ||
preset-shared-images: "true" | ||
spec: | ||
nodeSelector: | ||
type: vm | ||
zone: ci | ||
containers: | ||
- image: gcr.io/k8s-testimages/bootstrap:v20190516-c6832d9 | ||
securityContext: | ||
privileged: true | ||
command: | ||
- "/usr/local/bin/runner.sh" | ||
- "/bin/sh" | ||
- "-c" | ||
- "automation/check-patch.unit-test.sh" | ||
|
||
- name: pull-macvtap-cni-e2e-k8s | ||
skip_branches: | ||
- release-\d+\.\d+ | ||
annotations: | ||
fork-per-release: "true" | ||
always_run: true | ||
optional: false | ||
decorate: true | ||
decoration_config: | ||
timeout: 3h | ||
grace_period: 5m | ||
max_concurrency: 6 | ||
labels: | ||
preset-dind-enabled: "true" | ||
preset-docker-mirror: "true" | ||
preset-shared-images: "true" | ||
spec: | ||
nodeSelector: | ||
type: bare-metal-external | ||
containers: | ||
- image: gcr.io/k8s-testimages/bootstrap:v20190516-c6832d9 | ||
securityContext: | ||
privileged: true | ||
resources: | ||
requests: | ||
memory: "29Gi" | ||
command: | ||
- "/usr/local/bin/runner.sh" | ||
- "/bin/sh" | ||
- "-c" | ||
- "automation/check-patch.e2e-k8s.sh" |
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