From 9b9276b88b94d221e2b28acef07073a0d4a8d048 Mon Sep 17 00:00:00 2001 From: Romain Boman <r.boman@uliege.be> Date: Thu, 23 Jun 2022 18:07:31 +0200 Subject: [PATCH] test git archive --- .gitlab-ci.yml | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea2a7e3..3ef99c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,27 +1,30 @@ # stages: # - build -build_and_test: - image: registry.gitlab.com/rboman_docker/gmsh_python - # stage: build - script: - - cd cxxfem - - mkdir build - - cd build - - cmake -DFEM_USE_MKL=OFF .. - - make -j 4 +# build_and_test: +# image: registry.gitlab.com/rboman_docker/gmsh_python +# # stage: build +# script: +# - cd cxxfem +# - mkdir build +# - cd build +# - cmake -DFEM_USE_MKL=OFF .. +# - make -j 4 send-snapshot: image: python:3.6 script: - - if [[ ! $CI_COMMIT_TAG =~ ^v?[0-9]+\.[0-9]+ ]]; then exit 0; fi - - git clone https://gitlab.com/sbeniamine/gitlab2zenodo.git - - cd gitlab2zenodo - - python setup.py install - - cd .. - - rm -rf gitlab2zenodo + # - if [[ ! $CI_COMMIT_TAG =~ ^v?[0-9]+\.[0-9]+ ]]; then exit 0; fi + # - git clone https://gitlab.com/sbeniamine/gitlab2zenodo.git + # - cd gitlab2zenodo + # - python setup.py install + # - cd .. + # - rm -rf gitlab2zenodo # - pip install gitlab2zenodo + - du -k + - git --version - git archive --format zip --output ${CI_COMMIT_TAG#v}.zip ${CI_COMMIT_TAG} - - g2z-send -s -m .zenodo.json ${CI_COMMIT_TAG#v}.zip - only: - - tags + - ls -alF ${CI_COMMIT_TAG#v}.zip + # - g2z-send -s -m .zenodo.json ${CI_COMMIT_TAG#v}.zip +# only: +# - tags -- GitLab