Skip to content

Commit 6e29e9f

Browse files
committed
removing human from human sparta
1 parent cfd6c72 commit 6e29e9f

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

tooling/sparta/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ COPY . .
4747

4848
# Declare the build argument for the Vite frontend URL
4949
ARG VITE_APP_API_URL
50-
ARG VITE_MINIMUM_SCORE
5150

5251
ENV VITE_APP_API_URL=$VITE_APP_API_URL
5352

tooling/sparta/packages/discord/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ The following environment variables are required:
6464
- `BOT_TOKEN`: Discord bot token
6565
- `BOT_CLIENT_ID`: Discord client ID
6666
- `GUILD_ID`: Discord guild (server) ID
67-
- `MINIMUM_SCORE`: Minimum score required for verification
6867
- `VITE_APP_API_URL`: API URL for verification links and API
6968
- `NODE_ENV`: Environment setting, affects command restrictions and behavior
7069

tooling/sparta/scripts/build_push_get_digest.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ ECR_REPOSITORY_URL="$2"
99
DOCKERFILE_DIR="$3" # Directory containing the Dockerfile relative to where script runs
1010
# The URL for the frontend, needed at build time by Vite
1111
VITE_APP_API_URL="$4"
12-
VITE_MINIMUM_SCORE="$6"
1312

1413
# --- Derived Variables ---
1514
# Extract repository name from URL (e.g., 123456789012.dkr.ecr.eu-west-2.amazonaws.com/sparta-development-api -> sparta-development-api)
@@ -25,8 +24,6 @@ aws ecr get-login-password --region "${AWS_REGION}" | docker login --username AW
2524
(cd "${DOCKERFILE_DIR}" && docker build \
2625
--platform linux/amd64 \
2726
--build-arg VITE_APP_API_URL="${VITE_APP_API_URL}" \
28-
--build-arg VITE_REOWN_PROJECT_ID="${VITE_REOWN_PROJECT_ID}" \
29-
--build-arg VITE_MINIMUM_SCORE="${VITE_MINIMUM_SCORE}" \
3027
-t "${ECR_REPOSITORY_URL}:latest" \
3128
-f Dockerfile .) > /dev/null
3229

tooling/sparta/terraform/main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,7 @@ data "external" "api_docker_build_push_digest" {
402402
var.aws_region,
403403
aws_ecr_repository.sparta_api.repository_url,
404404
"${path.module}/../",
405-
"http://${aws_lb.sparta_alb.dns_name}",
406-
var.minimum_score
405+
"http://${aws_lb.sparta_alb.dns_name}"
407406
] # Pass region, repo url, Dockerfile dir, frontend URL, and VITE variables
408407

409408
# Ensure ECR repository exists before running the script

0 commit comments

Comments
 (0)