From 1bd858680de4bb9dc3ffaa274eb93aec56012a0f Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Sat, 9 Jan 2021 17:16:30 -0500 Subject: Borgbackup nixos post (#291) * fix the systemd notify code Signed-off-by: Christine Dodrill * remove k8s baktag Signed-off-by: Christine Dodrill * borg backup post Signed-off-by: Christine Dodrill * fix build Signed-off-by: Christine Dodrill --- scripts/release.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 scripts/release.sh (limited to 'scripts') diff --git a/scripts/release.sh b/scripts/release.sh deleted file mode 100755 index 4cdaf9d..0000000 --- a/scripts/release.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env nix-shell -#! nix-shell -p doctl -p kubectl -p curl -i bash -#! nix-shell -I nixpkgs=https://releases.nixos.org/nixpkgs/nixpkgs-21.03pre252431.4f3475b113c/nixexprs.tar.xz - -nix-env -if ./nix/dhall-yaml.nix -doctl kubernetes cluster kubeconfig save kubermemes -dhall-to-yaml-ng < ./site.dhall | kubectl apply -n apps -f - -kubectl rollout status -n apps deployment/christinewebsite -kubectl apply -f ./k8s/job.yml -sleep 10 -kubectl delete -f ./k8s/job.yml -curl --http1.1 -H "Authorization: $MI_TOKEN" https://mi.within.website/api/blog/refresh -XPOST -- cgit v1.2.3