Skip to content

Commit

Permalink
Save l1 deployer container logs
Browse files Browse the repository at this point in the history
  • Loading branch information
moraygrieve committed Oct 13, 2023
1 parent b5620b1 commit ff1d1ad
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/manual-deploy-testnet-l2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ jobs:
echo "L1_START_HASH=$L1START" >> $GITHUB_ENV
echo "L1_START_HASH=$L1START" >> $GITHUB_OUTPUT
- name: 'Save container logs on failure'
if: failure()
- name: 'Save L1 deployer container logs'
# Wait to make sure the logs are available in the container
run: |
sleep 60
Expand All @@ -128,9 +127,8 @@ jobs:
inlineScript: |
$(az resource list --tag ${{vars.RESOURCE_TAG_NAME}}=true --query '[]."id"' -o tsv | xargs -n1 az resource delete --verbose -g Testnet --ids) || true
- name: 'Upload container logs on failure'
- name: 'Upload L1 deployer container logs'
uses: actions/upload-artifact@v3
if: failure()
with:
name: deploy-l1-artifacts
path: |
Expand Down Expand Up @@ -329,11 +327,11 @@ jobs:
-docker_image=${{vars.L2_HARDHATDEPLOYER_DOCKER_BUILD_TAG}} \
-faucet_funds=${{vars.FAUCET_FUNDS}}
- name: 'Save container logs'
- name: 'Save L2 deployer container logs'
run: |
docker logs `docker ps -aqf "name=hh-l2-deployer"` > deploy-l2-contracts.out 2>&1
- name: 'Upload container logs'
- name: 'Upload L2 deployer container logs'
uses: actions/upload-artifact@v3
with:
name: deploy-l2-artifacts
Expand Down

0 comments on commit ff1d1ad

Please sign in to comment.