mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 20:27:58 -05:00
Set build and e2e test workflows to test-and-builds environment (#49)
* Added test-and-builds environment to some workflows * Rename environment * Cleanup deployments for this branch * Testing hardcoded branch name * Testing github variables * Use github.ref_name in deployment cleanup * Add needs to cleanup * Add always() tag to job to delete deployments even when jobs fail
This commit is contained in:
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@@ -187,3 +187,15 @@ jobs:
|
||||
untested_tag_suffix: ${{ needs.store-image-name-and-tags.outputs.untested_tag_suffix }}
|
||||
image_names: '["consensys/linea-coordinator", "consensys/linea-postman", "consensys/linea-prover", "consensys/linea-traces-api-facade"]'
|
||||
secrets: inherit
|
||||
|
||||
cleanup-deployments:
|
||||
needs: [ run-e2e-tests, run-e2e-tests-geth-tracing ]
|
||||
if: ${{ always() }}
|
||||
runs-on: besu-arm64
|
||||
steps:
|
||||
- uses: strumwolf/delete-deployment-environment@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
environment: docker-build-and-e2e
|
||||
ref: ${{ github.ref_name }}
|
||||
onlyRemoveDeployments: true
|
||||
|
||||
Reference in New Issue
Block a user