From 43e21b7f4974064bf0970836ab7635aacc30d44f Mon Sep 17 00:00:00 2001 From: Zhang Yunjun Date: Sun, 10 Mar 2024 12:01:07 +0800 Subject: [PATCH] circleci: replace mambaforge with miniforge3 + .circleci/config.yml: replace mambaforge with miniforge3 + .github: add release.yml to ignore contributions by bots in release notes --- .circleci/config.yml | 12 ++++++------ .github/release.yml | 7 +++++++ README.md | 2 +- 3 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 .github/release.yml diff --git a/.circleci/config.yml b/.circleci/config.yml index 258a2c0..359fec8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,7 +25,7 @@ jobs: docker: - image: ubuntu:bionic environment: - CONDA_PREFIX: /root/tools/mambaforge + CONDA_PREFIX: /root/tools/miniforge PYAPS_HOME: /root/tools/PyAPS user: root working_directory: /root/tools/PyAPS @@ -33,17 +33,17 @@ jobs: steps: - checkout - run: - name: Setting Environment with Mambaforge + name: Setting Environment with Miniforge command: | apt update apt-get update --yes && apt-get upgrade --yes apt-get install --yes git wget - # download and install mambaforge + # download and install miniforge mkdir -p ${HOME}/tools cd ${HOME}/tools - wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh - bash Mambaforge-Linux-x86_64.sh -b -p ${HOME}/tools/mambaforge - ${HOME}/tools/mambaforge/bin/mamba init bash + wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh + bash Miniforge3-Linux-x86_64.sh -b -p ${HOME}/tools/miniforge + ${HOME}/tools/miniforge/bin/mamba init bash # modify/export env var PATH to BASH_ENV to be shared across run steps echo 'export PATH=${CONDA_PREFIX}/bin:${PATH}' >> ${BASH_ENV} diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..c64a58f --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,7 @@ +# .github/release.yml + +changelog: + exclude: + authors: + - dependabot + - pre-commit-ci diff --git a/README.md b/README.md index 3be82b7..13f14b8 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ url: https://cds.climate.copernicus.eu/api/v2 key: 12345:abcdefghij-134-abcdefgadf-82391b9d3f ``` -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. +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. + **Make sure** that you accept the data license in the Terms of use on ECMWF website.