diff --git a/research_datastream/terraform/test/import_resources.sh b/research_datastream/scripts/import_resources.sh similarity index 100% rename from research_datastream/terraform/test/import_resources.sh rename to research_datastream/scripts/import_resources.sh diff --git a/research_datastream/terraform/test/docker_loginNpush.sh b/research_datastream/terraform/test/docker_loginNpush.sh deleted file mode 100755 index fe15902c..00000000 --- a/research_datastream/terraform/test/docker_loginNpush.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -DOCKERHUB_TOKEN="$(aws secretsmanager get-secret-value --secret-id docker_awiciroh_creds --region us-east-1 --query SecretString --output text | jq -r .DOCKERHUB_TOKEN)" -DOCKERHUB_USERNAME="awiciroh" - -if [ "$(echo $DOCKERHUB_TOKEN | docker login -u $DOCKERHUB_USERNAME --password-stdin)" == "Login Succeeded" ]; then - echo "Docker login successful" - /home/ec2-user/ngen-datastream/scripts/docker_builds.sh -p -s >> /home/ec2-user/ngen-datastream/docker_build_log.txt - echo "Push complete" -else - echo "Docker login failed" - exit 1 -fi \ No newline at end of file