-
Notifications
You must be signed in to change notification settings - Fork 5k
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
feat: Multiple sources for applications #10432
Merged
crenshaw-dev
merged 36 commits into
argoproj:master
from
ishitasequeira:multiple-sources-for-applications
Dec 16, 2022
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
1ca3e74
feat: support multiple sources for application
ishitasequeira 7d35c89
fix bug introduced after rebase
ishitasequeira dd24796
rebase with master
ishitasequeira 41fe9b3
fix index out of bounds error
ishitasequeira b37f979
ui fixes
ishitasequeira 91bde73
add revisions to SyncOperation for rollback
ishitasequeira 756040e
change Source to *ApplicationSource in ApplicationSpec
ishitasequeira a735c61
fix env variable read logic for ValueFiles
ishitasequeira 1c3a961
update multiple sources doc
ishitasequeira 92c21b5
add repository lock and checkout target revision
ishitasequeira a5803d2
checkout all sources before generating manifest
ishitasequeira 85a2d64
update logic for returning ManifestResponse to avoid nil pointer issues
ishitasequeira ae9a737
fix nil reference and key mismatch bugs; add more logs (#6)
crenshaw-dev 08d0070
update grpc field numbers
ishitasequeira 09128c6
path resolution tests (#12)
crenshaw-dev 186242c
add regex check for value of source.ref
ishitasequeira 35488cf
add webhook tests
crenshaw-dev 36d97d3
fix env variable read logic for ValueFiles
ishitasequeira 10267e2
add repository lock and checkout target revision
ishitasequeira 803da2f
checkout all sources before generating manifest
ishitasequeira 50ebea5
generate mock reposerverclient
ishitasequeira 2eaeb2e
address comments
ishitasequeira e2e7b9a
update logic for returning ManifestResponse to avoid nil pointer issues
ishitasequeira 2789d4a
fix nil reference and key mismatch bugs; add more logs (#6)
crenshaw-dev cf74005
update grpc field numbers
ishitasequeira bc9e4ca
add regex check for value of source.ref
ishitasequeira 8c3e437
Rebase with master
ishitasequeira b0142d7
Added unit tests (#15)
ishitasequeira e2d2267
fix application parameters tab, rebased UI changes, tests
ishitasequeira 316d985
More tests (#16)
crenshaw-dev 4c9ac12
unlock the values file repo before doing a symlink check (#22)
crenshaw-dev b51136d
multi source docs (#21)
crenshaw-dev a746d36
add e2e tests for multiple sources and fix UI lint (#23)
ishitasequeira 7d0ecb9
rebase with master
ishitasequeira a47c6da
rebase with master
ishitasequeira bbb9240
fix lint
ishitasequeira File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though
CompareAppState
target revisions and sources as slices, looks like we're only passing in the first target revision and source. Is that intentional?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we are sending only the first source to CompareAppState from the cmd as we are not supporting CLI in this PR for multi-source apps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm slightly worried about this. If someone is using this command in a pipeline, this change could be silently-breaking for them. Can we just throw an error if the command encounters a multi-source app?