Skip to content

Commit

Permalink
playbooks: Fix CI for containers#897
Browse files Browse the repository at this point in the history
  • Loading branch information
HarryMichal committed Oct 21, 2021
1 parent 2f82dac commit abd69d8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 1 addition & 7 deletions playbooks/setup-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,8 @@
args:
chdir: '{{ zuul.project.src_dir }}'

- name: Setup environment
become: yes
command:
cmd: systemd-tmpfiles --create
creates: /run/media

- name: Check versions of crucial packages
command: rpm -qa *kernel* *glibc* golang podman conmon containernetworking-plugins containers-common container-selinux crun runc fuse-overlayfs flatpak-session-helper
command: rpm -qa *kernel* *glibc* golang podman conmon containernetworking-plugins containers-common container-selinux crun runc fuse-overlayfs flatpak-session-helper patchelf

- name: Show podman versions
command: podman version
Expand Down
7 changes: 7 additions & 0 deletions playbooks/system-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
chdir: '{{ zuul.project.src_dir }}'
creates: '{{ toolbox_bin }}'

- name: Setup environment
become: yes
command:
cmd: systemd-tmpfiles --create
creates: /run/media
creates: /run/host

- name: Run system tests
command: bats --timing ./test/system
environment:
Expand Down
1 change: 1 addition & 0 deletions playbooks/unit-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- golang-github-cpuguy83-md2man
- ninja-build
- meson
- patchelf
- ShellCheck

- name: Set up build directory
Expand Down

0 comments on commit abd69d8

Please sign in to comment.