From 5c14a4e909443e9d955a989adf6443a3a1a4c2bd Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Fri, 24 Nov 2023 14:21:09 +0100
Subject: [PATCH] Deploy tagged version instead of latest

---
 .gitlab-ci.yml              | 2 +-
 README.md                   | 1 +
 tangostationcontrol/VERSION | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b01297c30..00329539c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -405,6 +405,6 @@ deploy_nomad:
       levant deploy \
         -address="http://${STATION}c.control.lofar:4646" \
         -var-file=infra/env.yaml \
-        -var image_tag="latest" \
+        -var image_tag="${CI_COMMIT_REF_SLUG}" \
         -var station="${STATION}" \
         infra/jobs/station/${COMPONENT}.levant.nomad
diff --git a/README.md b/README.md
index 543027892..14972a068 100644
--- a/README.md
+++ b/README.md
@@ -139,6 +139,7 @@ Next change the version in the following places:
 
 # Release Notes
 
+* 0.24.6 Bugfix: deploy tagged version instead of latest
 * 0.24.5 Bugfix: install 'tango' in Jupyter Lab again
 * 0.24.4 Apply calibration values in reverse order if subband frequencies are decreasing
 * 0.24.3 Tune python logging format and parsing
diff --git a/tangostationcontrol/VERSION b/tangostationcontrol/VERSION
index 7a8169a27..b9c51a1a9 100644
--- a/tangostationcontrol/VERSION
+++ b/tangostationcontrol/VERSION
@@ -1 +1 @@
-0.24.5
+0.24.6
-- 
GitLab