Remove project git clone logic in lie of submodule
This commit is contained in:
parent
d49f3f58b6
commit
f41601ad04
@ -5,18 +5,6 @@ cd "$(dirname "$0")"
|
||||
|
||||
. ./target.sh
|
||||
|
||||
# # As part of the install script, we pull down any other sovereign-stack git repos
|
||||
# PROJECTS_SCRIPTS_REPO_URL="https://git.sovereign-stack.org/ss/project"
|
||||
# PROJECTS_SCRIPTS_PATH="$(pwd)/deployment/project"
|
||||
# if [ ! -d "$PROJECTS_SCRIPTS_PATH" ]; then
|
||||
# git clone "$PROJECTS_SCRIPTS_REPO_URL" "$PROJECTS_SCRIPTS_PATH"
|
||||
# else
|
||||
# cd "$PROJECTS_SCRIPTS_PATH" || exit 1
|
||||
# git -c advice.detachedHead=false pull origin main
|
||||
# git checkout "$TARGET_PROJECT_GIT_COMMIT"
|
||||
# cd - || exit 1
|
||||
# fi
|
||||
|
||||
# check if there are any uncommited changes. It's dangerous to
|
||||
# alter production systems when you have commits to make or changes to stash.
|
||||
if git update-index --refresh | grep -q "needs update"; then
|
||||
|
14
install.sh
14
install.sh
@ -247,17 +247,3 @@ fi
|
||||
if [ "$ADDED_COMMAND" = true ]; then
|
||||
echo "NOTICE! You need to run 'source ~/.bashrc' before continuing. After that, type 'ss-manage' to enter your management environment."
|
||||
fi
|
||||
|
||||
. ./deployment/target.sh
|
||||
|
||||
# As part of the install script, we pull down any other sovereign-stack git repos
|
||||
PROJECTS_SCRIPTS_REPO_URL="https://git.sovereign-stack.org/ss/project"
|
||||
PROJECTS_SCRIPTS_PATH="$(pwd)/deployment/project"
|
||||
if [ ! -d "$PROJECTS_SCRIPTS_PATH" ]; then
|
||||
git clone "$PROJECTS_SCRIPTS_REPO_URL" "$PROJECTS_SCRIPTS_PATH"
|
||||
else
|
||||
cd "$PROJECTS_SCRIPTS_PATH"
|
||||
git -c advice.detachedHead=false pull origin main
|
||||
git checkout "$TARGET_PROJECT_GIT_COMMIT"
|
||||
cd -
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user