Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

CI/CD: Minor

Rich Turner927da85f3dc9
diff --git a/.ci_cd/aws/ssh_revoke.sh b/.ci_cd/aws/ssh_revoke.sh
index 9e61beb04..591114da2 100644
--- a/.ci_cd/aws/ssh_revoke.sh
+++ b/.ci_cd/aws/ssh_revoke.sh
@@ -15,12 +15,6 @@ else
awsDir=./
fi
-source "${awsDir}login.sh"
-
-if [ "$AWS_ENABLED" != 'true' ]; then
- exit 1
-fi
-
if [ -n "$AWS_PROFILE" ]; then
PROFILE="--profile $AWS_PROFILE"
fi
diff --git a/.ci_cd/aws/ssh_whitelist.sh b/.ci_cd/aws/ssh_whitelist.sh
index cb127cceb..b5adda355 100644
--- a/.ci_cd/aws/ssh_whitelist.sh
+++ b/.ci_cd/aws/ssh_whitelist.sh
@@ -18,12 +18,6 @@ else
awsDir=./
fi
-source "${awsDir}login.sh"
-
-if [ "$AWS_ENABLED" != 'true' ]; then
- exit 1
-fi
-
if [ -n "$AWS_PROFILE" ]; then
PROFILE="--profile $AWS_PROFILE"
fi
diff --git a/.ci_cd/deploy.sh b/.ci_cd/deploy.sh
index 3b837e8c1..29d36cbf3 100644
--- a/.ci_cd/deploy.sh
+++ b/.ci_cd/deploy.sh
@@ -18,7 +18,6 @@
revoke_ssh () {
if [ "$SSH_GRANTED" == 'true' ]; then
if [ -n "$CIDR" ]; then
- source temp/aws/set_github-da_account_arn.sh
"temp/aws/ssh_revoke.sh" "$CIDR" "github-da"
fi
fi