Debian Codegraph @

ansible_collections/cisco/ios/.github/workflows/integration-libssh.yml

raw
1 ---
2 name: "Integration tests with CML - libssh 💻"
3 on:
4 pull_request_target:
5 branches: [main]
6 types:
7 - labeled
8 - opened
9 - reopened
10 - synchronize
11 paths:
12 - "plugins/**"
13 - "tests/integration/**"
14 workflow_dispatch:
15 jobs:
16 lab-create:
17 uses: ansible/ansible-content-actions/.github/workflows/cml_lab_create.yaml@main
18 with:
19 topology_path: tests/integration/labs/multi.yaml
20 # lab_title_override: "Optional custom lab title"
21 secrets:
22 virl_host: ${{ secrets.VIRL_HOST }}
23 virl_username: ${{ secrets.VIRL_USERNAME }}
24 virl_password: ${{ secrets.VIRL_PASSWORD }}
25
26 integration-tests-libssh:
27 needs: lab-create
28 strategy:
29 fail-fast: true
30 matrix:
31 ansible_version: ["stable-2.19", "stable-2.20", "stable-2.21", "milestone", "devel"]
32 uses: ansible/ansible-content-actions/.github/workflows/cml_network_integration.yaml@main
33 with:
34 ansible_version: ${{ matrix.ansible_version }}
35 lab_nodes: ${{ needs.lab-create.outputs.lab_nodes_json }}
36
37 lab-destroy:
38 if: ${{ always() }}
39 needs: integration-tests-libssh
40 uses: ansible/ansible-content-actions/.github/workflows/cml_lab_destroy.yaml@main
41 secrets:
42 virl_host: ${{ secrets.VIRL_HOST }}
43 virl_username: ${{ secrets.VIRL_USERNAME }}
44 virl_password: ${{ secrets.VIRL_PASSWORD }}