Skip to content
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
build_root:
image_stream_tag:
name: builder
namespace: konveyor
tag: ubi9-v1.25
images:
- additional_architectures:
- arm64
dockerfile_path: Dockerfile.ubi
to: kubevirt-velero-plugin-oadp-1.6
promotion:
to:
- name: kubevirt-velero-plugin
namespace: konveyor
releases:
latest:
candidate:
product: ocp
stream: nightly
version: "4.21"
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: unit-test
optional: true
steps:
test:
- as: unit
commands: go mod vendor && go test -v ./pkg/...
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
zz_generated_metadata:
branch: oadp-1.6
org: migtools
repo: kubevirt-velero-plugin
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
binary_build_commands: CGO_ENABLED=0 go build -o /go/bin/hypershift-oadp-plugin .
build_root:
image_stream_tag:
name: builder
namespace: konveyor
tag: ubi9-v1.25
images:
- dockerfile_path: Dockerfile
to: hypershift-oadp-plugin-oadp-1.6
promotion:
to:
- name: hypershift-oadp-plugin
namespace: konveyor
releases:
initial:
integration:
name: "4.21"
namespace: ocp
latest:
integration:
include_built_images: true
name: "4.21"
namespace: ocp
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tests:
- as: unit
commands: |
export GOCACHE=/tmp/gocache
export GOMODCACHE=/tmp/gomodcache
make test
container:
from: src
- as: security
skip_if_only_changed: ^docs/|\.md$|^(?:.*/)?(?:\.gitignore|OWNERS|PROJECT|LICENSE)$
steps:
env:
SNYK_CODE_ADDITIONAL_ARGS: --severity-threshold=high -d
SNYK_ENABLE_DEPS_SCAN: "false"
workflow: openshift-ci-security
- as: build
commands: |
export GOCACHE=/tmp/gocache
export GOMODCACHE=/tmp/gomodcache
make local
container:
from: src
- as: verify
commands: |
export GOCACHE=/tmp/gocache
export GOMODCACHE=/tmp/gomodcache
make verify
container:
from: src
zz_generated_metadata:
branch: oadp-1.6
org: openshift
repo: hypershift-oadp-plugin
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
postsubmits:
migtools/kubevirt-velero-plugin:
- agent: kubernetes
always_run: true
branches:
- ^oadp-1\.6$
cluster: build06
decorate: true
decoration_config:
skip_cloning: true
labels:
capability/arm64: arm64
ci-operator.openshift.io/is-promotion: "true"
ci.openshift.io/generator: prowgen
job-release: "4.21"
max_concurrency: 1
name: branch-ci-migtools-kubevirt-velero-plugin-oadp-1.6-images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson
- --promote
- --report-credentials-file=/etc/report/credentials
- --target=[images]
command:
- ci-operator
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/push-secret
name: push-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: push-secret
secret:
secretName: registry-push-credentials-ci-central
- name: result-aggregator
secret:
secretName: result-aggregator
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
presubmits:
migtools/kubevirt-velero-plugin:
- agent: kubernetes
always_run: true
branches:
- ^oadp-1\.6$
- ^oadp-1\.6-
cluster: build05
context: ci/prow/images
decorate: true
decoration_config:
skip_cloning: true
labels:
capability/arm64: arm64
ci.openshift.io/generator: prowgen
job-release: "4.21"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-migtools-kubevirt-velero-plugin-oadp-1.6-images
rerun_command: /test images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --target=[images]
command:
- ci-operator
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^oadp-1\.6$
- ^oadp-1\.6-
cluster: build01
context: ci/prow/unit-test
decorate: true
decoration_config:
skip_cloning: true
labels:
ci.openshift.io/generator: prowgen
job-release: "4.21"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-migtools-kubevirt-velero-plugin-oadp-1.6-unit-test
optional: true
rerun_command: /test unit-test
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=unit-test
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )unit-test,?($|\s.*)
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
postsubmits:
openshift/hypershift-oadp-plugin:
- agent: kubernetes
always_run: true
branches:
- ^oadp-1\.6$
cluster: build01
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/is-promotion: "true"
ci.openshift.io/generator: prowgen
max_concurrency: 1
name: branch-ci-openshift-hypershift-oadp-plugin-oadp-1.6-images
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --image-mirror-push-secret=/etc/push-secret/.dockerconfigjson
- --promote
- --report-credentials-file=/etc/report/credentials
- --target=[images]
command:
- ci-operator
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/push-secret
name: push-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: push-secret
secret:
secretName: registry-push-credentials-ci-central
- name: result-aggregator
secret:
secretName: result-aggregator
Loading