Skip to content

Commit

Permalink
Per #2697, update conda environment creation scripts to create v6.1 e…
Browse files Browse the repository at this point in the history
…nvironments that use Python 3.12.0. Specified python package versions to match what was used to create METbaseimage, but left the rest of the packages versionless to allow mamba/conda to install the desired versions. Once envs have successfully been created, I will need to go back and add the version numbers that were used to make sure future envs will be created consistently
  • Loading branch information
georgemccabe committed Feb 5, 2025
1 parent c01ab57 commit af6faa8
Show file tree
Hide file tree
Showing 21 changed files with 214 additions and 184 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create_conda_envs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
default: ''

env:
METPLUS_ENV_VERSION: v6.0
METPLUS_ENV_VERSION: v6.1
DOCKERFILE: Dockerfile
BASE_ENV: metplus_base
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion internal/scripts/docker_env/Dockerfile.cartopy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN conda list --name ${ENV_NAME}.${METPLUS_ENV_VERSION} > \
ARG METPLUS_ENV_VERSION
ARG ENV_NAME
RUN apt update && apt -y upgrade \
&& apt install -y curl \
&& apt --no-install-recommends install -y curl \
&& /usr/local/conda/envs/${ENV_NAME}.${METPLUS_ENV_VERSION}/bin/cartopy_feature_download.py cultural physical

# remove base environment to free up space
Expand Down
Loading

0 comments on commit af6faa8

Please sign in to comment.