summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-02-04 13:23:09 -0500
committerGitHub <noreply@github.com>2022-02-04 13:23:09 -0500
commitab4af502b3f60f891192356eddaa13092f785612 (patch)
treea07fb050bb69e7867f70f03e97bb251195cc0db5
parent8c5b47f459c27ae8f7acbed68cb3259ca55a24da (diff)
parentf0826b3a49656651a92e38ed7b8dc7082e5de9ba (diff)
downloadpodman-ab4af502b3f60f891192356eddaa13092f785612.tar.gz
podman-ab4af502b3f60f891192356eddaa13092f785612.tar.bz2
podman-ab4af502b3f60f891192356eddaa13092f785612.zip
Merge pull request #13147 from cevich/more_netavark
Cirrus: Expand netavark testing to include rootless
-rw-r--r--.cirrus.yml73
1 files changed, 31 insertions, 42 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 77e024a14..7a306175a 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -521,22 +521,20 @@ container_integration_test_task:
always: *int_logs_artifacts
-# Run the integration tests using the latest upstream build of netavark.
-netavark_integration_test_task:
- name: "Netavark integration" # using *std_name_fmt here is unreadable
- alias: netavark_integration_test
+# Execute most integration tests as a regular (non-root) user.
+rootless_integration_test_task:
+ name: *std_name_fmt
+ alias: rootless_integration_test
only_if: *not_build
skip: *branches_and_tags
depends_on:
- unit_test
+ matrix: *platform_axis
gce_instance: *standardvm
+ timeout_in: 90m
env:
- DISTRO_NV: ${FEDORA_NAME}
- _BUILD_CACHE_HANDLE: ${FEDORA_NAME}-build-${CIRRUS_BUILD_ID}
- VM_IMAGE_NAME: ${FEDORA_CACHE_IMAGE_NAME}
- CTR_FQIN: ${FEDORA_CONTAINER_FQIN}
TEST_FLAVOR: int
- TEST_ENVIRON: host-netavark
+ PRIV_NAME: rootless
clone_script: *noop # Comes from cache
gopath_cache: *ro_gopath_cache
setup_script: *setup
@@ -544,42 +542,34 @@ netavark_integration_test_task:
always: *int_logs_artifacts
-netavark_system_test_task:
- name: "Netavark system"
- alias: netavark_system_test
- skip: *tags
- only_if: *not_build
- depends_on:
- - netavark_integration_test
- gce_instance: *standardvm
- env:
- DISTRO_NV: ${FEDORA_NAME}
- _BUILD_CACHE_HANDLE: ${FEDORA_NAME}-build-${CIRRUS_BUILD_ID}
- VM_IMAGE_NAME: ${FEDORA_CACHE_IMAGE_NAME}
- CTR_FQIN: ${FEDORA_CONTAINER_FQIN}
- TEST_ENVIRON: host-netavark
- TEST_FLAVOR: sys
- clone_script: *noop # Comes from cache
- gopath_cache: *ro_gopath_cache
- setup_script: *setup
- main_script: *main
- always: *logs_artifacts
-
-
-# Execute most integration tests as a regular (non-root) user.
-rootless_integration_test_task:
- name: *std_name_fmt
- alias: rootless_integration_test
+# Run various scenarios using upstream netavark/aardvark-dns binaries
+netavark_task:
+ name: "Netavark $TEST_FLAVOR $PODBIN_NAME $PRIV_NAME"
+ alias: netavark
only_if: *not_build
skip: *branches_and_tags
depends_on:
- unit_test
- matrix: *platform_axis
gce_instance: *standardvm
- timeout_in: 90m
- env:
- TEST_FLAVOR: int
- PRIV_NAME: rootless
+ matrix:
+ - env: &nenv
+ DISTRO_NV: ${FEDORA_NAME}
+ _BUILD_CACHE_HANDLE: ${FEDORA_NAME}-build-${CIRRUS_BUILD_ID}
+ VM_IMAGE_NAME: ${FEDORA_CACHE_IMAGE_NAME}
+ CTR_FQIN: ${FEDORA_CONTAINER_FQIN}
+ TEST_FLAVOR: int
+ TEST_ENVIRON: host-netavark
+ - env:
+ <<: *nenv
+ TEST_FLAVOR: int
+ PRIV_NAME: rootless
+ - env:
+ <<: *nenv
+ TEST_FLAVOR: sys
+ - env:
+ <<: *nenv
+ TEST_FLAVOR: sys
+ PRIV_NAME: rootless
clone_script: *noop # Comes from cache
gopath_cache: *ro_gopath_cache
setup_script: *setup
@@ -795,9 +785,8 @@ success_task:
- local_integration_test
- remote_integration_test
- container_integration_test
- - netavark_integration_test
- - netavark_system_test
- rootless_integration_test
+ - netavark
- local_system_test
- remote_system_test
- rootless_system_test