Skip to content

Commit

Permalink
Merge pull request containers#22538 from cevich/v4.9-rhel_disable_mac…
Browse files Browse the repository at this point in the history
…hine

[v4.9-rhel] CI Maintenance: Disable machine tests
  • Loading branch information
openshift-merge-bot[bot] authored May 1, 2024
2 parents 4afc71a + 41145d7 commit 1b04994
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 97 deletions.
101 changes: 4 additions & 97 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -703,107 +703,17 @@ rootless_integration_test_task:
always: *int_logs_artifacts


podman_machine_task:
name: *std_name_fmt
alias: podman_machine
# Don't create task for tags, or if using [CI:DOCS], [CI:BUILD]
# Docs: ./contrib/cirrus/CIModes.md
only_if: &not_tag_build_docs >-
$CIRRUS_TAG == '' &&
$CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' &&
$CIRRUS_CHANGE_TITLE !=~ '.*CI:BUILD.*'
depends_on:
- build
- local_integration_test
- remote_integration_test
- container_integration_test
- rootless_integration_test
ec2_instance:
image: "${VM_IMAGE_NAME}"
type: "${EC2_INST_TYPE}"
region: us-east-1
env:
EC2_INST_TYPE: "m5zn.metal" # Bare-metal instance is required
TEST_FLAVOR: "machine-linux"
PRIV_NAME: "rootless" # intended use-case
DISTRO_NV: "${FEDORA_NAME}"
VM_IMAGE_NAME: "${FEDORA_AMI}"
CI_DESIRED_NETWORK: netavark
clone_script: *get_gosrc
setup_script: *setup
main_script: *main
always: *int_logs_artifacts


podman_machine_aarch64_task:
name: *std_name_fmt
alias: podman_machine_aarch64
only_if: *not_tag_build_docs
depends_on:
- build_aarch64
- validate_aarch64
- local_integration_test
- remote_integration_test
- container_integration_test
- rootless_integration_test
ec2_instance:
<<: *standard_build_ec2_aarch64
env:
TEST_FLAVOR: "machine-linux"
EC2_INST_TYPE: c6g.metal
PRIV_NAME: "rootless" # intended use-case
DISTRO_NV: "${FEDORA_AARCH64_NAME}"
VM_IMAGE_NAME: "${FEDORA_AARCH64_AMI}"
CI_DESIRED_NETWORK: netavark
clone_script: *get_gosrc_aarch64
setup_script: *setup
main_script: *main
always: *int_logs_artifacts


podman_machine_windows_task:
name: *std_name_fmt
alias: podman_machine_windows
# TODO: These tests are new and mostly fail. Disable all failures impacting overall CI status
# until the tests, scripts, and environment stabalize.
allow_failures: $CI == $CI
# Only run for non-docs/copr PRs and non-release branch builds
# and never for tags. Docs: ./contrib/cirrus/CIModes.md
only_if: >-
$CIRRUS_TAG == '' &&
$CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' &&
$CIRRUS_BRANCH !=~ 'v[0-9\.]+-rhel' &&
$CIRRUS_BASE_BRANCH !=~ 'v[0-9\.]+-rhel'
depends_on:
- alt_build
- build
- win_installer
- local_integration_test
- remote_integration_test
- container_integration_test
- rootless_integration_test
ec2_instance:
<<: *windows
type: m5zn.metal
platform: windows
env: *winenv
matrix:
- env:
TEST_FLAVOR: "machine-wsl"
- env:
TEST_FLAVOR: "machine-hyperv"
clone_script: *winclone
main_script: ".\\repo\\contrib\\cirrus\\win-podman-machine-main.ps1"


# Always run subsequent to integration tests. While parallelism is lost
# with runtime, debugging system-test failures can be more challenging
# for some golang developers. Otherwise the following tasks run across
# the same matrix as the integration-tests (above).
local_system_test_task: &local_system_test_task
name: *std_name_fmt
alias: local_system_test
only_if: *not_tag_build_docs
only_if: &not_tag_build_docs >-
$CIRRUS_TAG == '' &&
$CIRRUS_CHANGE_TITLE !=~ '.*CI:DOCS.*' &&
$CIRRUS_CHANGE_TITLE !=~ '.*CI:BUILD.*'
depends_on: *build_unit
matrix: *platform_axis
gce_instance: *standardvm
Expand Down Expand Up @@ -1059,9 +969,6 @@ success_task:
- remote_integration_test
- container_integration_test
- rootless_integration_test
- podman_machine
- podman_machine_aarch64
- podman_machine_windows
- local_system_test
- local_system_test_aarch64
- remote_system_test
Expand Down
4 changes: 4 additions & 0 deletions test/buildah-bud/apply-podman-deltas
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ skip_if_rootless_remote "FIXME: not sure if 17788 or some other bug" \
skip "FIXME: 2023-06-13 buildah PR 4746 broke this test" \
"bud with encrypted FROM image"

# v4.9 release branch
skip "FIXME: 2024-04-30 test is broken, no clue" \
"bud and test --unsetlabel"

# END temporary workarounds that must be reevaluated periodically
###############################################################################

Expand Down

0 comments on commit 1b04994

Please sign in to comment.