2022-11-28 20:09:42 +00:00
|
|
|
#
|
|
|
|
# Copyright © 2022 Red Hat, Inc.
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
|
|
|
|
2022-11-16 00:12:10 +00:00
|
|
|
- name: Install RPM packages
|
2022-08-31 10:35:11 +00:00
|
|
|
become: yes
|
|
|
|
package:
|
2022-12-14 20:16:39 +00:00
|
|
|
update_cache: "{{ true if zuul.attempts > 1 else false }}"
|
2022-08-31 10:35:11 +00:00
|
|
|
name:
|
|
|
|
- ShellCheck
|
|
|
|
- bash-completion
|
|
|
|
- bats
|
2022-10-24 11:27:24 +00:00
|
|
|
- codespell
|
2022-11-18 17:50:20 +00:00
|
|
|
- fish
|
2022-08-31 10:35:11 +00:00
|
|
|
- flatpak-session-helper
|
2023-01-27 19:54:53 +00:00
|
|
|
- gcc
|
2022-08-31 10:35:11 +00:00
|
|
|
- golang
|
|
|
|
- golang-github-cpuguy83-md2man
|
|
|
|
- httpd-tools
|
|
|
|
- meson
|
|
|
|
- ninja-build
|
|
|
|
- openssl
|
|
|
|
- podman
|
|
|
|
- skopeo
|
|
|
|
- systemd
|
|
|
|
- udisks2
|
|
|
|
|
2022-11-15 23:44:32 +00:00
|
|
|
- name: Download Go modules
|
|
|
|
shell: |
|
|
|
|
go mod download -x
|
|
|
|
args:
|
|
|
|
chdir: '{{ zuul.project.src_dir }}/src'
|
|
|
|
|
2022-11-16 00:12:10 +00:00
|
|
|
- name: Setup Git submodules
|
2022-08-31 10:35:11 +00:00
|
|
|
shell: |
|
|
|
|
git submodule init
|
|
|
|
git submodule update
|
|
|
|
args:
|
|
|
|
chdir: '{{ zuul.project.src_dir }}'
|
|
|
|
|
|
|
|
- name: Check versions of crucial packages
|
2023-01-27 19:54:53 +00:00
|
|
|
command: rpm -qa ShellCheck codespell *kernel* gcc *glibc* golang podman conmon containernetworking-plugins containers-common container-selinux crun fuse-overlayfs flatpak-session-helper
|
2022-08-31 10:35:11 +00:00
|
|
|
|
|
|
|
- name: Show podman versions
|
|
|
|
command: podman version
|
|
|
|
|
|
|
|
- name: Show podman debug information
|
|
|
|
command: podman info --debug
|