diff --git a/.github/workflows/build_latest_podman.yml b/.github/workflows/build_latest_podman.yml index 8bf0a80..e90bd85 100644 --- a/.github/workflows/build_latest_podman.yml +++ b/.github/workflows/build_latest_podman.yml @@ -4,14 +4,17 @@ on: schedule: - cron: "0 4 * * *" # Run daily at 4:00 UTC workflow_dispatch: # Allow manual triggering - push: - paths: - - ".github/workflows/build_latest_podman.yml" - branches: - - main pull_request: paths: - ".github/workflows/build_latest_podman.yml" + - 'ci/playbooks/containers/podman_container.yml' + - 'plugins/modules/podman_container.py' + - 'plugins/module_utils/podman/podman_container_lib.py' + - 'plugins/module_utils/podman/common.py' + - 'plugins/module_utils/podman/quadlet.py' + - 'plugins/modules/podman_container_info.py' + - 'tests/integration/targets/podman_container/**' + - 'tests/integration/targets/podman_container_idempotency/**' jobs: build-podman-from-source: @@ -322,7 +325,8 @@ jobs: -e podman_version_ubuntu=latest echo "Running podman_container tests..." - ANSIBLECMD="ansible-playbook -e rootfs_tests=false " TEST2RUN=podman_container ./ci/run_containers_tests.sh + ANSIBLECMD="ansible-playbook --skip-tags no_build_version " \ + TEST2RUN=podman_container ./ci/run_containers_tests.sh test-podman-idempotency-latest: name: Podman Idempotency test with latest Podman diff --git a/tests/integration/targets/podman_container/tasks/main.yml b/tests/integration/targets/podman_container/tasks/main.yml index 51a75a3..208e401 100644 --- a/tests/integration/targets/podman_container/tasks/main.yml +++ b/tests/integration/targets/podman_container/tasks/main.yml @@ -898,7 +898,8 @@ state: absent - name: Rootfs container tests - when: rootfs_tests | default(true) | bool + tags: + - no_build_version block: - name: Create temporary rootfs directory @@ -910,6 +911,7 @@ ansible.builtin.debug: var: container_tempdir + - name: Download alpine releases file ansible.builtin.get_url: url: "https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/{{ ansible_architecture }}/latest-releases.yaml"