From 43c070e26cafce792aa29081f45221a4f03e7c88 Mon Sep 17 00:00:00 2001
From: Jorge Camarero Vera <jorge.camarero@cern.ch>
Date: Mon, 22 Aug 2022 15:36:03 +0200
Subject: [PATCH] Resolve "Liquibase-update test fails when CTA is update
 without oracle support"

---
 .gitlab/ci/kube-tests.gitlab-ci.yml | 2 ++
 ReleaseNotes.md                     | 1 +
 2 files changed, 3 insertions(+)

diff --git a/.gitlab/ci/kube-tests.gitlab-ci.yml b/.gitlab/ci/kube-tests.gitlab-ci.yml
index 27d17cf018..439450636f 100644
--- a/.gitlab/ci/kube-tests.gitlab-ci.yml
+++ b/.gitlab/ci/kube-tests.gitlab-ci.yml
@@ -94,6 +94,8 @@ liquibase-update:
     - if: $CI_PIPELINE_SOURCE == "schedule"
       when: on_success
       allow_failure: false
+    - if: $ORACLE_SUPPORT == "OFF"
+      when: never
   variables:
     TEST_SCRIPT: "tests/update_db_test.sh"
     EXTENDED_OPTIONS: "-O -D -t 2400 -C -u"
diff --git a/ReleaseNotes.md b/ReleaseNotes.md
index 7dfea26b67..bb3980dd7a 100644
--- a/ReleaseNotes.md
+++ b/ReleaseNotes.md
@@ -5,6 +5,7 @@
 - cta/CTA#89 - Create stubs for Enstore tape label format
 ### Bug fixes
 - cta/CTA#127 - DataTransferSession keeps busy while waiting for a mount to be required
+- cta/CTA#130 - Liquibase-update test fails when CTA is update without oracle support
 ### Continuous Integration
 - cta/CTA#7  - Use same versionlock.list file for xrootd4 and 5
 - cta/CTA#18 - CI - Testing of DB schema upgrade script
-- 
GitLab