Skip to content

Commit 1758f08

Browse files
committed
(maint) Add PEADM support for PE 2025.1
1 parent 66567dc commit 1758f08

13 files changed

+25
-15
lines changed

Diff for: .github/workflows/test-add-compiler-matrix.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
architecture: [standard, large, extra-large]
39-
version: [2021.7.9, 2023.8.0]
39+
version: [2021.7.9, 2023.8.0, 2025.1.0]
4040
image: [almalinux-cloud/almalinux-8]
4141
steps:
4242
- name: Checkout Source

Diff for: .github/workflows/test-add-compiler.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
--modulepath spec/fixtures/modules \
8585
architecture=${{ matrix.architecture }} \
8686
version=${{ matrix.version }} \
87-
console_password=${{ secrets.CONSOLE_PASSWORD }
87+
console_password=${{ secrets.CONSOLE_PASSWORD }}
8888
- name: Run add_compilers plan
8989
timeout-minutes: 50
9090
run: |

Diff for: .github/workflows/test-add-replica-matrix.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
architecture: [standard, standard-with-dr, large, extra-large]
39-
version: [2023.8.0]
39+
version: [2023.8.0, 2025.1.0]
4040
image: [almalinux-cloud/almalinux-8]
4141
steps:
4242
- name: Checkout Source

Diff for: .github/workflows/test-backup-restore.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ on:
2424
version:
2525
description: PE version to install
2626
required: true
27-
default: 2023.5.0
27+
default: 2025.1.0
2828
ssh-debugging:
2929
description: Boolean; whether or not to pause for ssh debugging
3030
required: true
3131
default: 'false'
3232
jobs:
3333
backup-restore-test:
34-
name: "Backup, break and restore cluster: PE ${{ github.event.inputs.version || '2023.5.0' }}\
34+
name: "Backup, break and restore cluster: PE ${{ github.event.inputs.version || '2025.1.0' }}\
3535
\ ${{ github.event.inputs.architecture || 'extra-large' }} on ${{ github.event.inputs.image || 'almalinux-cloud/almalinux-8' }}"
3636
runs-on: ubuntu-20.04
3737
env:

Diff for: .github/workflows/test-failover.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
version_to_upgrade:
1515
description: PE version to upgrade to
1616
required: false
17-
default: 2021.7.9
17+
default: 2023.8.0
1818
ssh-debugging:
1919
description: Boolean; whether or not to pause for ssh debugging
2020
required: true

Diff for: .github/workflows/test-fips-install-matrix.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fail-fast: false
3838
matrix:
3939
architecture: [standard-with-dr, large, extra-large-with-dr]
40-
version: [2019.8.12, 2021.7.9, 2023.8.0]
40+
version: [2019.8.12, 2021.7.9, 2023.8.0, 2025.1.0]
4141
image: [rhel-8]
4242
fips: [enable]
4343
steps:

Diff for: .github/workflows/test-install-matrix.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
architecture: [standard-with-dr, large, extra-large-with-dr]
39-
version: [2019.8.12, 2021.7.9, 2023.8.0]
39+
version: [2019.8.12, 2021.7.9, 2023.8.0, 2025.1.0]
4040
image: [almalinux-cloud/almalinux-8]
4141
steps:
4242
- name: Checkout Source

Diff for: .github/workflows/test-install-rhel-9.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
architecture: [standard-with-dr, large, extra-large-with-dr]
39-
version: [2021.7.9, 2023.8.0]
39+
version: [2021.7.9, 2023.8.0, 2025.1.0]
4040
image: [rhel-9]
4141
steps:
4242
- name: Checkout Source

Diff for: .github/workflows/test-legacy-compilers.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
--modulepath spec/fixtures/modules \
100100
architecture=large-with-dr \
101101
console_password=${{ secrets.CONSOLE_PASSWORD }} \
102-
version=2023.7.0
102+
version=2025.1.0
103103
- name: Wait as long as the file ${HOME}/pause file is present
104104
if: ${{ always() && github.event.inputs.ssh-debugging == 'true' }}
105105
run: |

Diff for: .github/workflows/test-legacy-upgrade.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
legacy_compiler=$(yq '.groups[].targets[] | select(.vars.role == "compiler") | .name' spec/fixtures/litmus_inventory.yaml | sed -n 2p)
9999
replica=$(yq '.groups[].targets[] | select(.vars.role == "replica") | .name' spec/fixtures/litmus_inventory.yaml)
100100
hash_random=$(LC_ALL=C tr -dc 'A-Za-z0-9!#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' </dev/urandom | head -c 30; echo)
101-
echo -n '{ "download_mode": "direct", "primary_host": "'$primary'", "replica_host": "'$replica'", "legacy_compilers": ["'$legacy_compiler'"], "compiler_hosts": ["'$compiler'"], "version": "2023.7.0", "console_password": "'$hash_random'" }' > params.json
101+
echo -n '{ "download_mode": "direct", "primary_host": "'$primary'", "replica_host": "'$replica'", "legacy_compilers": ["'$legacy_compiler'"], "compiler_hosts": ["'$compiler'"], "version": "2025.1.0", "console_password": "'$hash_random'" }' > params.json
102102
- name: Install PE with legacy compilers
103103
timeout-minutes: 120
104104
run: |

Diff for: .github/workflows/test-upgrade-matrix.yaml

+12-2
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,24 @@ jobs:
3737
fail-fast: false
3838
matrix:
3939
architecture: [standard, extra-large-with-dr]
40-
version: [2019.8.12, 2021.7.9]
41-
version_to_upgrade: [2021.7.9, 2023.8.0]
40+
version: [2019.8.12, 2021.7.9, 2023.8.0]
41+
version_to_upgrade: [2021.7.9, 2023.8.0, 2025.1.0]
4242
image: [almalinux-cloud/almalinux-8]
4343
download_mode: [direct]
4444
exclude:
4545
- version: 2019.8.12
4646
version_to_upgrade: 2023.8.0
47+
- version: 2019.8.12
48+
version_to_upgrade: 2025.1.0
49+
- version: 2021.7.9
50+
version_to_upgrade: 2021.7.9
4751
- version: 2021.7.9
52+
version_to_upgrade: 2025.1.0
53+
- version: 2023.8.0
54+
version_to_upgrade: 2023.8.0
55+
- version: 2023.8.0
56+
version_to_upgrade: 2025.1.0
57+
- version: 2023.8.0
4858
version_to_upgrade: 2021.7.9
4959
steps:
5060
- name: Start SSH session

Diff for: functions/assert_supported_pe_version.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function peadm::assert_supported_pe_version (
66
Boolean $permit_unsafe_versions = false,
77
) >> Struct[{ 'supported' => Boolean }] {
88
$oldest = '2019.7'
9-
$newest = '2023.8'
9+
$newest = '2025.1'
1010
$supported = ($version =~ SemVerRange(">= ${oldest} <= ${newest}"))
1111

1212
if $permit_unsafe_versions {

Diff for: spec/functions/assert_supported_pe_version_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
end
2020

2121
it 'accepts the newest supported version' do
22-
is_expected.to run.with_params('2021.7.9').and_return({ 'supported' => true })
22+
is_expected.to run.with_params('2025.1.0').and_return({ 'supported' => true })
2323
end
2424

2525
it 'accepts a version in the middle' do

0 commit comments

Comments
 (0)