|
1 | 1 | base_images:
|
2 |
| - tests-base: |
| 2 | + ansible: |
3 | 3 | name: "4.19"
|
4 | 4 | namespace: ocp
|
5 |
| - tag: tests |
6 |
| -binary_build_commands: | |
7 |
| - # The CentOS 8 build root does not have golang package installed so that we |
8 |
| - # use the golang installed by Kata Containers setup script. Here it is |
9 |
| - # ensured the tools are searcheable. |
10 |
| - export GOPATH=/go |
11 |
| - export PATH="${GOPATH}/bin:/usr/local/go/bin/:$PATH" |
12 |
| -build_root: |
13 |
| - project_image: |
14 |
| - dockerfile_path: ci/openshift-ci/images/Dockerfile.buildroot |
15 |
| -images: |
16 |
| -- dockerfile_literal: | |
17 |
| - FROM bin |
18 |
| - RUN dnf install -y --nobest gettext jq |
19 |
| - from: bin |
20 |
| - to: with-deps |
21 |
| -- dockerfile_literal: | |
22 |
| - FROM tests-base |
23 |
| - RUN mv /usr/bin/openshift-tests /usr/bin/openshift-tests-original |
24 |
| - ADD https://raw.githubusercontent.com/openshift/release/master/ci-operator/config/kata-containers/kata-containers/wrapped-openshift-tests.sh / |
25 |
| - RUN cat /wrapped-openshift-tests.sh | tr -d '\r' > /usr/bin/openshift-tests |
26 |
| - RUN chmod +x /usr/bin/openshift-tests |
27 |
| - from: tests-base |
28 |
| - to: tests |
| 5 | + tag: ansible |
| 6 | + cli: |
| 7 | + name: "4.19" |
| 8 | + namespace: ocp |
| 9 | + tag: cli |
| 10 | + openstack-installer: |
| 11 | + name: "4.19" |
| 12 | + namespace: ocp |
| 13 | + tag: openstack-installer |
| 14 | + tests-private: |
| 15 | + name: tests-private |
| 16 | + namespace: ci |
| 17 | + tag: "4.19" |
| 18 | + tools: |
| 19 | + name: "4.19" |
| 20 | + namespace: ocp |
| 21 | + tag: tools |
| 22 | + upi-installer: |
| 23 | + name: "4.19" |
| 24 | + namespace: ocp |
| 25 | + tag: upi-installer |
29 | 26 | releases:
|
30 |
| - initial: |
31 |
| - integration: |
32 |
| - name: "4.19" |
33 |
| - namespace: ocp |
34 | 27 | latest:
|
35 |
| - integration: |
36 |
| - include_built_images: true |
37 |
| - name: "4.19" |
38 |
| - namespace: ocp |
| 28 | + release: |
| 29 | + architecture: amd64 |
| 30 | + channel: candidate |
| 31 | + version: "4.19" |
39 | 32 | resources:
|
40 | 33 | '*':
|
41 | 34 | requests:
|
42 | 35 | cpu: 100m
|
43 |
| - memory: 2Gi |
| 36 | + memory: 200Mi |
44 | 37 | tests:
|
45 |
| -- as: e2e-tests |
46 |
| - cron: 2 7 * * * |
| 38 | +- as: azure-ipi-kata |
| 39 | + cron: '@yearly' |
47 | 40 | steps:
|
48 |
| - allow_best_effort_post_steps: true |
49 |
| - allow_skip_on_success: true |
50 |
| - cluster_profile: azure4 |
| 41 | + cluster_profile: azure-qe |
51 | 42 | env:
|
52 |
| - TEST_ARGS: ' --max-parallel-tests 5 --cluster-stability Disruptive --run ^\[sig-node\].*|^\[sig-network\] ' |
53 |
| - TEST_SKIPS: \[sig-node\] Pods Extended Pod Container Status should never report\|\[sig-node\] |
54 |
| - Sysctls.*should support sysctls\|\[sig-node\] Pods Extended Pod Container |
55 |
| - Status should never report success for a pending container\|\[sig-node\] Security |
56 |
| - Context should support seccomp runtime/default\|\[sig-node\] Variable Expansion |
57 |
| - should allow substituting values in a volume subpath\|\[k8s.io\] Probing container |
58 |
| - should be restarted with a docker exec liveness probe with timeout\|\[sig-node\] |
59 |
| - Pods Extended Pod Container lifecycle evicted pods should be terminal\|\[sig-node\] |
60 |
| - PodOSRejection \[NodeConformance\] Kubelet should reject pod when the node |
61 |
| - OS doesn't match pod's OS\|\[sig-network\].*for evicted pods\|\[sig-network\].*HAProxy |
62 |
| - router should override the route\|\[sig-network\].*HAProxy\|\[sig-network\].*all |
63 |
| - sysctl on whitelist\|\[sig-network\].*sysctls should not affect\|\[sig-network\] |
64 |
| - pods should successfully create sandboxes by adding pod to network\|\[sig-network\].*should |
65 |
| - create pingable pods with vlan interface on an in-container master\|\[sig-network\].*should |
66 |
| - create a pod with bond interface\|\[sig-node\] Variable Expansion should succeed |
67 |
| - create a pod with bond interface\|\[sig-node\] Variable Expansion should succeed |
68 |
| - in writing subpaths in container |
| 43 | + BASE_DOMAIN: qe.azure.devcluster.openshift.com |
| 44 | + COMPUTE_NODE_REPLICAS: "2" |
| 45 | + CUSTOM_AZURE_REGION: eastus |
| 46 | + SLEEP_DURATION: 2h |
| 47 | + SPOT_INSTANCES: "false" |
| 48 | + TEST_FILTERS: ~DisconnectedOnly&;~Disruptive&;41566 |
| 49 | + TEST_SCENARIOS: Kata |
| 50 | + TEST_TIMEOUT: "75" |
| 51 | + post: |
| 52 | + - ref: cucushift-installer-wait |
| 53 | + - chain: ipi-azure-post |
69 | 54 | pre:
|
70 |
| - - chain: ipi-azure-pre |
71 |
| - - as: kata-containers-e2e-pre |
72 |
| - cli: latest |
73 |
| - commands: | |
74 |
| - # oc is made available to this script via cli configuration, but |
75 |
| - # kubectl is not. Since kubectl is used by kata-webhook scripts, |
76 |
| - # thus it is created a symlink to oc. |
77 |
| - pushd "$CLI_DIR" |
78 |
| - if [ ! -f kubectl ]; then |
79 |
| - ln -s oc kubectl |
80 |
| - fi |
81 |
| - popd |
82 |
| - # TODO: The ipi-azure test step does not export AZURE_AUTH_LOCATION |
83 |
| - # which causes openshift-tests to fail. |
84 |
| - export AZURE_AUTH_LOCATION=${SHARED_DIR}/metadata.json |
85 |
| -
|
86 |
| - # Get the current latest kata-containers image |
87 |
| - TAGS="$(curl https://quay.io/api/v1/repository/kata-containers/kata-deploy-ci/tag/?onlyActiveTags=true)" |
88 |
| - DIGEST=$(echo "$TAGS" | jq -r '.tags[] | select(.name | contains("kata-containers-latest-amd64")) | .manifest_digest') |
89 |
| - export KATA_DEPLOY_IMAGE="quay.io/kata-containers/kata-deploy-ci:$(echo "$TAGS" | jq -r '.tags[] | select(.manifest_digest | contains("'"$DIGEST"'")) | .name' | grep -v "kata-containers-latest-amd64")" |
90 |
| - echo "KATA_DEPLOY_IMAGE=$KATA_DEPLOY_IMAGE" |
91 |
| -
|
92 |
| - # The installer is instructed to configure kata containers to use |
93 |
| - # QEMU from the RHCOS extension and host's kernel. |
94 |
| - export KATA_WITH_SYSTEM_QEMU="yes" |
95 |
| - export KATA_WITH_HOST_KERNEL="yes" |
96 |
| - export KATA_RUNTIME="kata-qemu" |
97 |
| - # Install Kata Containers and run a smoke test. |
98 |
| - ci/openshift-ci/test.sh |
99 |
| -
|
100 |
| - # Deploy the kata-webhook so that the tests ran on next step of the |
101 |
| - # workflow will use the kata runtime. |
102 |
| - ci/openshift-ci/cluster/deploy_webhook.sh |
103 |
| - from: with-deps |
104 |
| - resources: |
105 |
| - requests: |
106 |
| - cpu: 100m |
107 |
| - memory: 200Mi |
108 |
| - workflow: openshift-e2e-azure |
| 55 | + - chain: ipi-conf-azure |
| 56 | + - ref: ipi-conf-azure-custom-region |
| 57 | + - chain: azure-provision-service-principal-minimal-permission |
| 58 | + - chain: ipi-install |
| 59 | + test: |
| 60 | + - chain: openshift-e2e-test-qe |
109 | 61 | zz_generated_metadata:
|
110 | 62 | branch: main
|
111 | 63 | org: kata-containers
|
|
0 commit comments