From 065a7c359ec5029300bc82e7b047b2fdf61ccd7c Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Sun, 21 Dec 2025 08:57:03 -0500 Subject: [PATCH] Remove deploy stage - use Makefile instead --- .gitlab-ci.yml | 62 -------------------------------------------------- 1 file changed, 62 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c6fbe648..1d3168b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,5 @@ stages: - build - - deploy build_sshpiper: stage: build @@ -63,64 +62,3 @@ build_sshpiper: paths: - sshpiperd expire_in: 1 week - -deploy_sshpiper: - stage: deploy - tags: - - cammy.foxhop.net - only: - - main - dependencies: - - build_sshpiper - before_script: - - which systemctl || (echo "systemctl not found!" && exit 1) - script: - - echo "Deploying sshpiper to cammy..." - - # Stop existing service - - sudo /bin/systemctl stop sshpiper.service || echo "Service was not running" - - # Deploy binary - - sudo /bin/cp $CI_PROJECT_DIR/sshpiperd /opt/unsandbox/sshpiper/sshpiperd - - sudo /bin/chmod +x /opt/unsandbox/sshpiper/sshpiperd - - # Create systemd service if it doesn't exist - - | - if [ ! -f /etc/systemd/system/sshpiper.service ]; then - echo "Creating systemd service for sshpiper..." - sudo tee /etc/systemd/system/sshpiper.service > /dev/null <