ecd1ced719
The option accepts a path to a file that is passed to an internal call to 'podman pull' via the '--authfile' option. This will make it easier to pull images from registries with authentication in-place. Fixes https://github.com/containers/toolbox/issues/689 https://github.com/containers/toolbox/pull/935
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
---
|
|
- hosts: all
|
|
tasks:
|
|
- name: Install requirements
|
|
become: yes
|
|
package:
|
|
use: dnf
|
|
name:
|
|
- ShellCheck
|
|
- bash-completion
|
|
- bats
|
|
- flatpak-session-helper
|
|
- golang
|
|
- golang-github-cpuguy83-md2man
|
|
- httpd-tools
|
|
- meson
|
|
- ninja-build
|
|
- openssl
|
|
- podman
|
|
- skopeo
|
|
- systemd
|
|
- udisks2
|
|
|
|
- name: Setup submodules
|
|
shell: |
|
|
git submodule init
|
|
git submodule update
|
|
args:
|
|
chdir: '{{ zuul.project.src_dir }}'
|
|
|
|
- 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
|
|
|
|
- name: Show podman versions
|
|
command: podman version
|
|
|
|
- name: Show podman debug information
|
|
command: podman info --debug
|
|
|
|
- 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
|