Skip to content

Commit

Permalink
chore: modified build pipeline to fetch docker logs
Browse files Browse the repository at this point in the history
  • Loading branch information
VonDerBeck committed Nov 22, 2023
1 parent 66f952b commit 79cc697
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,25 @@ jobs:
distribution: temurin
cache: maven

- name: Setup Testcontainers Cloud Client
uses: atomicjar/testcontainers-cloud-setup-action@v1
with:
token: ${{ secrets.TC_CLOUD_TOKEN }}
# - name: Setup Testcontainers Cloud Client
# uses: atomicjar/testcontainers-cloud-setup-action@v1
# with:
# token: ${{ secrets.TC_CLOUD_TOKEN }}

- name: Run Maven
run: mvn -B clean verify com.mycila:license-maven-plugin:check

- name: Dump Zeebe logs
uses: jwalton/gh-docker-logs@v2
with:
images: 'ghcr.io/camunda-community-hub/zeebe-with-redis-exporter'
dest: './logs'
- name: Tar logs
if: failure()
run: tar cvzf ./logs.tgz ./logs
- name: Upload logs to GitHub
if: failure()
uses: actions/upload-artifact@master
with:
name: logs.tgz
path: ./logs.tgz

0 comments on commit 79cc697

Please sign in to comment.