add staging cicd
This commit is contained in:
parent
50cf725c93
commit
05cffe8e16
@ -135,6 +135,18 @@ workflows:
|
||||
branches:
|
||||
only:
|
||||
- prod
|
||||
- build-and-push:
|
||||
name: build-for-staging
|
||||
context:
|
||||
- ecr-new
|
||||
path: .
|
||||
dockerfile: Dockerfile
|
||||
repo: catalog-agent
|
||||
docker-tag: ''
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- staging
|
||||
- deploy:
|
||||
name: deploy-for-prod
|
||||
docker-tag: ''
|
||||
@ -149,6 +161,20 @@ workflows:
|
||||
- prod
|
||||
requires:
|
||||
- build-for-prod
|
||||
- deploy:
|
||||
name: deploy-for-staging
|
||||
docker-tag: ''
|
||||
path: '/home/ubuntu/cluster-for-B/gbase-staging/catalog-agent/deploy.yaml'
|
||||
deploy-name: catalog-agent
|
||||
deploy-namespace: gbase-staging
|
||||
context:
|
||||
- ecr-new
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- staging
|
||||
requires:
|
||||
- build-for-staging
|
||||
- docker-hub-build-push:
|
||||
name: docker-hub-build-push
|
||||
repo: gptbasesparticle/catalog-agent
|
||||
|
||||
Loading…
Reference in New Issue
Block a user