cb4e5dd52d
Ansible's built-in 'package' module doesn't show any details when installing the RPMs. All that can be seen is: TASK [Install RPM packages] fedora-rawhide | changed Therefore, there's no way to know what version of the packages got installed. In this case, not knowing the go-md2man(1) version being used by the CI makes it difficult to know why the tests are failing on Fedora Rawhide and Fedora 39 with: not ok 3 help: Command 'help' in 177ms # (from function `assert_line' in file test/system/libs/bats-assert/src/assert.bash, line 479, # in test file test/system/002-help.bats, line 48) # `assert_line --index 0 --partial "toolbox(1)"' failed # /usr/bin/man # # -- line does not contain substring -- # index : 0 # substring : toolbox(1) # line : troff:<standard input>:33: warning: cannot select font 'C' # -- # It could be either because the CI is still using an older version of go-md2man(1) [1,2], or that there's some other problem. [1] Fedora golang-github-cpuguy83-md2man commit 117806d50e401c19 https://src.fedoraproject.org/rpms/golang-github-cpuguy83-md2man/c/117806d50e401c19 https://src.fedoraproject.org/rpms/golang-github-cpuguy83-md2man/pull-request/3 [2] go-md2man commit d85280db9b54b574 https://github.com/cpuguy83/go-md2man/commit/d85280db9b54b574 https://github.com/cpuguy83/go-md2man/issues/99 https://github.com/containers/toolbox/pull/1386
63 lines
1.8 KiB
YAML
63 lines
1.8 KiB
YAML
#
|
|
# 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.
|
|
#
|
|
|
|
- name: Install RPM packages
|
|
become: yes
|
|
package:
|
|
update_cache: "{{ true if zuul.attempts > 1 else false }}"
|
|
name:
|
|
- ShellCheck
|
|
- bash-completion
|
|
- bats
|
|
- codespell
|
|
- fish
|
|
- flatpak-session-helper
|
|
- gcc
|
|
- golang
|
|
- golang-github-cpuguy83-md2man
|
|
- httpd-tools
|
|
- meson
|
|
- ninja-build
|
|
- openssl
|
|
- podman
|
|
- shadow-utils-subid-devel
|
|
- skopeo
|
|
- systemd
|
|
- udisks2
|
|
|
|
- name: Download Go modules
|
|
command: go mod download -x
|
|
args:
|
|
chdir: '{{ zuul.project.src_dir }}/src'
|
|
|
|
- name: Initialize Git submodules
|
|
command: git submodule init
|
|
args:
|
|
chdir: '{{ zuul.project.src_dir }}'
|
|
|
|
- name: Update Git submodules
|
|
command: git submodule update
|
|
args:
|
|
chdir: '{{ zuul.project.src_dir }}'
|
|
|
|
- name: Check versions of crucial packages
|
|
command: rpm -qa ShellCheck codespell *kernel* gcc *glibc* shadow-utils-subid-devel golang golang-github-cpuguy83-md2man podman conmon containernetworking-plugins containers-common container-selinux crun fuse-overlayfs flatpak-session-helper skopeo
|
|
|
|
- name: Show podman versions
|
|
command: podman version
|
|
|
|
- name: Show podman debug information
|
|
command: podman info --debug
|