Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Z
ZenodoCI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
ESCAPE2020
WP3
ZenodoCI
Merge requests
!13
Update docker env
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update docker env
update_docker
into
master
Overview
0
Commits
2
Pipelines
2
Changes
3
Merged
Enrique Garcia
requested to merge
update_docker
into
master
4 years ago
Overview
0
Commits
2
Pipelines
2
Changes
3
Expand
update docker file, readme and gitlab-ci to implement installation of bash script
0
0
Merge request reports
Compare
master
version 1
8ee3c9bc
4 years ago
master (base)
and
latest version
latest version
65267213
2 commits,
4 years ago
version 1
8ee3c9bc
1 commit,
4 years ago
3 files
+
25
−
18
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci.yml
+
18
−
6
Options
@@ -66,16 +66,29 @@ deploy_zenodo:
only
:
### Ideally this stage should be run only when a new release / tag of the source code is created, i.e., (- tags).
# The script is changed to check that the both `upload_new_deposit` and `upload_new_version_deposit` works nicely.
-
tags
-
branches
# For testing
#deploy_from_container:
# stage: deploy
# image: gitlab-registry.in2p3.fr/escape2020/wp3/zenodoci:v1.1
# before_script:
# - test_connection_zenodo --token $ZENODO_TOKEN --sandbox False -p $CI_PROJECT_DIR
# script:
# - mkdir -p build
# - parse_last_release_git.sh $CI_PROJECT_NAME $CI_PROJECT_URL
# - ls ./build
#
# - upload_new_deposit --token $ZENODO_TOKEN --sandbox False --input-dir ./build
# only:
# - tags
test_deploy_from_container
:
stage
:
test_container
image
:
gitlab-registry.in2p3.fr/escape2020/wp3/zenodoci
image
:
gitlab-registry.in2p3.fr/escape2020/wp3/zenodoci
:v1.1
before_script
:
-
wget -q https://gitlab.in2p3.fr/escape2020/wp3/zenodoci/-/raw/master/zenodoci/parse_last_release.sh
-
pwd parse_last_release.sh
# testing/debugging
-
which parse_last_release_git.sh
-
test_connection_zenodo --token $SANDBOX_ZENODO_TOKEN --sandbox True -p $CI_PROJECT_DIR
script
:
-
pwd
# testing/debugging
@@ -87,11 +100,10 @@ test_deploy_from_container:
-
codemeta2zenodo -h
-
mkdir -p build
-
/bin/bash
parse_last_release.sh $CI_PROJECT_NAME $CI_PROJECT_URL
-
parse_last_release
_git
.sh $CI_PROJECT_NAME $CI_PROJECT_URL
-
ls ./build
-
upload_new_deposit --token $SANDBOX_ZENODO_TOKEN --sandbox True --input-dir ./build
-
upload_new_version_deposit -t $SANDBOX_ZENODO_TOKEN -s True -i ./build -id $ZENODO_PROJECT_ID
only
:
-
tags
-
branches
# testing/debugging
Loading