@@ -93,14 +93,8 @@ Refreshes mosquitto bridge configuration
93
93
Execute Command cmd=sh -c '[ $(journalctl -u mosquitto | grep -c "Loading config file /etc/tedge/mosquitto-conf/c8y-bridge.conf") = 2 ]'
94
94
95
95
Update tedge version from base to current using Cumulocity
96
- ${arch } = Get Debian Architecture
97
- Execute Command mkdir -p /setup/base-version
98
- # These base-version packages are built using the ci/build_scripts/build.sh script for all 4 supported architectures
99
- # by overriding the version to a lower number using the GIT_SEMVER env variable
100
- Transfer To Device ${CURDIR } /base-version/*${arch } .deb /setup/base-version/
101
-
102
- # Install base version with self-update capability
103
- Install Packages /setup/base-version
96
+ # Install base version (the latest official release) with self-update capability
97
+ Execute Command wget -O - thin-edge.io/install.sh | sh -s
104
98
Execute Command cd /setup && test -f ./bootstrap.sh && ./bootstrap.sh --no-install --no-secure
105
99
Device Should Exist ${DEVICE_SN }
106
100
${pid_before } = Service Should Be Running tedge-agent
@@ -141,9 +135,3 @@ Create Local Repository
141
135
Set Suite Variable $NEW_VERSION_ESCAPED
142
136
Execute Command cd /opt/repository/local && dpkg-scanpackages -m . > Packages
143
137
Execute Command cmd=echo 'deb [trusted=yes] file:/opt/repository/local /' > /etc/apt/sources.list.d/tedge-local.list
144
-
145
- Install Packages
146
- [Arguments] ${packages_dir } =/setup/packages
147
-
148
- Execute Command apt-get update && apt-get install -y --no-install-recommends mosquitto
149
- Execute Command cd ${packages_dir } && dpkg -i tedge_*.deb && dpkg -i tedge*mapper*.deb && dpkg -i tedge*agent*.deb && dpkg -i tedge*watchdog*.deb && dpkg -i tedge*apt*plugin*.deb
0 commit comments