Skip to content

Commit

Permalink
tests: use podman instead of ssh to speed up in PR CI
Browse files Browse the repository at this point in the history
We can now use podman instead of ssh run commands on the host. This
is quite faster so we can benefit from it in PR CI.

Reviewed-by: Dan Lavu <[email protected]>
Reviewed-by: Tomáš Halman <[email protected]>
(cherry picked from commit 8e59f77)
  • Loading branch information
pbrezina committed Aug 2, 2024
1 parent ed66919 commit 241406d
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion src/tests/system/mhc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@ domains:
hosts:
- hostname: client.test
role: client
conn:
type: podman
container: client
sudo: True
artifacts:
- /etc/sssd/*
- /var/log/sssd/*
- /var/lib/sss/db/*

- hostname: master.ldap.test
role: ldap
conn:
type: podman
container: ldap
sudo: True
config:
binddn: cn=Directory Manager
bindpw: Secret123
Expand All @@ -26,6 +34,10 @@ domains:

- hostname: master.ipa.test
role: ipa
conn:
type: podman
container: ipa
sudo: True
config:
client:
ipa_domain: ipa.test
Expand All @@ -36,7 +48,8 @@ domains:
role: ad
os:
family: windows
ssh:
conn:
type: ssh
username: [email protected]
password: vagrant
config:
Expand All @@ -46,6 +59,10 @@ domains:

- hostname: dc.samba.test
role: samba
conn:
type: podman
container: samba
sudo: True
config:
binddn: CN=Administrator,CN=Users,DC=samba,DC=test
bindpw: Secret123
Expand All @@ -56,11 +73,19 @@ domains:

- hostname: nfs.test
role: nfs
conn:
type: podman
container: nfs
sudo: True
config:
exports_dir: /dev/shm/exports

- hostname: kdc.test
role: kdc
conn:
type: podman
container: kdc
sudo: True
config:
realm: TEST
domain: test
Expand Down

0 comments on commit 241406d

Please sign in to comment.