fix: updated yaml files for better github storage
This commit is contained in:
parent
ad570c405a
commit
af227206f6
4 changed files with 22 additions and 0 deletions
5
.github/workflows/deploy-gcp.yml
vendored
5
.github/workflows/deploy-gcp.yml
vendored
|
|
@ -38,6 +38,11 @@ on:
|
|||
- prod
|
||||
- int
|
||||
|
||||
# Cancel in-progress runs when a new run is triggered (saves logs/storage)
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
|
||||
REGION: europe-west6 # Zurich region
|
||||
|
|
|
|||
6
.github/workflows/int_gateway-int.yml
vendored
6
.github/workflows/int_gateway-int.yml
vendored
|
|
@ -10,6 +10,11 @@ on:
|
|||
- int
|
||||
workflow_dispatch:
|
||||
|
||||
# Cancel in-progress runs when a new run is triggered (saves logs/storage)
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -50,6 +55,7 @@ jobs:
|
|||
path: |
|
||||
release.zip
|
||||
!venv/
|
||||
retention-days: 5
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
6
.github/workflows/main_gateway-prod.yml
vendored
6
.github/workflows/main_gateway-prod.yml
vendored
|
|
@ -10,6 +10,11 @@ on:
|
|||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
# Cancel in-progress runs when a new run is triggered (saves logs/storage)
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -50,6 +55,7 @@ jobs:
|
|||
path: |
|
||||
release.zip
|
||||
!venv/
|
||||
retention-days: 5
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
|
|
@ -13,6 +13,11 @@ on:
|
|||
paths:
|
||||
- 'requirements.txt'
|
||||
|
||||
# Cancel in-progress runs when a new run is triggered (saves logs/storage)
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
update-lock:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue