Difference between revisions of "Trigger"

From Fixme.ch
Jump to: navigation, search
(How to push changes)
Line 15: Line 15:
  
 
# Update the local repository
 
# Update the local repository
cd led-ctrl-2018/
+
cd ~/ctrl
 
git pull
 
git pull
  

Revision as of 20:12, 22 February 2019

Information

git clone ssh://gitolite@git.fixme.ch:1337/fixme-nice-api

How to push changes

$ ssh ubuntu@k8s.fixme.ch

# Update the local repository
cd ~/ctrl
git pull

# Build the docker image
sudo docker build -t trigger .

# Killthe pod and watch it come back
kubectl delete --namespace ctrl pod/trigger-579d7dd765-krfvk
kubectl get --namespace=ctrl pods

Archives