From 77ae9363d646df6dc707618d6519fe952b6503c8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Laurent=20P=C3=A9tr=C3=A9?= <laurent.petre@cern.ch>
Date: Tue, 19 Sep 2023 12:06:02 +0200
Subject: [PATCH] Fix deployment job

The GitLab CI default image got updated to AlmaLinux 9 and does not
include 'rsync' anymore. Install it within the container.
---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b2c99e6..1c165c6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -36,6 +36,7 @@ deploy:
   before_script:
     - echo ${SERVICE_ACCOUNT_PASSWORD} | base64 -d | kinit -A -f ${SERVICE_ACCOUNT_USERNAME}@CERN.CH
   script:
+    - dnf install -y rsync
     - >
       rsync -av --delete
       -e "ssh -o StrictHostKeyChecking=no -o GSSAPIAuthentication=yes -o GSSAPITrustDNS=yes -o GSSAPIDelegateCredentials=yes"
-- 
GitLab