Compare commits
6 Commits
0.0.8
...
d027163087
| Author | SHA1 | Date | |
|---|---|---|---|
|
d027163087
|
|||
|
4051ca22a4
|
|||
|
2608e935b8
|
|||
|
51f3b4f227
|
|||
|
006359687f
|
|||
|
f26d304890
|
@@ -6,8 +6,6 @@ matrix:
|
|||||||
- rules
|
- rules
|
||||||
- meta_app_deployment
|
- meta_app_deployment
|
||||||
|
|
||||||
env:
|
|
||||||
NAMESPACE: "homea2"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
build:
|
build:
|
||||||
@@ -23,8 +21,6 @@ steps:
|
|||||||
from_secret: container_registry_password
|
from_secret: container_registry_password
|
||||||
dockerfile: apps/${APP}/Dockerfile
|
dockerfile: apps/${APP}/Dockerfile
|
||||||
when:
|
when:
|
||||||
matrix:
|
|
||||||
APP: [ ui, api, abstraction, rules ]
|
|
||||||
event: [push, tag]
|
event: [push, tag]
|
||||||
ref:
|
ref:
|
||||||
exclude:
|
exclude:
|
||||||
@@ -35,11 +31,10 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
KUBE_CONFIG_CONTENT:
|
KUBE_CONFIG_CONTENT:
|
||||||
from_secret: kube_config
|
from_secret: kube_config
|
||||||
|
NAMESPACE: "homea2"
|
||||||
commands:
|
commands:
|
||||||
- kubectl create namespace ${NAMESPACE} || echo "Namespace ${NAMESPACE} already exists"
|
- kubectl create namespace ${NAMESPACE} || echo "Namespace ${NAMESPACE} already exists"
|
||||||
when:
|
when:
|
||||||
matrix:
|
|
||||||
APP: meta_app_deployment
|
|
||||||
event: [tag]
|
event: [tag]
|
||||||
ref:
|
ref:
|
||||||
exclude:
|
exclude:
|
||||||
@@ -50,6 +45,7 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
KUBE_CONFIG_CONTENT:
|
KUBE_CONFIG_CONTENT:
|
||||||
from_secret: kube_config
|
from_secret: kube_config
|
||||||
|
NAMESPACE: "homea2"
|
||||||
commands:
|
commands:
|
||||||
kubectl create configmap home-automation-config
|
kubectl create configmap home-automation-config
|
||||||
--from-file=devices=config/devices.yaml
|
--from-file=devices=config/devices.yaml
|
||||||
@@ -60,7 +56,5 @@ steps:
|
|||||||
--namespace=$NAMESPACE
|
--namespace=$NAMESPACE
|
||||||
--dry-run=client -o yaml | kubectl apply -f -
|
--dry-run=client -o yaml | kubectl apply -f -
|
||||||
when:
|
when:
|
||||||
matrix:
|
|
||||||
APP: meta_app_deployment
|
|
||||||
event: [tag]
|
event: [tag]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user