-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added GH workflow to manually trigger multihost tests
Fixes: #841 Signed-off-by: Michael Engel <[email protected]>
- Loading branch information
Showing
6 changed files
with
98 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Integration tests in multi-host mode | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
ghrelease: | ||
name: Run Integration Tests on testing farm in multihost mode | ||
runs-on: ubuntu-latest | ||
container: | ||
image: quay.io/bluechi/build-base:latest | ||
|
||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: 'true' | ||
|
||
- name: Install testing farm CLI | ||
run: | | ||
python3 -m ensurepip --default-pip | ||
python3 -m pip install --upgrade pip | ||
python3 -m pip install tft-cli | ||
- name: Start Integration Tests on testing farm | ||
run: | | ||
testing-farm version | ||
TESTING_FARM_API_TOKEN=${{ secrets.TESTING_FARM_API_TOKEN }} testing-farm request \ | ||
--path tests \ | ||
--git-ref add-multihost-workflow \ | ||
--git-url https://github.com/eclipse-bluechi/bluechi.git \ | ||
--compose Fedora-Rawhide \ | ||
--plan multihost \ | ||
--pipeline-type tmt-multihost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
summary: Running Integration Tests with multiple hosts | ||
provision: | ||
- name: test-executor | ||
role: executor | ||
- name: bluechi-controller | ||
role: controller | ||
- name: bluechi-agent-1 | ||
role: agent | ||
- name: bluechi-agent-2 | ||
role: agent | ||
environment: | ||
BLUECHI_CTRL_SVC_PORT: 8420 | ||
|
||
INSTALL_EXECUTOR_DEPS: yes | ||
INSTALL_WORKER_DEPS: yes | ||
|
||
SETUP_SSH: yes | ||
SSH_USER: root | ||
SSH_PASSWORD: root | ||
|
||
LOG_LEVEL: DEBUG | ||
WITH_COVERAGE: 0 | ||
WITH_VALGRIND: 0 | ||
discover: | ||
how: fmf | ||
filter: tag:multihost | ||
where: executor | ||
prepare: | ||
- name: Prepare executor setup | ||
how: shell | ||
script: | | ||
./scripts/tests-setup.sh setup_multihost_test setup_executor | ||
where: executor | ||
- name: Prepare worker setup | ||
how: shell | ||
script: | | ||
./scripts/tests-setup.sh setup_multihost_test setup_worker | ||
where: | ||
- controller | ||
- agent | ||
execute: | ||
how: tmt | ||
report: | ||
how: junit |