Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
a26901037d
|
|||
|
4889f5ed8b
|
@@ -8,7 +8,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
||||||
- export KUBECONFIG=/tmp/kubeconfig
|
- export KUBECONFIG=/tmp/kubeconfig
|
||||||
- kubectl create namespace ${NAMESPACE} || echo "Namespace ${NAMESPACE} already exists"
|
- kubectl create namespace $NAMESPACE || echo "Namespace $NAMESPACE already exists"
|
||||||
when:
|
when:
|
||||||
event: [tag]
|
event: [tag]
|
||||||
ref:
|
ref:
|
||||||
@@ -24,13 +24,13 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
- printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig
|
||||||
- export KUBECONFIG=/tmp/kubeconfig
|
- export KUBECONFIG=/tmp/kubeconfig
|
||||||
- kubectl create configmap home-automation-config \
|
- kubectl create configmap home-automation-config
|
||||||
--from-file=devices=config/devices.yaml \
|
--from-file=devices=config/devices.yaml
|
||||||
--from-file=groups=config/groups.yaml \
|
--from-file=groups=config/groups.yaml
|
||||||
--from-file=layout=config/layout.yaml \
|
--from-file=layout=config/layout.yaml
|
||||||
--from-file=rules=config/rules.yaml \
|
--from-file=rules=config/rules.yaml
|
||||||
--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 -
|
||||||
when:
|
when:
|
||||||
event: [tag]
|
event: [tag]
|
||||||
|
|||||||
Reference in New Issue
Block a user