mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
204141eca8 | ||
|
|
6d26a3abcf | ||
|
|
c7fdd2968a | ||
|
|
1348cc95ae | ||
|
|
4e9b4e9331 | ||
|
|
733b01c244 | ||
|
|
ea343e472e |
+2
-2
@@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "streamline-emr",
|
||||
"org": "streamline",
|
||||
"version": "2.0",
|
||||
"version": "2.1.1",
|
||||
"platforms": [
|
||||
"linux/arm64"
|
||||
],
|
||||
"images": {
|
||||
"linux/arm64": {
|
||||
"registry.gitlab.com/signalytic/client-external/streamline/streamline-emr/arm64:v2": "streamline-emr:latest"
|
||||
"registry.gitlab.com/signalytic/client-external/streamline/streamline-emr/arm64:v2.1": "streamline-emr:latest"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+9
-3
@@ -25,6 +25,7 @@ fi
|
||||
|
||||
set -e
|
||||
|
||||
NODEID=$(grep ^nodeID /etc/signalytic/identity 2>/dev/null | cut -d= -f2 | xargs)
|
||||
APP_SLUG="streamline_emr"
|
||||
ORG_SLUG="streamline"
|
||||
INSTALL_ROOT="/var/signalytic/clientapps/${ORG_SLUG}/${APP_SLUG}"
|
||||
@@ -36,9 +37,14 @@ if [ -f ${INSTALL_ROOT}/stop ]; then
|
||||
${INSTALL_ROOT}/stop
|
||||
fi
|
||||
|
||||
# reset data for any v1 installations
|
||||
if grep -q "^1." ${VERSION_FILE}; then
|
||||
echo "v1 installation detected - resetting data"
|
||||
# reset data for any version '1.*' or '2.0*' installations
|
||||
if grep -q "^1." ${VERSION_FILE} || grep -q "^2.0" ${VERSION_FILE}; then
|
||||
echo "demo installation detected (v$(cat ${VERSION_FILE})) - resetting data"
|
||||
rm -rf ${DATA_ROOT}
|
||||
|
||||
# reset data for version '2.1' installations, unless running on node STRLTEST
|
||||
elif [ "${NODEID}" != "STRLTEST" ] && grep -q "^2.1$" ${VERSION_FILE}; then
|
||||
echo "demo installation detected (v2.1) - resetting data"
|
||||
rm -rf ${DATA_ROOT}
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user