Update Including the Toolbox in a pipeline authored by Grailet Jean-François's avatar Grailet Jean-François
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
title: Including the Toolbox in a pipeline title: Including the Toolbox in a pipeline
--- ---
You can use the [Toolbox](https://gitlab.uliege.be/especes/mast/toolbox) to assess model outputs at the end of a CI/CD pipeline. [An example of this approach is available on the Nemo4.2.0-Bamhbi repository.](https://gitlab.uliege.be/especes/mast/nemo4.2.0-bamhbi/-/blob/main/test_cases/lr_cluster/scripts/lr_nic5_assess.sh) To use the Toolbox, you will need to use a suitable environment, featuring Python and the relevant packages, and to clone the [Toolbox repository](https://gitlab.uliege.be/especes/mast/toolbox) within the environment. You can use the [Toolbox](https://gitlab.uliege.be/especes/mast/toolbox) to assess model outputs at the end of a CI/CD pipeline. [An example of this approach is available on the Nemo4.2.0-Bamhbi repository.](https://gitlab.uliege.be/especes/mast/nemo4.2.0-bamhbi/-/blob/main/test_cases/lr_cluster/scripts/lr_nic5_assess.sh) To use the Toolbox, you will need to use a suitable environment, featuring Python and the relevant packages, and to clone the [Toolbox repository](https://gitlab.uliege.be/especes/mast/toolbox) within the environment.
## Setting up a CI/CD job using the Toolbox ## Setting up a CI/CD job using the Toolbox
...@@ -50,7 +51,7 @@ Very similar instructions can be found in [this file from the Nemo4.2.0-Bamhbi r ...@@ -50,7 +51,7 @@ Very similar instructions can be found in [this file from the Nemo4.2.0-Bamhbi r
## Appendix: creating and securing an access token ## Appendix: creating and securing an access token
We now review how you can create and/or secure an access token to be able to clone any (private) repository you have access to within a CI/CD job. To keep things simple, we the repository to clone will be hereby named _target repository_, and the repository whose CI/CD jobs must clone such target repository will be referred to as _host repository_. We now review how you can create and/or secure an access token to be able to clone any (private) repository you have access to within a CI/CD job. To keep things simple, the repository to clone will be hereby named _target repository_, and the repository whose CI/CD jobs must clone it will be referred to as _host repository_.
### Creating an access token (target repository) ### Creating an access token (target repository)
... ...
......