From f98e3b25d04eeb35fefa1adb3b422fba154e0276 Mon Sep 17 00:00:00 2001
From: George Sedov <george.sedov@desy.de>
Date: Fri, 9 Jun 2023 16:33:44 +0200
Subject: [PATCH] another fix to asapo standalone

---
 .gitlab-ci.yml                               | 2 +-
 deploy/asapo_services_light/supervisord.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0f59de175..c3781b943 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -341,7 +341,7 @@ build-front:
     - /kaniko/executor --cache=false --context $CI_PROJECT_DIR/build/deploy/asapo_services --dockerfile $CI_PROJECT_DIR/build/deploy/asapo_services/Dockerfile --destination $CI_REGISTRY_IMAGE/asapo-cluster${CONTAINER_TAG} --destination $CI_REGISTRY_IMAGE/asapo-cluster${CONTAINER_TAG_LATEST}
     - cd $CI_PROJECT_DIR/build/deploy/asapo_services_light
     - ./prepare-docker.sh
-    - /kaniko/executor --cache=false --context $CI_PROJECT_DIR/build/deploy/asapo_services_light --dockerfile $CI_PROJECT_DIR/build/deploy/asapo_services_light/Dockerfile --destination $CI_REGISTRY_IMAGE/asapo-standalone${CONTAINER_TAG} --destination $CI_REGISTRY_IMAGE/asapo-standalone${CONTAINER_TAG_LATEST}
+    - /kaniko/executor --cache=false --single-snapshot --context $CI_PROJECT_DIR/build/deploy/asapo_services_light --dockerfile $CI_PROJECT_DIR/build/deploy/asapo_services_light/Dockerfile --destination $CI_REGISTRY_IMAGE/asapo-standalone${CONTAINER_TAG} --destination $CI_REGISTRY_IMAGE/asapo-standalone${CONTAINER_TAG_LATEST}
   tags:
     - kubernetes-executor
   dependencies:
diff --git a/deploy/asapo_services_light/supervisord.conf b/deploy/asapo_services_light/supervisord.conf
index 9a8b3c548..7ab869306 100644
--- a/deploy/asapo_services_light/supervisord.conf
+++ b/deploy/asapo_services_light/supervisord.conf
@@ -65,7 +65,7 @@ stdout_logfile=/tmp/receiver_out.log
 stdout_logfile_maxbytes = 0
 
 [program:monitoring]
-command=/asapo-monitoring-server monitoring.json
+command=/asapo-monitoring-server -config monitoring.json
 stderr_logfile=/tmp/monitoring_err.log
 stderr_logfile_maxbytes = 0
 stdout_logfile=/tmp/monitoring_out.log
-- 
GitLab