Skip to content
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 macvtap-cni jobs #308

Merged
merged 1 commit into from
Feb 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions github/ci/prow/files/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ tide:
kubevirt/katacoda-scenarios: squash
kubevirt/demo: squash
kubevirt/ovs-cni: squash
kubevirt/macvtap-cni: squash
kubevirt/cluster-network-addons-operator: squash
kubevirt/bridge-marker: squash
nmstate/kubernetes-nmstate: squash
Expand Down Expand Up @@ -101,6 +102,7 @@ tide:
- kubevirt/containerized-data-importer
- kubevirt/hostpath-provisioner
- kubevirt/ovs-cni
- kubevirt/macvtap-cni
- kubevirt/cluster-network-addons-operator
- kubevirt/bridge-marker
- nmstate/kubernetes-nmstate
Expand Down Expand Up @@ -180,6 +182,10 @@ branch-protection:
branches:
master:
protect: true
macvtap-cni:
branches:
master:
protect: true
common-templates:
branches:
master:
Expand Down
8 changes: 8 additions & 0 deletions github/ci/prow/files/jobs/macvtap-cni/OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
filters:
".*":
reviewers:
- phoracek
- qinqon
approvers:
- phoracek
- qinqon
26 changes: 26 additions & 0 deletions github/ci/prow/files/jobs/macvtap-cni/macvtap-cni-postsubmits.yaml
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 github/ci/prow/files/jobs/macvtap-cni/macvtap-cni-presubmits.yaml
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"
7 changes: 7 additions & 0 deletions github/ci/prow/files/plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@ plugins:
- lgtm
- approve

kubevirt/macvtap-cni:
- trigger
- owners-label
- lgtm
- approve
- release-note

kubevirt/machine-remediation-operator:
- trigger
- lgtm
Expand Down