From 9a068d849d46de61904cea6ee14288be332ef2d0 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Sun, 31 Mar 2024 15:09:20 -0400 Subject: [PATCH] chore(deadcode): remove containerized cloudflared references --- pod.sh | 4 ---- services/bastion/Dockerfile-bastion-app | 3 --- services/bastion/build.sh | 5 ----- services/bastion/constants.sh | 5 ----- services/bastion/start.sh | 10 ---------- services/bastion/stop.sh | 5 ----- 6 files changed, 32 deletions(-) delete mode 100644 pod.sh delete mode 100644 services/bastion/Dockerfile-bastion-app delete mode 100644 services/bastion/build.sh delete mode 100644 services/bastion/constants.sh delete mode 100644 services/bastion/start.sh delete mode 100644 services/bastion/stop.sh diff --git a/pod.sh b/pod.sh deleted file mode 100644 index d8f0330..0000000 --- a/pod.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -podman pod exists services || true -test $? -eq 0 || podman pod create -p 8080:8080 -p 6881:6881/udp -p 6881:6881 -p 8112:8112 services diff --git a/services/bastion/Dockerfile-bastion-app b/services/bastion/Dockerfile-bastion-app deleted file mode 100644 index 7ccde6f..0000000 --- a/services/bastion/Dockerfile-bastion-app +++ /dev/null @@ -1,3 +0,0 @@ -FROM cloudflare/cloudflared:2023.10.0 - -CMD ["tunnel", "run"] diff --git a/services/bastion/build.sh b/services/bastion/build.sh deleted file mode 100644 index c3135e1..0000000 --- a/services/bastion/build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -source constants.sh - -podman build -t $APP_IMAGE_NAME:$IMAGE_VERSION -f Dockerfile-bastion-app . diff --git a/services/bastion/constants.sh b/services/bastion/constants.sh deleted file mode 100644 index abae0df..0000000 --- a/services/bastion/constants.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -export APP_NAME="bastion" -export APP_CONTAINER_NAME=$APP_NAME-app -export APP_IMAGE_NAME=$CONTAINER_NAME_PREFIX-$APP_CONTAINER_NAME diff --git a/services/bastion/start.sh b/services/bastion/start.sh deleted file mode 100644 index cb034e5..0000000 --- a/services/bastion/start.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -source constants.sh - -podman run \ - --detach \ - --pod services \ - --name $APP_CONTAINER_NAME \ - --env-file $ENV_FILE_DIR/bastion.env \ - $APP_IMAGE_NAME:$IMAGE_VERSION diff --git a/services/bastion/stop.sh b/services/bastion/stop.sh deleted file mode 100644 index 78156cb..0000000 --- a/services/bastion/stop.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -source constants.sh - -podman rm -f $APP_CONTAINER_NAME