-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 ci-operator config and job for cri-o #3962
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# DO NOT EDIT; this file is auto-generated using tools/populate-owners. | ||
# from https://github.com/cri-o/cri-o/blob/66eaece433489575f46261b90252c84c58b7e93e/OWNERS | ||
# See the OWNERS docs: https://git.k8s.io/community/contributors/guide/owners.md | ||
|
||
approvers: | ||
- mrunalp | ||
- runcom | ||
- sameo | ||
- rhatdan | ||
- nalind | ||
- giuseppe | ||
- sboeuf | ||
- umohnani8 | ||
- saschagrunert |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
base_images: | ||
base: | ||
name: "4.1" | ||
namespace: ocp | ||
tag: base | ||
base-machine: | ||
cluster: https://api.ci.openshift.org | ||
name: fedora | ||
namespace: openshift | ||
tag: "29" | ||
machine-os-content-base: | ||
name: "4.1" | ||
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.1: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.1" | ||
namespace: ocp | ||
tests: | ||
- as: unit | ||
commands: make testunit | ||
container: | ||
from: src | ||
- as: e2e-aws | ||
commands: TEST_SUITE=openshift/conformance/parallel run-tests | ||
openshift_installer: | ||
cluster_profile: aws | ||
upgrade: false | ||
- as: launch-aws | ||
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. you'll need to make this an optional job (after generating) by adding the correct "optional" attributes in presubmits.yaml. See what origin launch-aws does. (required: false, optional: true, I think) 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. done |
||
commands: sleep 7200 & wait | ||
openshift_installer: | ||
cluster_profile: aws | ||
upgrade: false |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,218 @@ | ||
presubmits: | ||
cri-o/cri-o: | ||
- agent: kubernetes | ||
always_run: false | ||
branches: | ||
- release-1.13 | ||
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.13-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.13.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.13 | ||
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.13-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.13.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.13 | ||
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.13-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.13.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.*) | ||
- agent: kubernetes | ||
always_run: true | ||
branches: | ||
- release-1.13 | ||
context: ci/prow/unit | ||
decorate: true | ||
decoration_config: | ||
skip_cloning: true | ||
labels: | ||
ci-operator.openshift.io/prowgen-controlled: "true" | ||
name: pull-ci-cri-o-cri-o-release-1.13-unit | ||
rerun_command: /test unit | ||
spec: | ||
containers: | ||
- args: | ||
- --artifact-dir=$(ARTIFACTS) | ||
- --give-pr-author-access-to-namespace=true | ||
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator | ||
- --target=unit | ||
command: | ||
- ci-operator | ||
env: | ||
- name: CONFIG_SPEC | ||
valueFrom: | ||
configMapKeyRef: | ||
key: cri-o-cri-o-release-1.13.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( | .* )unit,?($|\s.*) |
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.
4.2?
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.
This is for cri-o 1.13, so that should be for 4.1. cri-o 1.14 will be for 4.2.