100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Fix for GH #2006, debug AWS logout/login (#2115)
Eric Bariauxad548e7c3533
diff --git a/.ci_cd/aws/login.sh b/.ci_cd/aws/login.shindex 60e44eb35..244b960fa 100644--- a/.ci_cd/aws/login.sh+++ b/.ci_cd/aws/login.sh@@ -15,10 +15,12 @@ if [ -z "$AWS_REGION" ]; thenfiif [ -n "$AWS_ACCESS_KEY_ID" ]; then+ echo "Setting AWS_ACCESS_KEY_ID"aws configure --profile github set aws_access_key_id $AWS_ACCESS_KEY_IDfiif [ -n "$AWS_SECRET_ACCESS_KEY" ]; then+ echo "Setting AWS_SECRET_ACCESS_KEY"aws configure --profile github set aws_secret_access_key $AWS_SECRET_ACCESS_KEYfidiff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex b6b0e88d8..6598a283a 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -844,6 +844,7 @@ jobs:# Clean-up AWS credentials related variable that might have been set by Configure AWS Credentials for ECR uploaddel os.environ["AWS_ACCESS_KEY_ID"]del os.environ["AWS_SECRET_ACCESS_KEY"]+ del os.environ["AWS_SESSION_TOKEN"]# Determine deploy script to usedeployScript = ".ci_cd/deploy.sh"