Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Read env variable from os environment, not from nox #1869

Merged
merged 3 commits into from
Feb 17, 2025

Conversation

edopao
Copy link
Contributor

@edopao edopao commented Feb 17, 2025

Contains two types of changes:

  • Cleanup of DOCKER_BUILD_ARGS: this variable is passed to the docker build, but not used, which occasionally triggers an unnecessary rebuild.
  • As consequence of DOCKER_BUILD_ARGS cleanup the base image has been rebuilt. In the new image we pull a new nox version, which removes the os environment variables from the nox session environment (refer to nox PR fix: outer_env issues fixed wntrblm/nox#874). Therefore, such variables need to be read from the os environment.

@edopao edopao requested a review from havogt February 17, 2025 13:53
@edopao edopao changed the title ci: Remove CI_PROJECT_DIR from DOCKER_BUILD_ARGS ci: Read env variable from os environment, not from nox Feb 17, 2025
@edopao edopao merged commit cae8753 into GridTools:main Feb 17, 2025
23 checks passed
@edopao edopao deleted the ci-cleanup branch February 17, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants