From 58a7d96bcb09856d417e786aedccfdc43026bac7 Mon Sep 17 00:00:00 2001
From: Laurent Lecluse <laurent.lecluse@unicaen.fr>
Date: Mon, 7 Oct 2024 09:58:22 +0200
Subject: [PATCH] Update .gitlab-ci.yml
---
.gitlab-ci.yml | 22 +++-------------------
1 file changed, 3 insertions(+), 19 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e90b476..40c3586 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,25 +1,9 @@
-image: registre.unicaen.fr:5000/unicaen-dev-php8.0-apache
-
stages:
-- tests
- publish
-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
- cache: []
+ image: python:3.9
script:
- - curl https://gest.unicaen.fr/packagist/update
+ - apt-get update && apt-get -y upgrade && apt-get -y install curl
+ - curl https://gest.unicaen.fr/packagist/update
\ No newline at end of file
--
GitLab