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
|
- prod
|
||||||
- int
|
- 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:
|
env:
|
||||||
PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
|
PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}
|
||||||
REGION: europe-west6 # Zurich region
|
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
|
- int
|
||||||
workflow_dispatch:
|
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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -50,6 +55,7 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
release.zip
|
release.zip
|
||||||
!venv/
|
!venv/
|
||||||
|
retention-days: 5
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
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
|
- main
|
||||||
workflow_dispatch:
|
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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -50,6 +55,7 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
release.zip
|
release.zip
|
||||||
!venv/
|
!venv/
|
||||||
|
retention-days: 5
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,11 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- 'requirements.txt'
|
- '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:
|
jobs:
|
||||||
update-lock:
|
update-lock:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue