ci: Add test plan that runs CI tests and customize it for the network role

* Add 6 managed nodes to make tests faster
* Provision each test node with 2 NICs eth0 and eth1

Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
This commit is contained in:
Sergei Petrosian 2025-02-10 13:43:58 +01:00
parent 3dc49b94cf
commit 1b57520aa9
2 changed files with 111 additions and 3 deletions

View file

@ -157,7 +157,6 @@ jobs:
uses: sclorg/testing-farm-as-github-action@v3
if: contains(needs.prepare_vars.outputs.supported_platforms, matrix.platform)
with:
git_url: https://github.com/linux-system-roles/tft-tests
git_ref: main
pipeline_settings: '{ "type": "tmt-multihost" }'
environment_settings: '{ "provisioning": { "tags": { "BusinessUnit": "system_roles" } } }'
@ -180,8 +179,7 @@ jobs:
tf_scope: private
api_key: ${{ secrets.TF_API_KEY_RH }}
update_pull_request_status: false
tmt_hardware: '{ "memory": ">= ${{ needs.prepare_vars.outputs.memory }} MB", "network": [{"type": "eth", "device-name": "eth0"}, {"type": "eth", "device-name": "eth1"}] }'
tmt_plan_filter: "tag:general,network"
tmt_plan_filter: "tag:playbooks_parallel,network"
- name: Set final commit status
uses: myrotvorets/set-commit-status-action@master