This commit is contained in:
parent
e6c19a7816
commit
0c496759ea
26
.drone.yml
26
.drone.yml
@ -28,5 +28,29 @@ steps:
|
||||
- docker build . -t ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}-"$(git rev-parse --short HEAD)"
|
||||
- docker tag ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}-"$(git rev-parse --short HEAD)" ${DRONE_REPO_NAME}:latest
|
||||
- docker tag ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}-"$(git rev-parse --short HEAD)" ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}
|
||||
#- su - hogweed1 -c "minikube image load ${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}"
|
||||
|
||||
- name: restart deployment master
|
||||
environment:
|
||||
DOCKER_TLS_VERIFY: 1
|
||||
DOCKER_HOST: "tcp://192.168.49.2:2376"
|
||||
DOCKER_CERT_PATH: "/home/hogweed1/.minikube/certs"
|
||||
MINIKUBE_ACTIVE_DOCKERD: "minikube"
|
||||
commands:
|
||||
- su - hogweed1 -c "minikube kubectl -- rollout restart -n vdk2ch deployment flask-htmx-master"
|
||||
when:
|
||||
branch:
|
||||
- master-of-slaves
|
||||
|
||||
- name: restart deployment dev
|
||||
environment:
|
||||
DOCKER_TLS_VERIFY: 1
|
||||
DOCKER_HOST: "tcp://192.168.49.2:2376"
|
||||
DOCKER_CERT_PATH: "/home/hogweed1/.minikube/certs"
|
||||
MINIKUBE_ACTIVE_DOCKERD: "minikube"
|
||||
commands:
|
||||
- su - hogweed1 -c "minikube kubectl -- rollout restart -n vdk2ch deployment flask-htmx-dev"
|
||||
when:
|
||||
branch:
|
||||
- dev
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
>
|
||||
<span class="htmx-indicator">Searching...</span>
|
||||
</div>
|
||||
+4 asdf
|
||||
+5 asdf
|
||||
|
||||
|
||||
<table class="border-collapse w-small w-2/3 mx-auto">
|
||||
|
Loading…
Reference in New Issue
Block a user