-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ci-operator config and job for cri-o 1.14
Add yaml files to config and jobs for cri-o release-1.14 branch so that we run e2e-aws tests on cri-o PRs. Signed-off-by: Urvashi Mohnani <[email protected]>
- Loading branch information
Showing
3 changed files
with
236 additions
and
1 deletion.
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
60 changes: 60 additions & 0 deletions
60
ci-operator/config/cri-o/cri-o/cri-o-cri-o-release-1.14.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,60 @@ | ||
base_images: | ||
base: | ||
name: "4.2" | ||
namespace: ocp | ||
tag: base | ||
base-machine: | ||
cluster: https://api.ci.openshift.org | ||
name: fedora | ||
namespace: openshift | ||
tag: "29" | ||
machine-os-content-base: | ||
name: "4.2" | ||
namespace: ocp | ||
tag: machine-os-content | ||
build_root: | ||
image_stream_tag: | ||
cluster: https://api.ci.openshift.org | ||
name: release | ||
namespace: openshift | ||
tag: golang-1.11 | ||
canonical_go_repository: github.com/cri-o/cri-o | ||
images: | ||
- context_dir: images/os/ | ||
from: base | ||
inputs: | ||
base-machine-with-rpms: | ||
as: | ||
- fedora:29 | ||
paths: null | ||
machine-os-content-base: | ||
as: | ||
- registry.svc.ci.openshift.org/openshift/origin-v4.2:machine-os-content | ||
paths: null | ||
to: machine-os-content | ||
raw_steps: | ||
- rpm_image_injection_step: | ||
from: base-machine | ||
to: base-machine-with-rpms | ||
resources: | ||
'*': | ||
limits: | ||
memory: 8Gi | ||
requests: | ||
cpu: 100m | ||
memory: 4Gi | ||
rpm_build_commands: hack/build-rpms.sh | ||
tag_specification: | ||
name: "4.2" | ||
namespace: ocp | ||
tests: | ||
- as: e2e-aws | ||
commands: TEST_SUITE=openshift/conformance/parallel run-tests | ||
openshift_installer: | ||
cluster_profile: aws | ||
upgrade: false | ||
- as: launch-aws | ||
commands: sleep 7200 & wait | ||
openshift_installer: | ||
cluster_profile: aws | ||
upgrade: false |
175 changes: 175 additions & 0 deletions
175
ci-operator/jobs/cri-o/cri-o/cri-o-cri-o-release-1.14-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,175 @@ | ||
presubmits: | ||
cri-o/cri-o: | ||
- agent: kubernetes | ||
always_run: false | ||
branches: | ||
- release-1.14 | ||
context: ci/prow/e2e-aws | ||
decorate: true | ||
decoration_config: | ||
skip_cloning: true | ||
labels: | ||
ci-operator.openshift.io/prowgen-controlled: "true" | ||
name: pull-ci-cri-o-cri-o-release-1.14-e2e-aws | ||
rerun_command: /test e2e-aws | ||
run_if_changed: ^([^d]|d(d|o(d|cd))*([^do]|o([^cd]|c[^ds])))*(d(d|o(d|cd))*(oc?)?)?$ | ||
spec: | ||
containers: | ||
- args: | ||
- --artifact-dir=$(ARTIFACTS) | ||
- --give-pr-author-access-to-namespace=true | ||
- --secret-dir=/usr/local/e2e-aws-cluster-profile | ||
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator | ||
- --target=e2e-aws | ||
- --template=/usr/local/e2e-aws | ||
command: | ||
- ci-operator | ||
env: | ||
- name: CLUSTER_TYPE | ||
value: aws | ||
- name: CONFIG_SPEC | ||
valueFrom: | ||
configMapKeyRef: | ||
key: cri-o-cri-o-release-1.14.yaml | ||
name: ci-operator-misc-configs | ||
- name: JOB_NAME_SAFE | ||
value: e2e-aws | ||
- name: TEST_COMMAND | ||
value: TEST_SUITE=openshift/conformance/parallel run-tests | ||
image: ci-operator:latest | ||
imagePullPolicy: Always | ||
name: "" | ||
resources: | ||
requests: | ||
cpu: 10m | ||
volumeMounts: | ||
- mountPath: /usr/local/e2e-aws-cluster-profile | ||
name: cluster-profile | ||
- mountPath: /usr/local/e2e-aws | ||
name: job-definition | ||
subPath: cluster-launch-installer-e2e.yaml | ||
- mountPath: /etc/sentry-dsn | ||
name: sentry-dsn | ||
readOnly: true | ||
serviceAccountName: ci-operator | ||
volumes: | ||
- name: cluster-profile | ||
projected: | ||
sources: | ||
- secret: | ||
name: cluster-secrets-aws | ||
- configMap: | ||
name: prow-job-cluster-launch-installer-e2e | ||
name: job-definition | ||
- name: sentry-dsn | ||
secret: | ||
secretName: sentry-dsn | ||
trigger: (?m)^/test( | .* )e2e-aws,?($|\s.*) | ||
- agent: kubernetes | ||
always_run: true | ||
branches: | ||
- release-1.14 | ||
context: ci/prow/images | ||
decorate: true | ||
decoration_config: | ||
skip_cloning: true | ||
labels: | ||
ci-operator.openshift.io/prowgen-controlled: "true" | ||
name: pull-ci-cri-o-cri-o-release-1.14-images | ||
rerun_command: /test images | ||
spec: | ||
containers: | ||
- args: | ||
- --artifact-dir=$(ARTIFACTS) | ||
- --give-pr-author-access-to-namespace=true | ||
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator | ||
- --target=[images] | ||
command: | ||
- ci-operator | ||
env: | ||
- name: CONFIG_SPEC | ||
valueFrom: | ||
configMapKeyRef: | ||
key: cri-o-cri-o-release-1.14.yaml | ||
name: ci-operator-misc-configs | ||
image: ci-operator:latest | ||
imagePullPolicy: Always | ||
name: "" | ||
resources: | ||
requests: | ||
cpu: 10m | ||
volumeMounts: | ||
- mountPath: /etc/sentry-dsn | ||
name: sentry-dsn | ||
readOnly: true | ||
serviceAccountName: ci-operator | ||
volumes: | ||
- name: sentry-dsn | ||
secret: | ||
secretName: sentry-dsn | ||
trigger: (?m)^/test( | .* )images,?($|\s.*) | ||
- agent: kubernetes | ||
always_run: true | ||
branches: | ||
- release-1.14 | ||
context: ci/prow/launch-aws | ||
decorate: true | ||
decoration_config: | ||
skip_cloning: true | ||
labels: | ||
ci-operator.openshift.io/prowgen-controlled: "true" | ||
name: pull-ci-cri-o-cri-o-release-1.14-launch-aws | ||
optional: true | ||
rerun_command: /test launch-aws | ||
spec: | ||
containers: | ||
- args: | ||
- --artifact-dir=$(ARTIFACTS) | ||
- --give-pr-author-access-to-namespace=true | ||
- --secret-dir=/usr/local/launch-aws-cluster-profile | ||
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator | ||
- --target=launch-aws | ||
- --template=/usr/local/launch-aws | ||
command: | ||
- ci-operator | ||
env: | ||
- name: CLUSTER_TYPE | ||
value: aws | ||
- name: CONFIG_SPEC | ||
valueFrom: | ||
configMapKeyRef: | ||
key: cri-o-cri-o-release-1.14.yaml | ||
name: ci-operator-misc-configs | ||
- name: JOB_NAME_SAFE | ||
value: launch-aws | ||
- name: TEST_COMMAND | ||
value: sleep 7200 & wait | ||
image: ci-operator:latest | ||
imagePullPolicy: Always | ||
name: "" | ||
resources: | ||
requests: | ||
cpu: 10m | ||
volumeMounts: | ||
- mountPath: /usr/local/launch-aws-cluster-profile | ||
name: cluster-profile | ||
- mountPath: /usr/local/launch-aws | ||
name: job-definition | ||
subPath: cluster-launch-installer-e2e.yaml | ||
- mountPath: /etc/sentry-dsn | ||
name: sentry-dsn | ||
readOnly: true | ||
serviceAccountName: ci-operator | ||
volumes: | ||
- name: cluster-profile | ||
projected: | ||
sources: | ||
- secret: | ||
name: cluster-secrets-aws | ||
- configMap: | ||
name: prow-job-cluster-launch-installer-e2e | ||
name: job-definition | ||
- name: sentry-dsn | ||
secret: | ||
secretName: sentry-dsn | ||
trigger: (?m)^/test( | .* )launch-aws,?($|\s.*) |