Skip to content

Commit 293308e

Browse files
authored
circleci: replace mambaforge with miniforge3 (#33)
+ .circleci/config.yml: replace mambaforge with miniforge3 + .github: add release.yml to ignore contributions by bots in release notes
1 parent 29086e7 commit 293308e

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,25 @@ jobs:
2525
docker:
2626
- image: ubuntu:bionic
2727
environment:
28-
CONDA_PREFIX: /root/tools/mambaforge
28+
CONDA_PREFIX: /root/tools/miniforge
2929
PYAPS_HOME: /root/tools/PyAPS
3030
user: root
3131
working_directory: /root/tools/PyAPS
3232
# Checkout the code as the first step. This is a dedicated CircleCI step.
3333
steps:
3434
- checkout
3535
- run:
36-
name: Setting Environment with Mambaforge
36+
name: Setting Environment with Miniforge
3737
command: |
3838
apt update
3939
apt-get update --yes && apt-get upgrade --yes
4040
apt-get install --yes git wget
41-
# download and install mambaforge
41+
# download and install miniforge
4242
mkdir -p ${HOME}/tools
4343
cd ${HOME}/tools
44-
wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh
45-
bash Mambaforge-Linux-x86_64.sh -b -p ${HOME}/tools/mambaforge
46-
${HOME}/tools/mambaforge/bin/mamba init bash
44+
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
45+
bash Miniforge3-Linux-x86_64.sh -b -p ${HOME}/tools/miniforge
46+
${HOME}/tools/miniforge/bin/mamba init bash
4747
# modify/export env var PATH to BASH_ENV to be shared across run steps
4848
echo 'export PATH=${CONDA_PREFIX}/bin:${PATH}' >> ${BASH_ENV}
4949

.github/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# .github/release.yml
2+
3+
changelog:
4+
exclude:
5+
authors:
6+
- dependabot
7+
- pre-commit-ci

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ url: https://cds.climate.copernicus.eu/api/v2
6969
key: 12345:abcdefghij-134-abcdefgadf-82391b9d3f
7070
```
7171

72-
where 12345 is your personal user ID (UID), the part behind the colon is your personal API key. More details can be found [here](https://cds.climate.copernicus.eu/api-how-to). Alternatively, you could also edit the `model.cfg` file in the package directory, `site-packages/pyaps3` if installed via conda, and fill in the `[CDS]` section.
72+
where 12345 is your personal user ID (UID), the part behind the colon is your personal API key. More details can be found [here](https://cds.climate.copernicus.eu/api-how-to). Alternatively, you could edit the `model.cfg` file in the package directory, `site-packages/pyaps3` if installed via conda, and fill in the `[CDS]` section.
7373

7474
+ **Make sure** that you accept the data license in the Terms of use on ECMWF website.
7575

0 commit comments

Comments
 (0)