aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2021-01-09 17:16:30 -0500
committerGitHub <noreply@github.com>2021-01-09 17:16:30 -0500
commit1bd858680de4bb9dc3ffaa274eb93aec56012a0f (patch)
treef848e33e66f54d4b93f5eb2a0aebed6745a70e07 /scripts
parent49a4d7cbeaeb2bf7b9870a0a01af69253f22e6bf (diff)
downloadxesite-1bd858680de4bb9dc3ffaa274eb93aec56012a0f.tar.xz
xesite-1bd858680de4bb9dc3ffaa274eb93aec56012a0f.zip
Borgbackup nixos post (#291)
* fix the systemd notify code Signed-off-by: Christine Dodrill <me@christine.website> * remove k8s baktag Signed-off-by: Christine Dodrill <me@christine.website> * borg backup post Signed-off-by: Christine Dodrill <me@christine.website> * fix build Signed-off-by: Christine Dodrill <me@christine.website>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release.sh12
1 files changed, 0 insertions, 12 deletions
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