printerfacts/scripts/release.sh

6 lines
242 B
Bash
Raw Normal View History

2020-07-09 20:41:47 +00:00
#!/usr/bin/env nix-shell
2020-07-09 21:07:01 +00:00
#! nix-shell -p doctl -p kubectl -i bash
2020-07-09 20:41:47 +00:00
doctl kubernetes cluster kubeconfig save kubermemes
2020-07-09 21:22:09 +00:00
dhall-to-yaml-ng < ./printerfacts.dhall | kubectl apply -n apps -f -
2020-07-09 20:41:47 +00:00
kubectl rollout status -n apps deployment/printerfacts