Merge pull request #15 from sparticleinc/prod
feat(CI): 添加 onprem-dev 环境的构建和部署配置
This commit is contained in:
commit
d2e6af5974
@ -193,3 +193,30 @@ workflows:
|
|||||||
branches:
|
branches:
|
||||||
only:
|
only:
|
||||||
- onprem
|
- onprem
|
||||||
|
# 为 onprem-dev 环境部署
|
||||||
|
- build-and-push:
|
||||||
|
name: build-for-onprem-dev
|
||||||
|
context:
|
||||||
|
- ecr-new
|
||||||
|
path: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
repo: catalog-agent
|
||||||
|
docker-tag: ''
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- onprem
|
||||||
|
- deploy:
|
||||||
|
name: deploy-for-onprem-dev
|
||||||
|
docker-tag: ''
|
||||||
|
path: '/home/ubuntu/cluster-for-B/onprem-dev/catalog-agent/deploy.yaml'
|
||||||
|
deploy-name: catalog-agent
|
||||||
|
deploy-namespace: onprem-dev
|
||||||
|
context:
|
||||||
|
- ecr-new
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- onprem
|
||||||
|
requires:
|
||||||
|
- build-for-onprem-dev
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user