Commit 87c81c22 authored by Enrique Garcia's avatar Enrique Garcia
Browse files

update codemeta.js for new version. Include the docker save stage in the CI

parent 07d6cd6f
Pipeline #123611 passed with stages
in 2 minutes and 30 seconds
......@@ -73,15 +73,23 @@ build_docker_image:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $CI_REGISTRY_IMAGE:$LAST_RELEASE .
- docker push $CI_REGISTRY_IMAGE:$LAST_RELEASE
# --> The following code snippet IS just an exploratory / WIP section
- docker save -o ESCAPE_template_project_$LAST_RELEASE.tar $CI_REGISTRY_IMAGE:$LAST_RELEASE
- mkdir -p build && cp ESCAPE_template_project_$LAST_RELEASE.tar build
artifacts:
paths:
- build/ESCAPE_template_project_$LAST_RELEASE.tar
only:
- tags
deploy_zenodo:
stage: deploy
image: gitlab-registry.in2p3.fr/escape2020/wp3/zenodoci:v1.2
# The dependencies key is added to this stage ONLY because we have created in a previous stage some other artifacts
# The `dependencies` key (and field) is added to this stage ONLY because we have created in a previous stage some other artifacts
dependencies:
- build_singularity_image
- build_docker_image
before_script:
- test_connection_zenodo --token $ZENODO_TOKEN --sandbox False -p $CI_PROJECT_DIR
script:
......
......@@ -2,19 +2,19 @@
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"name": "ESCAPE template project",
"description": "A template Git project for ESCAPE",
"keywords": ["ESCAPE"],
"description": "An example of software project template for the ESCAPE 2020 European project",
"keywords": ["ESCAPE", "jupyter-notebook"],
"license": "https://spdx.org/licenses/MIT",
"identifier": "10.5281/zenodo.3884963",
"softwareVersion": "v2.1",
"softwareVersion": "v2.2",
"developmentStatus": "active",
"codeRepository": "https://gitlab.in2p3.fr/escape2020/wp3/template_project_escape",
"runtimePlatform": "Python >3.6",
"downloadUrl": "https://gitlab.in2p3.fr/escape2020/wp3/template_project_escape/-/archive/v2.1/template_project_escape-v2.1.tar.gz",
"downloadUrl": "https://gitlab.in2p3.fr/escape2020/wp3/template_project_escape/-/archive/v2.2/template_project_escape-v2.2.tar.gz",
"installUrl": "https://gitlab.in2p3.fr/escape2020/wp3/template_project_escape/-/blob/master/setup.py",
"releaseNotes": "Automatise the building of Docker and Singularity in container/images in the CI. Cleaning of the repo to include all the new python modules that before were part of the project and contained different functionalities (.zenodoci, ci-generator...) ",
"releaseNotes": "Jupyter Notebooks example added. Example of how to automatise the upload of the docker image - whose container was built and published during the CI - to Zenodo.",
"dateCreated": "2019-11-05",
"datePublished": "2021-05-25",
"datePublished": "2021-06-10",
"dateModified": "2021-05-25",
"isAccessibleForFree": true,
"isPartOf": [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment