Skip to content

Commit 84b3e42

Browse files
changes
1 parent 2617278 commit 84b3e42

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/test-migration.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ on:
2626
workflow_dispatch: {}
2727
jobs:
2828
test-migration:
29-
name: PE ${{ matrix.version }} ${{ matrix.architecture }} on ${{ matrix.image }} PE upgrade? ${{ matrix.new_pe_version }}
29+
name: PE ${{ matrix.version }} ${{ matrix.architecture }} on ${{ matrix.image }}
30+
PE upgrade? ${{ matrix.new_pe_version }}
3031
runs-on: ubuntu-latest
3132
env:
3233
BOLT_GEM: true
@@ -114,18 +115,15 @@ jobs:
114115
new_replica_host=$(yq '.groups[].targets[] | select(.vars.role == "new-replica") | .name // ""' spec/fixtures/litmus_inventory.yaml)
115116
new_primary_postgresql_host=$(yq '.groups[].targets[] | select(.vars.role == "new-primary-pdb-postgresql") | .name // ""' spec/fixtures/litmus_inventory.yaml)
116117
new_replica_postgresql_host=$(yq '.groups[].targets[] | select(.vars.role == "new-replica-pdb-postgresql") | .name // ""' spec/fixtures/litmus_inventory.yaml)
117-
118118
bolt_command = "bundle exec bolt plan run peadm_spec::test_migration \
119119
--inventoryfile spec/fixtures/litmus_inventory.yaml \
120120
--modulepath spec/fixtures/modules \
121121
primary_host=$primary_host \
122122
new_primary_host=new_primary_host \
123-
upgrade_version=${{ matrix.new_pe_version }} \"
124-
123+
upgrade_version=${{ matrix.new_pe_version }} "
125124
[ -n "$new_replica_host" ] && [ "$new_replica_host" != "" ] && bolt_command="$bolt_command new_replica_host=$new_replica_host"
126125
[ -n "$new_primary_postgresql_host" ] && [ "$new_primary_postgresql_host" != "" ] && bolt_command="$bolt_command new_primary_postgresql_host=$new_primary_postgresql_host"
127126
[ -n "$new_replica_postgresql_host" ] && [ "$new_replica_postgresql_host" != "" ] && bolt_command="$bolt_command new_replica_postgresql_host=$new_replica_postgresql_host"
128-
129127
bolt_command="$bolt_command --no-host-key-check"
130128
eval $bolt_command
131129
- name: Install PE on test cluster

0 commit comments

Comments
 (0)