Skip to content

Commit

Permalink
Test gather changes
Browse files Browse the repository at this point in the history
Always gather and upload artifacts and enable verbose mode for testing
the changes logging changes.

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
  • Loading branch information
nirs committed Jan 15, 2025
1 parent 1e024de commit ae86c28
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,23 +77,23 @@ jobs:
make e2e-rdr
- name: Gather environment data
if: failure()
if: always()
working-directory: test
# Gathering typically takes less than 15 seconds.
timeout-minutes: 3
run: drenv gather --directory ${{ env.GATHER_DIR }} envs/regional-dr.yaml
run: drenv gather --directory ${{ env.GATHER_DIR }} envs/regional-dr.yaml --verbose

# Tar manually to work around github limitations with special chracters (:)
# in file names, and getting much smaller archives comapred with zip (6m vs
# 12m).
# https://github.com/actions/upload-artifact/issues/546
- name: Archive gathered data
if: failure()
if: always()
working-directory: test
run: tar czf ${{ env.GATHER_DIR }}.tar.gz ${{ env.GATHER_DIR }}

- name: Upload artifacts
if: failure()
if: always()
uses: actions/upload-artifact@v4
with:
name: ${{ env.GATHER_DIR }}
Expand Down

0 comments on commit ae86c28

Please sign in to comment.