mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-05-05 15:15:01 +00:00
Add podman image scp option (#970)
* Add podman image scp option Fix #536 --------- Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
c2530a63f3
commit
ee52d9de78
6 changed files with 226 additions and 1 deletions
11
.github/workflows/reusable-module-test.yml
vendored
11
.github/workflows/reusable-module-test.yml
vendored
|
|
@ -27,6 +27,11 @@ on:
|
|||
required: false
|
||||
type: string
|
||||
default: '["git+https://github.com/ansible/ansible.git@stable-2.18", "git+https://github.com/ansible/ansible.git@devel"]'
|
||||
extra_collections:
|
||||
description: 'Space-separated list of extra Ansible collections to install before running tests (e.g., "ansible.posix community.general")'
|
||||
required: false
|
||||
type: string
|
||||
default: ''
|
||||
|
||||
jobs:
|
||||
test_module:
|
||||
|
|
@ -78,6 +83,12 @@ jobs:
|
|||
~/.local/bin/ansible-galaxy collection build --output-path /tmp/just_new_collection --force
|
||||
~/.local/bin/ansible-galaxy collection install -vvv --force /tmp/just_new_collection/*.tar.gz
|
||||
|
||||
- name: Install extra Ansible collections (optional)
|
||||
if: ${{ inputs.extra_collections != '' }}
|
||||
run: |
|
||||
echo "Installing extra collections: ${{ inputs.extra_collections }}"
|
||||
~/.local/bin/ansible-galaxy collection install -vvv --force ${{ inputs.extra_collections }}
|
||||
|
||||
- name: Run collection tests for ${{ inputs.module_name }}
|
||||
run: |
|
||||
export PATH=~/.local/bin:$PATH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue