From 057c21b5a216e632de56929aa58af6341416cf87 Mon Sep 17 00:00:00 2001
From: Rafal Mucha <rafal.mucha@cern.ch>
Date: Wed, 21 Aug 2024 16:39:26 +0200
Subject: [PATCH] NXCALS-7429 Improve pipeline

---
 .ci/deploy.yml    | 11 +++++++----
 gradle.properties |  2 +-
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/.ci/deploy.yml b/.ci/deploy.yml
index 90b5d84f0f..601750e06b 100644
--- a/.ci/deploy.yml
+++ b/.ci/deploy.yml
@@ -4,11 +4,14 @@ include:
 workflow:
   name: "Deploy $VERSION to $ANSIBLE_INVENTORY"
   rules:
-    - when: always
+    - if: $PERFORMANCE_TESTS == "true"
+      variables:
+        PLAYBOOKS: nxcals-full-perf-install-with-sudo.yml
+    - if: $PERFORMANCE_TESTS != "true"
+      variables:
+        PLAYBOOKS: nxcals-full-install-with-sudo.yml
 
-deploy-infrastructure:
+deploy:
   stage: deploy
   extends:
     - .local_ansible
-  variables:
-    PLAYBOOKS: nxcals-full-install-with-sudo.yml
\ No newline at end of file
diff --git a/gradle.properties b/gradle.properties
index 807788c6ec..4c01fe781e 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,7 +1,7 @@
 #
 # Copyright (c) 2016 European Organisation for Nuclear Research (CERN), All Rights Reserved.
 #
-version=1.5.18-SNAPSHOT
+version=1.5.19-SNAPSHOT
 systemProp.http.proxyHost=photons-resources.cern.ch
 systemProp.http.proxyPort=8888
 systemProp.http.nonProxyHosts=*.cern.ch|localhost
-- 
GitLab