From 7d8d29a7565b3bdd2d3c54add73518c0f0322401 Mon Sep 17 00:00:00 2001
From: Giovanni La Mura <giovanni.lamura@inaf.it>
Date: Sun, 24 Dec 2023 18:54:23 +0100
Subject: [PATCH] Add confirm option to package installation commands

---
 .gitlab-ci.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aa2c22ac..024922fe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,7 +44,7 @@ building_stage:
       - cat /etc/os-release
       - echo "Updating system"
       - yum check-update
-      - yum update
+      - yum update -y
       - echo "Installing dependencies"
       - yum install -y g++ gfortran make
       - cd src
@@ -73,7 +73,7 @@ running_stage:
       - echo $CI_COMMIT_BRANCH
       - echo "Updating system"
       - yum check-update
-      - yum update
+      - yum update -y
       - echo "Installing dependencies"
       - yum install -y g++ gfortran gdb
       - cd build/sphere
@@ -106,9 +106,9 @@ testing_stage:
       - echo $CI_COMMIT_BRANCH
       - echo "Updating system"
       - yum check-update
-      - yum update
+      - yum update -y
       - echo "Installing dependencies ..."
-      - apt install -y python3
+      - yum install -y python3
       - cd build/sphere
       - export FFILE=../../test_data/sphere/OSPH
       - echo "Comparing output of SPHERE"
-- 
GitLab