Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
51f3b4f227
|
|||
|
006359687f
|
|||
|
f26d304890
|
|||
|
6feec48ac6
|
|||
|
ed6ed66a37
|
@@ -4,6 +4,7 @@ matrix:
|
||||
- api
|
||||
- abstraction
|
||||
- rules
|
||||
- meta_app_deployment
|
||||
|
||||
env:
|
||||
NAMESPACE: "homea2"
|
||||
@@ -22,6 +23,8 @@ steps:
|
||||
from_secret: container_registry_password
|
||||
dockerfile: apps/${APP}/Dockerfile
|
||||
when:
|
||||
matrix:
|
||||
APP: [ "ui", "api", "abstraction", "rules" ]
|
||||
event: [push, tag]
|
||||
ref:
|
||||
exclude:
|
||||
@@ -35,6 +38,8 @@ steps:
|
||||
commands:
|
||||
- kubectl create namespace ${NAMESPACE} || echo "Namespace ${NAMESPACE} already exists"
|
||||
when:
|
||||
matrix:
|
||||
APP: [ "meta_app_deployment" ]
|
||||
event: [tag]
|
||||
ref:
|
||||
exclude:
|
||||
@@ -52,8 +57,10 @@ steps:
|
||||
--from-file=layout=config/layout.yaml
|
||||
--from-file=rules=config/rules.yaml
|
||||
--from-file=scenes=config/scenes.yaml
|
||||
--namespace=${NAMESPACE}
|
||||
--namespace=$NAMESPACE
|
||||
--dry-run=client -o yaml | kubectl apply -f -
|
||||
when:
|
||||
matrix:
|
||||
APP: [ "meta_app_deployment" ]
|
||||
event: [tag]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user