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