From 2f9b0a8ad60cb4a6a031b4684aaeba27ab3a5188 Mon Sep 17 00:00:00 2001
From: David Surville <david.surville@unicaen.fr>
Date: Thu, 7 Nov 2024 15:13:44 +0100
Subject: [PATCH] =?UTF-8?q?Modification=20gitlab-ci.yml=20:=20l'image=20un?=
 =?UTF-8?q?icaen=20n'est=20absolument=20plus=20n=C3=A9cessaire=20puisque?=
 =?UTF-8?q?=20le=20but=20est=20de=20faire=20un=20simple=20"curl"?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .gitlab-ci.yml | 21 +++------------------
 1 file changed, 3 insertions(+), 18 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8a5a036..fe33a79 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,24 +1,9 @@
-image: registre.unicaen.fr:5000/unicaen-dev-php7.3-apache
-
 stages:
   - publish
-  - tests
-
-cache:
-  key: ${CI_COMMIT_REF_SLUG}
-  paths:
-    - vendor/
-
-#unit-tests:
-#  stage: tests
-#  script:
-#    - composer install --no-interaction --no-suggest --no-progress
-#    - php vendor/bin/phpunit --coverage-text=coverage.txt --colors=never
-#  artifacts:
-#    paths:
-#      - coverage.txt
 
 update-satis:
   stage: publish
+  image: python:3.9
   script:
-    - curl https://gest.unicaen.fr/packagist/update
\ No newline at end of file
+    - apt-get update && apt-get -y upgrade && apt-get -y install curl
+    - curl https://gest.unicaen.fr/packagist/update
-- 
GitLab