From f1a61156a83fc0e465b425ed5ca44ea88ae2754c Mon Sep 17 00:00:00 2001 From: Elias Chetouane <elias.chetouane@univ-grenoble-alpes.fr> Date: Tue, 20 Feb 2024 11:42:57 +0100 Subject: [PATCH] =?UTF-8?q?Suppression=20des=20affichages=20et=20suppressi?= =?UTF-8?q?on=20du=20clone=20(non=20n=C3=A9cessaire=20car=20le=20projet=20?= =?UTF-8?q?est=20=C3=A0=20jour,=20faisant=20partie=20du=20m=C3=AAme=20grou?= =?UTF-8?q?pe).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eef785e..ebc3411 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,6 @@ actualisation_dois: - apk update - apk add git openssh script: - - date > 1-enrich-with-datacite/nb-dois.txt - pip install pandas - pip install requests - pip install matplotlib @@ -23,15 +22,9 @@ actualisation_dois: - git commit -m "Execution du pipeline. Actualisation des dois et des graphes." - git push origin HEAD:${CI_COMMIT_REF_NAME} - - pwd - cd .. - - ls - - mkdir /build2 - - cd /build2 - - git clone ${LINK_TO_CLONE} - - cd - - - cp open-research-data-monitor-back/1-enrich-with-datacite/nb-dois.txt /build2/${PATH_TO_PUSH} - - cd /build2/${PATH_TO_PUSH} + - cp open-research-data-monitor-back/1-enrich-with-datacite/nb-dois.txt ${PATH_TO_PUSH} + - cd ${PATH_TO_PUSH} - git config user.name "${GITLAB_USER_NAME}" - git config user.email "${GITLAB_USER_EMAIL}" - git remote set-url --push origin "https://PUSH_TOKEN2:${ACCESS_TOKEN2}@gricad-gitlab.univ-grenoble-alpes.fr/${PROJECT_PATH2}.git" -- GitLab