Commit a254efad authored by Enrique Garcia's avatar Enrique Garcia
Browse files

Update README.md

parent c8b94d71
Pipeline #93522 passed with stage
in 2 minutes and 2 seconds
......@@ -7,17 +7,18 @@ https://gitlab.in2p3.fr/escape2020/wp3/zenodoci/-/commits/master)
Library to manage an upload to Zenodo through its REST API.
## _Quickstart_
## _Quickstart_ - Test the full OSSR-CI and the communication to Zenodo
1. Add a `codementa.json` file to your project.
2. Create a token at (sandbox)zenodo and add it as a variable to your project (see below).
- [CodeMeta generator](https://codemeta.github.io/codemeta-generator/).
2. Create a token at (sandbox)zenodo and add it as a variable to your project (see [below](#zenodo-token-gitlab-ci-environment-variable)).
3. **TEST** that you can communicate correctly with Zenodo. You will test and debug at the same time that all the
stages of the GitLabCI-Zenodo pipeline will work correctly.
```bash
$ python .zenodoci/test_connection_zenodo.py --token YOUR_ZENODO_TOKEN --sandbox False
```
## Continuous Deployment to Zenodo
## Continuous Integration to Zenodo
The library was developed specifically to perform a deploy stage (to the Zenodo repository) within a GitLab CI
pipeline that **could be implemented in any external project**.
......
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