Skip to content
Snippets Groups Projects
Commit adb305fc authored by David Hoese's avatar David Hoese
Browse files

Merge branch 'feature-build-environment-yml' into 'develop'

Add build_environment.yml for gitlab ci

See merge request metobs/MetObsSite!11
parents c5ceb7d5 b082d90d
No related branches found
No related tags found
1 merge request!11Add build_environment.yml for gitlab ci
Pipeline #9551 failed
......@@ -8,6 +8,8 @@ basic_build_check:
- build
script:
- source /var/lib/gitlab-runner/.bashrc
# create or update the existing environment to the newest pelican version
- conda env update -f build_environment.yml
- conda activate rain_site
- make clean
- make publish
......
......@@ -64,7 +64,9 @@ initializes a bashrc for the `gitlab-runner` user.
sudo -u gitlab-runner /home/davidh/miniconda3/bin/conda init bash
```
This will
Or where ever conda is installed for this system. This will create a bashrc
file for the gitlab-runner user to make the `conda` command available. This
is used in the `.gitlab-ci.yml` scripts for creating a build environment.
### GitLab Runner Upload
......
name: rain_site
channels:
- conda-forge
- defaults
dependencies:
- pelican
- nodejs
- python=3.7
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment