printerfacts/scripts/release.sh

7 lines
264 B
Bash
Executable File

#!/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