From 34abd6afa44c620a56416bd423a2438a09bd1ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 4 Sep 2020 02:40:24 +0200 Subject: Migrate to morph as a replacement to nixops The deployment tasks are now independent of any state --- nixops/scripts/setup | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'nixops/scripts/setup') diff --git a/nixops/scripts/setup b/nixops/scripts/setup index 22f43ce..e161e43 100755 --- a/nixops/scripts/setup +++ b/nixops/scripts/setup @@ -2,8 +2,6 @@ set -euo pipefail -MAKEFILE_DIR="$( cd "$( dirname $( dirname "${BASH_SOURCE[0]}" ))" >/dev/null 2>&1 && pwd )" - if ! which nix 2>/dev/null >/dev/null; then cat <<-EOF nix is needed, please install it: @@ -62,20 +60,6 @@ if nix show-config --json | jq -e '.sandbox.value == "true"' >/dev/null; then read y fi -if ! make -C $MAKEFILE_DIR deployment_is_set 2>/dev/null >/dev/null; then - cat <<-EOF - Importing deployment file into nixops: - Continue? [y/N] - EOF - read y - if [ "$y" = "y" -o "$y" = "Y" ]; then - make -C $MAKEFILE_DIR pull_deployment - else - echo "Aborting" - exit 1 - fi -fi - cat <<-EOF All set up. Please make sure you’re using make commands when deploying -- cgit v1.2.3