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
Minor CI/CD updates
Rich Turnere57277053132
diff --git a/.ci_cd/deploy.sh b/.ci_cd/deploy.shindex 4285a0085..ea8f19efd 100644--- a/.ci_cd/deploy.sh+++ b/.ci_cd/deploy.sh@@ -10,6 +10,9 @@ if [ -f "temp/env" ]; thenset -a. ./temp/envset +x++ echo "Environment variables loaded:"+ cat temp/envfiif [ -f "ssh.env" ]; thendiff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex 667b75b3c..c734153f5 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -659,9 +659,6 @@ jobs:inputsAndSecrets = json.loads(os.getenv("INPUTS_AND_SECRETS"))failure = False-- # Make deploy script executable- os.system("chmod +x .ci_cd/deploy.sh")for deployment in deployments:dep = deployment.split(":")@@ -688,10 +685,12 @@ jobs:# Output env file if existsif os.path.exists(".ci_cd/env/.env"):+ os.system(f"echo 'Outputting .ci_cd/env/.env to temp/env'")os.system("cat .ci_cd/env/.env >> temp/env")# Output environment specific env file if existsif env is not None and env != '' and os.path.exists(f".ci_cd/env/{env}.env"):+ os.system(f"echo 'Outputting .ci_cd/env/{env}.env to temp/env'")os.system(f"cat .ci_cd/env/{env}.env >> temp/env")# Output inputs and secrets (spacial handling for SSH_KEY and SSH_PASSWORD)