Skip to content

Commit 5f2d851

Browse files
(PE-40222) tes inventory value and upload-artifact
1 parent 4333774 commit 5f2d851

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

.github/workflows/test-backup-restore-migration.yaml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,14 @@ jobs:
9393
echo ::group::info:inventory
9494
sed -e 's/password: .*/password: "[redacted]"/' < spec/fixtures/litmus_inventory.yaml || true
9595
echo ::endgroup::
96-
97-
# - name: Save inventory file A to an artifact
98-
# uses: actions/upload-artifact@v3
99-
# with:
100-
# name: inventory_A
101-
# path: spec/fixtures/litmus_inventory.yaml
96+
- name: Output value of A spec/fixtures/litmus_inventory.yaml
97+
run: |
98+
cat spec/fixtures/litmus_inventory.yaml
99+
- name: Save inventory file A to an artifact
100+
uses: actions/upload-artifact@v4
101+
with:
102+
name: inventory_A
103+
path: spec/fixtures/litmus_inventory.yaml
102104
- name: Install PE on test cluster
103105
timeout-minutes: 120
104106
run: |
@@ -203,9 +205,11 @@ jobs:
203205
echo ::group::info:inventory
204206
sed -e 's/password: .*/password: "[redacted]"/' < spec/fixtures/litmus_inventory.yaml || true
205207
echo ::endgroup::
206-
208+
- name: Output value B of spec/fixtures/litmus_inventory.yaml
209+
run: |
210+
cat spec/fixtures/litmus_inventory.yaml
207211
# - name: Save inventory file B to an artifact
208-
# uses: actions/upload-artifact@v3
212+
# uses: actions/upload-artifact@v4
209213
# with:
210214
# name: inventory_B
211215
# path: spec/fixtures/litmus_inventory.yaml
@@ -218,14 +222,14 @@ jobs:
218222
architecture=standard \
219223
version=2021.7.4 \
220224
console_password=${{ secrets.CONSOLE_PASSWORD }}
221-
- name: Wait for backup to finish
222-
uses: lewagon/[email protected]
223-
with:
224-
ref: ${{ github.ref }}
225-
check-name: 'Backup: Cluster A: PE 2021.7.4 extra-large-with-dr
226-
on almalinux-cloud/almalinux-8'
227-
repo-token: ${{ secrets.GITHUB_TOKEN }}
228-
wait-interval: 10
225+
# - name: Wait for restore to finish
226+
# uses: lewagon/[email protected]
227+
# with:
228+
# ref: ${{ github.ref }}
229+
# check-name: 'Backup: Cluster A: PE 2021.7.4 extra-large-with-dr
230+
# on almalinux-cloud/almalinux-8'
231+
# repo-token: ${{ secrets.GITHUB_TOKEN }}
232+
# wait-interval: 10
229233
- name: Tear down cluster B
230234
if: always()
231235
run: |-

0 commit comments

Comments
 (0)