Skip to content

Commit

Permalink
[cirrus] bump foreman versions
Browse files Browse the repository at this point in the history
Bump tested foreman versions - use current latest (3.7) on Ubuntu and
CentOS and previous 3.5 and 3.3 to match supported Satellite versions.

This requires enabling proper module streams for foreman-3.3 as well.

Signed-off-by: Pavel Moravec <[email protected]>
  • Loading branch information
pmoravec authored and TurboTurtle committed Oct 10, 2023
1 parent c9de414 commit 362bbb8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,18 +230,18 @@ report_foreman_task:
matrix:
- env:
<<: *centos8
FOREMAN_VER: "2.5"
FOREMAN_VER: "3.3"
- env:
<<: *centos8
FOREMAN_VER: "3.1"
FOREMAN_VER: "3.5"
- env:
<<: *centos8
FOREMAN_VER: "3.4"
FOREMAN_VER: "3.7"
- env:
PROJECT: ${DEBIAN_PROJECT}
VM_IMAGE_NAME: ${DEBIAN_IMAGE_NAME}
BUILD_NAME: ${DEBIAN_NAME}
FOREMAN_VER: "3.4"
FOREMAN_VER: "3.7"
setup_script: *setup
foreman_setup_script: ./tests/test_data/foreman_setup.sh
main_script: PYTHONPATH=tests/ avocado run -p TESTLOCAL=true --test-runner=runner -t foreman tests/product_tests/foreman/
Expand Down
2 changes: 1 addition & 1 deletion tests/test_data/foreman_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if grep -iq centos /etc/os-release; then
else
dnf -y install https://yum.puppet.com/puppet6-release-el-8.noarch.rpm
dnf -y install https://yum.theforeman.org/releases/$FOREMAN_VER/el8/x86_64/foreman-release.rpm
dnf -y module enable ruby:2.7
dnf -y module enable ruby:2.7 postgresql:12 foreman:el8
fi
dnf -y install foreman-installer && SUCCESS=1
elif grep -iq debian /etc/os-release; then
Expand Down

0 comments on commit 362bbb8

Please sign in to comment.