Compare commits

..
Author SHA1 Message Date
admin 119908dfec - review cleanups 2026-08-28 13:04:44 +03:00
adminandGitLab Duo d2a4558a39 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: GitLab Duo <gitlab-duo@gitlab.com>
2026-08-28 09:48:30 +00:00
adminandGitLab Duo 605702f19f Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: GitLab Duo <gitlab-duo@gitlab.com>
2026-08-28 09:45:55 +00:00
adminandGitLab Duo d04fd97791 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: GitLab Duo <gitlab-duo@gitlab.com>
2026-08-28 09:45:28 +00:00
adminandGitLab Duo d8da3f11eb Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: GitLab Duo <gitlab-duo@gitlab.com>
2026-08-28 09:42:19 +00:00
admin 9f5573b5c9 Merge branch 'ft-3.4' into 'develop'
StreamlinEMR v3.4

See merge request signalytic/client-external/streamline/streamline-emr!27
2026-08-28 09:12:43 +00:00
admin b9c59fede7 - streamline-emr printing bugfixes
- updated version
2026-08-28 11:34:11 +03:00
admin ae235109ab - updated streamline-image tag
- updated package version
- edit source image tags
2026-05-22 10:44:14 +03:00
alec.turner 207bc3a600 Merge branch 'vm-3.2-updates' into 'develop'
Vm 3.2 updates

See merge request signalytic/client-external/streamline/streamline-emr!24
2026-05-08 18:31:05 +00:00
root 28fb0e5c53 bump image and version to 3.2; use latest hosted-app-utils 2026-05-07 16:46:56 +00:00
adminandroot fde938dc9d updated package script 2026-05-07 16:46:56 +00:00
adminandroot 52d336ae20 added clientappctl for app-dev-updates 2026-05-07 16:46:56 +00:00
admin 9010781c60 Merge branch 'ft-streamline-updates' into 'develop'
release-3.1

See merge request signalytic/client-external/streamline/streamline-emr!23
2026-05-06 09:33:26 +00:00
6 changed files with 11 additions and 43 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "streamline-emr", "name": "streamline-emr",
"org": "streamline", "org": "streamline",
"version": "3.1", "version": "3.4",
"platforms": [ "platforms": [
"linux/arm64" "linux/arm64"
] ]
+1 -1
View File
@@ -1 +1 @@
FROM streamlinehealth/streamline:signalytic FROM streamline:signalytic_latest
-1
View File
@@ -5,6 +5,5 @@ LOCATION="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
CONFIG=${CONFIG:-${LOCATION}/config.json} CONFIG=${CONFIG:-${LOCATION}/config.json}
SRC=${SRC:-${LOCATION}/src} SRC=${SRC:-${LOCATION}/src}
BUILD_DIR=${BUILD_DIR:-${LOCATION}/build-packages} BUILD_DIR=${BUILD_DIR:-${LOCATION}/build-packages}
#INSTALL_SCRIPT=${LOCATION}/install.sh
${LOCATION}/hosted-app-utils/package ${CONFIG} ${SRC} output=${BUILD_DIR} $@ ${LOCATION}/hosted-app-utils/package ${CONFIG} ${SRC} output=${BUILD_DIR} $@
+7 -38
View File
@@ -13,7 +13,7 @@ def run_script(script_path: str) -> int:
if not os.path.exists(script_path): if not os.path.exists(script_path):
print(f"Error: Script not found at {script_path}", file=sys.stderr) print(f"Error: Script not found at {script_path}", file=sys.stderr)
return 1 return 1
try: try:
subprocess.run(f'{script_path}', check=True, capture_output=True, text=True) subprocess.run(f'{script_path}', check=True, capture_output=True, text=True)
return 0 return 0
@@ -45,7 +45,8 @@ def handle_start(src_dir, install_path):
shutil.copytree(src_dir, install_path, dirs_exist_ok=True) shutil.copytree(src_dir, install_path, dirs_exist_ok=True)
# start application # start application
run_script(f'{install_path}/start') if run_script(f'{install_path}/start') != 0:
return 1
return 0 return 0
except Exception as ex: except Exception as ex:
@@ -67,7 +68,8 @@ def handle_stop(install_path: str):
try: try:
# stop application # stop application
run_script(f'{install_path}/stop') if run_script(f'{install_path}/stop') != 0:
return 1
return 0 return 0
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
@@ -95,45 +97,12 @@ def handle_restart(src_path: str, install_path: str):
return 0 return 0
def uninstall_app(args: argparse.Namespace, install_path) -> int:
"""
Uninstall application at specified installation directory.
Args:
install_path (str): Path to target installation directory.
Returns:
Int
"""
rval = 0
try:
# disable application then uninstall
disable_path = os.path.join(install_path, 'disable')
stop_path = os.path.join(install_path, 'stop')
if os.path.exists(disable_path):
subprocess.check_output(disable_path)
if os.path.exists(stop_path):
subprocess.check_output(stop_path)
# reset vols, networks
subprocess.check_output(['docker', 'compose', f'-f {install_path}/docker-compose.yml', 'down', '-v'])
if os.path.exists(install_path):
shutil.rmtree(install_path)
except Exception as e:
print(f'Exception encountered: {e}')
traceback.print_exc()
rval = 1
return rval
# script constants # script constants
utils_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) utils_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
temp_dir = tempfile.mkdtemp() temp_dir = tempfile.mkdtemp()
build_dir = os.path.join(temp_dir, 'build') build_dir = os.path.join(temp_dir, 'build')
staging_dir = os.path.join(temp_dir, 'staging') staging_dir = os.path.join(temp_dir, 'staging')
working_dir = working_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) working_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
src_path = os.path.join(working_dir, 'src') src_path = os.path.join(working_dir, 'src')
CONFIG_JSON = os.path.join(working_dir, 'config.json') CONFIG_JSON = os.path.join(working_dir, 'config.json')
@@ -202,4 +171,4 @@ def main() -> int:
return 1 return 1
if __name__ == '__main__': if __name__ == '__main__':
sys.exit(main()) sys.exit(main())
Executable → Regular
+1 -1
View File
@@ -1,6 +1,6 @@
services: services:
streamline-emr: streamline-emr:
image: registry.gitlab.com/signalytic/client-external/streamline/streamline-emr/streamline-emr/arm64:3.1 image: registry.gitlab.com/signalytic/client-external/streamline/streamline-emr/streamline-emr/arm64:3.4
container_name: streamline-emr container_name: streamline-emr
restart: unless-stopped restart: unless-stopped
volumes: volumes: