|
|
# Environment variables
|
|
|
|
|
|
Run the script `/bin/set_environment.sh` or put the following in your `~/.bashrc`
|
|
|
|
|
|
```bash
|
|
|
RESEARCH_ROOT=/path/to/your/local/clone ; export RESEARCH_ROOT
|
|
|
```
|
|
|
or navigate to `/your/local/clone` and just type
|
|
|
```bash
|
|
|
RESEARCH_ROOT=`pwd` ; export RESEARCH_ROOT
|
|
|
```
|
|
|
All scripts and commands will assume, that the variables have been properly set. In GitLab CI, this is done as the `default` `before_script`:
|
|
|
```yaml
|
|
|
default:
|
|
|
before_script:
|
|
|
- RESEARCH_ROOT=`pwd`; export RESEARCH_ROOT;
|
|
|
```
|
|
|
|
|
|
# Docker
|
|
|
|
|
|
During [CI/CD]() various [docker](https://www.docker.com/) images are used. All images that are used by the pipeline, are also stored in the [container registry](https://docs.gitlab.com/ee/user/packages/container_registry/) of this repository. In case of changes in `/docker` the pipeline is configured to update these images as well (check out the `Docker-update` in the [stages section of the wiki](Continuous-Integration-and-Continuous-Deployment#pipeline)).
|
... | ... | |