Skip to content

Commit

Permalink
Add test workflow for distro matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Rafael Guterres Jeffman <[email protected]>
  • Loading branch information
rjeffman committed Jan 14, 2025
1 parent ce44023 commit 06d11ce
Show file tree
Hide file tree
Showing 3 changed files with 645 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test_ansible.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: test-freeipa-matrix
run-name: Test Distro Matrx
on:
- push
- pull_request

jobs:
test-freeipa-distro-matrix:
name: Test distro matrix
runs-on: ubuntu-24.04
strategy:
matrix:
test_distro:
- fedora-latest
- fedora-rawhide
- c10s
steps:
- name: Clone the repository
uses: actions/checkout@v4

- name: Run FreeIPA tests
uses: rjeffman/[email protected]
with:
cluster_configuration: tests/environments/server_only.yaml
distro: ${{ matrix.test_distro }}
test_playbooks: >-
tests/playbooks/test_hbac.yaml
10 changes: 10 additions & 0 deletions tests/environments/server_only.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
ipa_deployments:
- name: server-only
domain: ipa.test
realm: IPA.TEST
admin_password: SomeADMINpassword
dm_password: SomeDMpassword
cluster:
servers:
- name: server
Loading

0 comments on commit 06d11ce

Please sign in to comment.