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

"NaN" Error in Deployment Pipeline #363

Closed
daniil-nedostup opened this issue Nov 20, 2024 · 0 comments · Fixed by #364
Closed

"NaN" Error in Deployment Pipeline #363

daniil-nedostup opened this issue Nov 20, 2024 · 0 comments · Fixed by #364
Labels
enhancement New feature or request

Comments

@daniil-nedostup
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The deployment pipeline currently fails with the error: Unable to resolve 'build/NaN' to a commit SHA.
This happens when trying to deploy multiple components (e.g., 10) in one run. The issue arises because the ApplicationSet resource is patched, but the Argo CD Application controller does not update all Application resources instantly. As a result, some Applications are left in an inconsistent state, causing synchronization errors.

Describe the solution you'd like
The deployment pipeline should include a mechanism to ensure that all Application resources are fully updated before proceeding with synchronization.

Describe alternatives you've considered
Adding a fixed delay (sleep command) after patching the ApplicationSet resource.

Additional context
This issue becomes more apparent when deploying a large number of components simultaneously. For example, in a pipeline with 10 components, the error consistently occurs but is resolved if the pipeline is re-run after a short delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant