Skip to content

Commit

Permalink
Bump ansible version compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mdellweg committed Jan 14, 2025
1 parent 1284d5b commit 0fc96e2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
python-version: "3.11"
- name: "Install Ansible"
run: |
pip install ansible-core~=2.17
pip install ansible-core~=2.18
- name: "Install dependencies"
run: |
make test-setup
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
- python: "3.11"
ansible: "stable-2.17"
- python: "3.12"
ansible: "stable-2.18"
- python: "3.13"
ansible: "devel"
image_tag: "nightly"
lower_bounds: true
Expand Down
2 changes: 1 addition & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ plugin_routing:
deprecation:
removal_version: "0.1.0"
warning_text: "Use pulp.squeezer.file_content instead."
requires_ansible: ">=2.15.0,<2.18"
requires_ansible: ">=2.15.0,<2.19"
...
11 changes: 10 additions & 1 deletion tests/run_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,16 @@ else
SELINUX=""
fi;

"${CONTAINER_RUNTIME}" run ${RM:+--rm} --env S6_KEEP_ENV=1 ${PULP_API_ROOT:+--env PULP_API_ROOT} --detach --name "pulp-ephemeral" --volume "${BASEPATH}/settings:/etc/pulp${SELINUX:+:Z}" --publish "8080:80" "ghcr.io/pulp/pulp:${IMAGE_TAG}"
"${CONTAINER_RUNTIME}" \
run ${RM:+--rm} \
--env S6_KEEP_ENV=1 \
${PULP_API_ROOT:+--env PULP_API_ROOT} \
--detach \
--name "pulp-ephemeral" \
--volume "${BASEPATH}/settings:/etc/pulp${SELINUX:+:Z}" \
--publish "8080:80" \
--network "bridge" \
"ghcr.io/pulp/pulp:${IMAGE_TAG}"

# shellcheck disable=SC2064
trap "${CONTAINER_RUNTIME} stop pulp-ephemeral" EXIT
Expand Down

0 comments on commit 0fc96e2

Please sign in to comment.