From f3ec53521d1f4264cd6c13bf57a0f17574fc5d91 Mon Sep 17 00:00:00 2001 From: Derek Smith Date: Thu, 14 Dec 2023 12:52:16 -0500 Subject: [PATCH] Nitpicks and update project. --- deployment/project | 2 +- deployment/up.sh | 2 +- install_incus.sh | 1 - publish.sh | 22 ---------------------- version.txt | 1 - 5 files changed, 2 insertions(+), 26 deletions(-) delete mode 100755 publish.sh delete mode 100644 version.txt diff --git a/deployment/project b/deployment/project index 318e89a..76b480a 160000 --- a/deployment/project +++ b/deployment/project @@ -1 +1 @@ -Subproject commit 318e89afe5d6ba506cf97c719537d1ecb3583c46 +Subproject commit 76b480a0535e228d8e8fd96abf606bf997ccacf6 diff --git a/deployment/up.sh b/deployment/up.sh index 30c086f..098e7bc 100755 --- a/deployment/up.sh +++ b/deployment/up.sh @@ -373,7 +373,7 @@ for VIRTUAL_MACHINE in $VMS_TO_PROVISION; do MAC_ADDRESS_TO_PROVISION="$LNPLAY_SERVER_MAC_ADDRESS" elif [ "$VIRTUAL_MACHINE" = "$BASE_IMAGE_VM_NAME" ]; then - export FQDN="$BASE_IMAGE_VM_NAME" + FQDN="$BASE_IMAGE_VM_NAME" else echo "ERROR: VIRTUAL_MACHINE not within allowable bounds." exit diff --git a/install_incus.sh b/install_incus.sh index 4b1b3fa..67ba551 100755 --- a/install_incus.sh +++ b/install_incus.sh @@ -67,4 +67,3 @@ Signed-By: /etc/apt/keyrings/zabbly.asc EOF' apt-get update apt-get install incus -y --no-install-recommends - diff --git a/publish.sh b/publish.sh deleted file mode 100755 index c9139ed..0000000 --- a/publish.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -set -eu -cd "$(dirname "$0")" - -# this script will tag the repo then push it to origin -TAG_NAME="$(head -n 1 ./version.txt)" -TAG_MESSAGE="Creating tag $TAG_NAME on $(date)." - -# create the git tag. -if ! git tag | grep -q "$TAG_NAME"; then - git tag -a "$TAG_NAME" -m "$TAG_MESSAGE" -s -fi - -## note this will only work if you have permissions to update HEAD on https://git.sovereign-stack.org/ss/sovereign-stack.git -RESPONSE= -read -r -p " Would you like to push this to the main Sovereign Stack repo? (y) ": RESPONSE -if [ "$RESPONSE" = "y" ]; then - # optional; push to remote - git push --set-upstream origin --all - git push --set-upstream origin --tags -fi diff --git a/version.txt b/version.txt deleted file mode 100644 index ab7a53b..0000000 --- a/version.txt +++ /dev/null @@ -1 +0,0 @@ -23.08 \ No newline at end of file