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

Do not set environment env variables from ayon-core #94

Merged

Conversation

iLLiCiTiT
Copy link
Member

Changelog Description

Use constant FARM_JOB_ENV_DATA_KEY from ayon-core instead of JOB_ENV_DATA_KEY. And do not fill environment variables that are filled by ayon-core already.

Additional review information

One step closer to avoid setting up environment variables that have nothing to do with deadline. Validate that all removed environment variables are already set by ayon-core.

Marked code in lib.py that is pipeline related and probably should not be there as the file is imported by addon.py.

Testing notes:

  1. Submit jobs before this PR and with this PR and compare environment variables in the jobs (using deadline monitor).

@iLLiCiTiT iLLiCiTiT requested review from BigRoy and kalisp January 3, 2025 16:56
@iLLiCiTiT iLLiCiTiT self-assigned this Jan 3, 2025
@iLLiCiTiT iLLiCiTiT added the type: enhancement Improvement of existing functionality or minor addition label Jan 3, 2025
@iLLiCiTiT iLLiCiTiT added community Issues and PRs coming from the community members and removed community Issues and PRs coming from the community members labels Jan 7, 2025
@iLLiCiTiT iLLiCiTiT merged commit 607ce74 into develop Jan 7, 2025
3 checks passed
@iLLiCiTiT iLLiCiTiT deleted the enhancement/93-do-not-set-environment-core-variables branch January 7, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants