mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Test systemctl
This commit is contained in:
parent
f79944f89c
commit
25c807d8a1
1 changed files with 11 additions and 5 deletions
16
.github/workflows/test-packages-action-linux.yml
vendored
16
.github/workflows/test-packages-action-linux.yml
vendored
|
@ -112,6 +112,10 @@ jobs:
|
|||
- linux-${{ inputs.arch }}
|
||||
container:
|
||||
image: ${{ inputs.container }}
|
||||
options: --privileged
|
||||
volumes:
|
||||
- /run/systemd/system:/run/systemd/system
|
||||
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
|
||||
|
||||
timeout-minutes: 120 # 2 Hours - More than this and something is wrong
|
||||
needs:
|
||||
|
@ -188,11 +192,13 @@ jobs:
|
|||
run: |
|
||||
tools --timestamps vm ssh ${{ inputs.distro-slug }} -- df -h || true
|
||||
|
||||
- name: Mock systemd
|
||||
run: |
|
||||
wget https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/refs/heads/master/files/docker/systemctl3.py
|
||||
cp systemctl3.py /usr/bin/systemctl
|
||||
chmod +x /usr/bin/systemctl
|
||||
- name: check systemd
|
||||
run: systemctl
|
||||
#- name: Mock systemd
|
||||
# run: |
|
||||
# wget https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/refs/heads/master/files/docker/systemctl3.py
|
||||
# cp systemctl3.py /usr/bin/systemctl
|
||||
# chmod +x /usr/bin/systemctl
|
||||
|
||||
- name: Show System Info
|
||||
env:
|
||||
|
|
Loading…
Add table
Reference in a new issue