Skip to content
Snippets Groups Projects
Commit 2fa88be2 authored by Boman Romain's avatar Boman Romain
Browse files

add gitlab2zenodo

parent 597a8d30
No related branches found
No related tags found
No related merge requests found
Pipeline #7185 failed
# stages:
# - build build_and_test:
image: registry.gitlab.com/rboman_docker/gmsh_python
# build_and_test: script:
# image: registry.gitlab.com/rboman_docker/gmsh_python - cd cxxfem
# # stage: build - mkdir build
# script: - cd build
# - cd cxxfem - cmake -DFEM_USE_MKL=OFF ..
# - mkdir build - make -j 4
# - cd build
# - cmake -DFEM_USE_MKL=OFF ..
# - make -j 4
send-snapshot: send-snapshot:
# image: python:3.6 image: registry.gitlab.com/rboman_docker/gitlab2zenodo
image: rboman/waves-py3:2020.3
script: script:
# - if [[ ! $CI_COMMIT_TAG =~ ^v?[0-9]+\.[0-9]+ ]]; then exit 0; fi - if [[ ! $CI_COMMIT_TAG =~ ^v?[0-9]+\.[0-9]+ ]]; then exit 0; fi
# - git clone https://gitlab.com/sbeniamine/gitlab2zenodo.git - git archive --format zip --output ${CI_COMMIT_TAG#v}.zip ${CI_COMMIT_TAG}
# - cd gitlab2zenodo - g2z-send -m .zenodo.json ${CI_COMMIT_TAG#v}.zip
# - python setup.py install only:
# - cd .. - tags
# - rm -rf gitlab2zenodo
# - pip install gitlab2zenodo
- du -kh
- git --version
# - git lfs install
- git archive --format zip --output pipo.zip HEAD
- ls -lh pipo.zip
# - g2z-send -s -m .zenodo.json ${CI_COMMIT_TAG#v}.zip
# only:
# - tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment