2020-05-14 08:05:00 +00:00
|
|
|
---
|
|
|
|
- hosts: all
|
|
|
|
tasks:
|
|
|
|
- name: Install requirements
|
|
|
|
become: yes
|
|
|
|
package:
|
|
|
|
use: dnf
|
|
|
|
name:
|
2021-10-24 20:02:31 +00:00
|
|
|
- ShellCheck
|
2021-02-19 16:25:08 +00:00
|
|
|
- bash-completion
|
|
|
|
- bats
|
|
|
|
- flatpak-session-helper
|
2020-05-14 08:05:00 +00:00
|
|
|
- golang
|
|
|
|
- golang-github-cpuguy83-md2man
|
2021-11-24 23:52:15 +00:00
|
|
|
- httpd-tools
|
2020-05-14 08:05:00 +00:00
|
|
|
- meson
|
2021-02-19 16:25:08 +00:00
|
|
|
- ninja-build
|
2021-11-24 23:52:15 +00:00
|
|
|
- openssl
|
2021-02-19 16:25:08 +00:00
|
|
|
- podman
|
|
|
|
- skopeo
|
2020-05-14 08:05:00 +00:00
|
|
|
- systemd
|
|
|
|
- udisks2
|
2020-07-27 13:35:17 +00:00
|
|
|
|
2021-07-21 22:03:58 +00:00
|
|
|
- name: Setup submodules
|
|
|
|
shell: |
|
|
|
|
git submodule init
|
|
|
|
git submodule update
|
|
|
|
args:
|
|
|
|
chdir: '{{ zuul.project.src_dir }}'
|
2021-02-19 16:25:08 +00:00
|
|
|
|
2020-05-14 08:05:00 +00:00
|
|
|
- name: Check versions of crucial packages
|
2021-12-01 03:25:38 +00:00
|
|
|
command: rpm -qa *kernel* *glibc* golang podman conmon containernetworking-plugins containers-common container-selinux crun runc fuse-overlayfs flatpak-session-helper
|
2020-05-14 08:05:00 +00:00
|
|
|
|
2021-02-17 12:30:06 +00:00
|
|
|
- name: Show podman versions
|
|
|
|
command: podman version
|
|
|
|
|
|
|
|
- name: Show podman debug information
|
|
|
|
command: podman info --debug
|
2021-10-22 12:21:41 +00:00
|
|
|
|
|
|
|
- name: Set up build directory
|
|
|
|
command: meson builddir
|
|
|
|
args:
|
|
|
|
chdir: '{{ zuul.project.src_dir }}'
|
|
|
|
|
|
|
|
- name: Build Toolbox
|
|
|
|
command: ninja -C builddir
|
|
|
|
args:
|
|
|
|
chdir: '{{ zuul.project.src_dir }}'
|
|
|
|
creates: builddir/src/toolbox
|
|
|
|
|
|
|
|
- name: Install Toolbox
|
|
|
|
become: yes
|
|
|
|
command: ninja -C builddir install
|
|
|
|
args:
|
|
|
|
chdir: '{{ zuul.project.src_dir }}'
|
|
|
|
creates: /usr/local/bin/toolbox
|