Skip to content

Commit

Permalink
(PE-40377) deal with missing entries in inventory.yaml. temp remove o…
Browse files Browse the repository at this point in the history
…ther archs and PE versions.
  • Loading branch information
davidmalloncares committed Feb 24, 2025
1 parent 47b60d0 commit 6082e59
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions .github/workflows/test-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,15 @@ jobs:
strategy:
fail-fast: false
matrix:
architecture: [standard, large, extra-large, standard-with-dr, large-with-dr, extra-large-with-dr]
version: [2021.7.9, 2023.8.1, 2025.0.0]
architecture:
- standard
# - large
# - extra-large
# - standard-with-dr
# - large-with-dr
# - extra-large-with-dr
# version: [2021.7.9, 2023.8.1, 2025.0.0]
version: [2025.0.0]
image: [almalinux-cloud/almalinux-8]
steps:
- name: Checkout Source
Expand Down Expand Up @@ -100,14 +107,14 @@ jobs:
bundle exec bolt plan run peadm_spec::test_migration \
--inventoryfile spec/fixtures/litmus_inventory.yaml \
--modulepath spec/fixtures/modules \
primary_host=$(yq '.groups[].targets[] | select(.vars.role == "primary") | .name' spec/fixtures/litmus_inventory.yaml) \
replica_host=$(yq '.groups[].targets[] | select(.vars.role == "replica") | .name' spec/fixtures/litmus_inventory.yaml) \
primary_postgresql_host=$(yq '.groups[].targets[] | select(.vars.role == "primary-pdb-postgresql") | .name' spec/fixtures/litmus_inventory.yaml) \
replica_postgresql_host=$(yq '.groups[].targets[] | select(.vars.role == "replica-pdb-postgresql") | .name' spec/fixtures/litmus_inventory.yaml) \
new_primary_host=$(yq '.groups[].targets[] | select(.vars.role == "new-primary") | .name' spec/fixtures/litmus_inventory.yaml) \
new_replica_host=$(yq '.groups[].targets[] | select(.vars.role == "new-replica") | .name' spec/fixtures/litmus_inventory.yaml) \
new_primary_postgresql_host=$(yq '.groups[].targets[] | select(.vars.role == "new-primary-pdb-postgresql") | .name' spec/fixtures/litmus_inventory.yaml) \
new_replica_postgresql_host=$(yq '.groups[].targets[] | select(.vars.role == "new-replica-pdb-postgresql") | .name' spec/fixtures/litmus_inventory.yaml) \
primary_host=$(yq -r '.groups[].targets[] | select(.vars.role == "primary") | .name // ""' spec/fixtures/litmus_inventory.yaml) \
replica_host=$(yq -r '.groups[].targets[] | select(.vars.role == "replica") | .name // ""' spec/fixtures/litmus_inventory.yaml) \
primary_postgresql_host=$(yq -r '.groups[].targets[] | select(.vars.role == "primary-pdb-postgresql") | .name // ""' spec/fixtures/litmus_inventory.yaml) \
replica_postgresql_host=$(yq -r '.groups[].targets[] | select(.vars.role == "replica-pdb-postgresql") | .name // ""' spec/fixtures/litmus_inventory.yaml) \
new_primary_host=$(yq -r '.groups[].targets[] | select(.vars.role == "new-primary") | .name // ""' spec/fixtures/litmus_inventory.yaml) \
new_replica_host=$(yq -r '.groups[].targets[] | select(.vars.role == "new-replica") | .name // ""' spec/fixtures/litmus_inventory.yaml) \
new_primary_postgresql_host=$(yq -r '.groups[].targets[] | select(.vars.role == "new-primary-pdb-postgresql") | .name // ""' spec/fixtures/litmus_inventory.yaml) \
new_replica_postgresql_host=$(yq -r '.groups[].targets[] | select(.vars.role == "new-replica-pdb-postgresql") | .name // ""' spec/fixtures/litmus_inventory.yaml) \
--no-host-key-check
- name: Install PE on test cluster
timeout-minutes: 120
Expand Down

0 comments on commit 6082e59

Please sign in to comment.