Compare commits
2 Commits
0.0.24
...
0.0.25-con
| Author | SHA1 | Date | |
|---|---|---|---|
|
91ef285a6c
|
|||
|
9afa68a111
|
@@ -19,7 +19,7 @@ steps:
|
|||||||
auto_tag: true
|
auto_tag: true
|
||||||
dockerfile: apps/${APP}/Dockerfile
|
dockerfile: apps/${APP}/Dockerfile
|
||||||
when:
|
when:
|
||||||
event: [push, tag]
|
event: [tag]
|
||||||
ref:
|
ref:
|
||||||
exclude:
|
exclude:
|
||||||
- refs/tags/*-configchange
|
- refs/tags/*-configchange
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ steps:
|
|||||||
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
||||||
- export KUBECONFIG=/tmp/kubeconfig
|
- export KUBECONFIG=/tmp/kubeconfig
|
||||||
- echo "Deploying application ${APP} ($IMAGE) to namespace $NAMESPACE"
|
- echo "Deploying application ${APP} ($IMAGE) to namespace $NAMESPACE"
|
||||||
- cat deployment/${APP}/deployment.yaml | sed "s,%IMAGE%,$IMAGE,g" | kubectl apply -n $NAMESPACE -f -
|
- cat deployment/${APP}-deployment.yaml | sed "s,%IMAGE%,$IMAGE,g" | kubectl apply -n $NAMESPACE -f -
|
||||||
when:
|
when:
|
||||||
event: [tag]
|
event: [tag]
|
||||||
ref:
|
ref:
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ steps:
|
|||||||
--from-file=scenes=config/scenes.yaml
|
--from-file=scenes=config/scenes.yaml
|
||||||
--namespace=$NAMESPACE
|
--namespace=$NAMESPACE
|
||||||
--dry-run=client -o yaml | kubectl apply -f -
|
--dry-run=client -o yaml | kubectl apply -f -
|
||||||
|
- kubectl apply -f deployment/configmap.yaml -n $NAMESPACE
|
||||||
when:
|
when:
|
||||||
event: [tag]
|
event: [tag]
|
||||||
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ metadata:
|
|||||||
namespace: homea2
|
namespace: homea2
|
||||||
data:
|
data:
|
||||||
# Default environment variables
|
# Default environment variables
|
||||||
SHARED_MQTT_BROKER: "172.23.1.102"
|
SHARED_MQTT_BROKER: "emqx01-anonymous-cluster-internal.broker.svc.cluster.local"
|
||||||
SHARED_MQTT_PORT: "1883"
|
SHARED_MQTT_PORT: "1883"
|
||||||
SHARED_REDIS_HOST: "172.23.1.116"
|
SHARED_REDIS_HOST: "redis-master.redis.svc.cluster.local"
|
||||||
SHARED_REDIS_PORT: "6379"
|
SHARED_REDIS_PORT: "6379"
|
||||||
SHARED_REDIS_DB: "8"
|
SHARED_REDIS_DB: "8"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user