mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-07-29 02:44:35 +00:00
Merge pull request #21 from guidograzioli/ansible_galaxy_workaround
Merge this manually to overcome failing CI. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -184,7 +184,7 @@ jobs:
|
|||||||
integration:
|
integration:
|
||||||
uses: kubevirt/kubevirt.core/.github/workflows/integration.yml@main
|
uses: kubevirt/kubevirt.core/.github/workflows/integration.yml@main
|
||||||
needs:
|
needs:
|
||||||
- unit-source
|
- linter
|
||||||
with:
|
with:
|
||||||
ansible_test_targets: >-
|
ansible_test_targets: >-
|
||||||
[
|
[
|
||||||
|
|||||||
49
.github/workflows/integration.yml
vendored
49
.github/workflows/integration.yml
vendored
@@ -128,29 +128,6 @@ jobs:
|
|||||||
|
|
||||||
name: "${{ matrix.test-target }} / py${{ matrix.python-version }} / ${{ matrix.ansible-version }}"
|
name: "${{ matrix.test-target }} / py${{ matrix.python-version }} / ${{ matrix.ansible-version }}"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout kubernetes.core repository
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
path: ${{ env.core }}
|
|
||||||
fetch-depth: "0"
|
|
||||||
if: inputs.ansible_test_targets != ''
|
|
||||||
|
|
||||||
- name: checkout ansible-collections/cloud.common
|
|
||||||
uses: ansible-network/github_actions/.github/actions/checkout_dependency@main
|
|
||||||
with:
|
|
||||||
repository: ansible-collections/cloud.common
|
|
||||||
path: ${{ env.cloud_common }}
|
|
||||||
ref: main
|
|
||||||
if: inputs.ansible_test_targets != ''
|
|
||||||
|
|
||||||
- name: checkout ansible-collections/ansible.posix
|
|
||||||
uses: ansible-network/github_actions/.github/actions/checkout_dependency@main
|
|
||||||
with:
|
|
||||||
repository: ansible-collections/ansible.posix
|
|
||||||
path: ${{ env.ansible_posix }}
|
|
||||||
ref: main
|
|
||||||
if: inputs.ansible_test_targets != ''
|
|
||||||
|
|
||||||
- name: Checkout kubevirt.core repository
|
- name: Checkout kubevirt.core repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -158,25 +135,11 @@ jobs:
|
|||||||
fetch-depth: "0"
|
fetch-depth: "0"
|
||||||
if: inputs.ansible_test_targets != ''
|
if: inputs.ansible_test_targets != ''
|
||||||
|
|
||||||
- name: install kubernetes.core collection
|
- name: install dependencies collection
|
||||||
uses: ansible-network/github_actions/.github/actions/build_install_collection@main
|
run: |
|
||||||
with:
|
ansible-galaxy collection install ansible.posix --force --pre -p /home/runner/collections
|
||||||
install_python_dependencies: true
|
ansible-galaxy collection install cloud.common --force --pre -p /home/runner/collections
|
||||||
source_path: ${{ env.core }}
|
ansible-galaxy collection install kubernetes.core --force --pre -p /home/runner/collections
|
||||||
if: inputs.ansible_test_targets != ''
|
|
||||||
|
|
||||||
- name: install cloud.common collection
|
|
||||||
uses: ansible-network/github_actions/.github/actions/build_install_collection@main
|
|
||||||
with:
|
|
||||||
install_python_dependencies: true
|
|
||||||
source_path: ${{ env.cloud_common }}
|
|
||||||
if: inputs.ansible_test_targets != ''
|
|
||||||
|
|
||||||
- name: install ansible.posix collection
|
|
||||||
uses: ansible-network/github_actions/.github/actions/build_install_collection@main
|
|
||||||
with:
|
|
||||||
install_python_dependencies: true
|
|
||||||
source_path: ${{ env.ansible_posix }}
|
|
||||||
if: inputs.ansible_test_targets != ''
|
if: inputs.ansible_test_targets != ''
|
||||||
|
|
||||||
- name: install kubevirt.core collection
|
- name: install kubevirt.core collection
|
||||||
@@ -222,3 +185,5 @@ jobs:
|
|||||||
ansible_version: ${{ matrix.ansible-version }}
|
ansible_version: ${{ matrix.ansible-version }}
|
||||||
ansible_test_targets: ${{ matrix.test-target }}
|
ansible_test_targets: ${{ matrix.test-target }}
|
||||||
if: inputs.ansible_test_targets != ''
|
if: inputs.ansible_test_targets != ''
|
||||||
|
env:
|
||||||
|
ANSIBLE_COLLECTIONS_PATHS: /home/runner/collections
|
||||||
|
|||||||
Reference in New Issue
Block a user