-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Undefined variable failing during update
but not for copy
#1952
Comments
Could you please provide a minimal reproducible example? |
Upon making the minimal example it appears that it is the |
Seems like I'll also note that |
I could accept that for |
Just noticed in the docs:
|
Describe the problem
Please refer to epics-containers/deployment-template-argocd#11. In this case, where a variable that would be used in a different branch of logic was accidentally being used in a validator, the template "works" when doing a
copy
. When doing anupdate
however an exception is raised. Ideally we would know if our template is broken before we do updates.Template
epics-containers/deployment-template-argocd#11
To Reproduce
No response
Logs
Expected behavior
Raise an exception at
copy
time tooScreenshots/screencasts/logs
No response
Operating system
Linux
Operating system distribution and version
RHEL 8
Copier version
copier 9.4.1
Python version
Python 3.11.3
Installation method
pip+pypi
Additional context
No response
The text was updated successfully, but these errors were encountered: