Skip to content

Commit

Permalink
Remove Fedora-36 support from the Agent
Browse files Browse the repository at this point in the history
Update default usage to F38.

PBENCH-1162
  • Loading branch information
webbnh committed May 24, 2023
1 parent 5b2e9ed commit a2d0f01
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion agent/containers/images/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ _ALL_RPMS = ${_TOOL_RPMS} ${_WORKLOAD_RPMS}
# By default we only build images for the following distributions.
_DEFAULT_DISTROS = \
centos-9 centos-8 centos-7 \
fedora-38 fedora-37 fedora-36
fedora-38 fedora-37
# rhel-9 rhel-8 rhel-7

# This Makefile produces containers named "pbench-agent-<name>-<distro>"; this
Expand Down
4 changes: 2 additions & 2 deletions agent/containers/images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ localhost/pbench-agent-all-centos-8 v0.69.3-1 9396f0337681 ...
```

There are make targets for each of the five supported distributions, CentOS 9
(`centos-9`), CentOS 8 (`centos-8`), CentOS 7 (`centos-7`), Fedora 36
(`fedora-36`), and Fedora 35 (`fedora-35`). There are also make targets for
(`centos-9`), CentOS 8 (`centos-8`), CentOS 7 (`centos-7`), Fedora 38
(`fedora-38`), and Fedora 37 (`fedora-37`). There are also make targets for
each subset of the container image kinds (`all`, `tool-data-sink`,
`tool-meister`, `tools`, `workloads`, `base`) built for each distribution, e.g.
`centos-8-tools-tagged`, `fedora-35-base-tagged`, etc.
Expand Down
2 changes: 1 addition & 1 deletion agent/rpm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CHROOTS =
# target builds them all.
RHEL_RPMS = rhel-9-rpm rhel-8-rpm rhel-7-rpm
CENTOS_RPMS = centos-9-rpm centos-8-rpm centos-7-rpm
FEDORA_RPMS = fedora-38-rpm fedora-37-rpm fedora-36-rpm
FEDORA_RPMS = fedora-38-rpm fedora-37-rpm
ALL_RPMS = ${RHEL_RPMS} ${CENTOS_RPMS} ${FEDORA_RPMS}

component = agent
Expand Down
6 changes: 1 addition & 5 deletions agent/rpm/pbench-agent.spec.j2
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,7 @@ Requires: python3-docutils
%if 0%{?fedora} != 0
# RPMs for modules in requirements.txt
Requires: python3-bottle, python3-click, python3-daemon
Requires: python3-jinja2, python3-redis, python3-sh
%endif

%if 0%{?fedora} >= 36
Requires: python3-ifaddr
Requires: python3-ifaddr python3-jinja2, python3-redis, python3-sh
%endif

# Common requirements
Expand Down
2 changes: 1 addition & 1 deletion contrib/containerized-pbench/pbench_demo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ alias pbench="$(git rev-parse --show-toplevel)"/contrib/containerized-pbench/pbe

FIOTEST=${PWD}/fiotest
export PB_AGENT_PODMAN_OPTIONS="--pull newer -v ${FIOTEST}:/fiotest:z"
export PB_AGENT_IMAGE_NAME=quay.io/pbench/pbench-agent-all-fedora-36:main
export PB_AGENT_IMAGE_NAME=quay.io/pbench/pbench-agent-all-fedora-38:main

mkdir -p "${FIOTEST}"

Expand Down
2 changes: 1 addition & 1 deletion jenkins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ include ../utils/utils.mk
# RPMs
RPMBUILD_BASEIMAGE_DEFAULTS = \
rhel-9 rhel-8 rhel-7 \
fedora-38 fedora-37 fedora-36 \
fedora-38 fedora-37 \
centos-9 centos-8 centos-7

# All Fedora images are based on Fedora 36
Expand Down
2 changes: 1 addition & 1 deletion jenkins/Pipeline.gy
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pipeline {
}
stage('Build the Pbench Agent Containers') {
environment {
PB_AGENT_DISTRO="fedora-36"
PB_AGENT_DISTRO="fedora-38"
}
steps {
sh 'buildah login -u="${PB_CI_REG_CRED_USR}" -p="${PB_CI_REG_CRED_PSW}" ${PB_CI_REGISTRY}'
Expand Down

0 comments on commit a2d0f01

Please sign in to comment.