printerfacts/scripts/release.sh

7 lines
264 B
Bash
Raw Normal View History

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