-
Notifications
You must be signed in to change notification settings - Fork 6.5k
feat: Add tests for - argocd admin import command
#22780
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
Open
yaten2302
wants to merge
84
commits into
argoproj:master
Choose a base branch
from
yaten2302:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 60 commits
Commits
Show all changes
84 commits
Select commit
Hold shift + click to select a range
ae66626
init: add tests for - argocd admin import command
yaten2302 dff31c2
Merge branch 'master' into master
yaten2302 2dd590d
Merge branch 'master' into master
yaten2302 aee2a95
remove custom live and bak func + add TCs for import resources
yaten2302 742e641
add test: if resource not present in live object should be updated
yaten2302 cb489df
Merge branch 'master' into master
yaten2302 f112e48
Merge branch 'master' into master
yaten2302 c12b6ae
Merge branch 'master' into master
yaten2302 68ee314
add tests for --application-namespaces & --applicationset-namespaces …
yaten2302 a32f4b5
init tests for prune + add tests for skip-resources-with-label
yaten2302 46b135a
update --skip-resources-with-label flag
yaten2302 d80c9ba
add test for --prune flag
yaten2302 658fc0b
Merge branch 'master' into master
yaten2302 799e3b6
update test case names
yaten2302 9b68f47
update --prune test case to add more resources in live and reduce in …
yaten2302 a286f0f
Merge branch 'master' into master
yaten2302 75c334f
update test scenario for --skip-resources-with-labels flag
yaten2302 ff3c670
add test for --stop-operation flag
yaten2302 e4d77bd
Merge branch 'master' into master
yaten2302 914694e
Merge branch 'master' into master
yaten2302 c05a0cf
Merge branch 'master' into master
yaten2302 4203365
add tests for --override-on-conflict flag
yaten2302 368beab
attempt to fix linter errors in backup_test.go
yaten2302 13bc592
Merge branch 'master' into master
yaten2302 8bd4329
fix linter errors/change context.Background to t.Context
yaten2302 61698be
Merge branch 'master' into master
yaten2302 9d6d613
Merge branch 'master' into master
yaten2302 e641697
Merge branch 'master' into master
yaten2302 c4524b9
attempt to refactor NewImportCommand() func
yaten2302 5161f1d
Merge branch 'master' into master
yaten2302 d94e6d0
Merge branch 'master' into master
yaten2302 bb53198
add tests for createPruneObject func
yaten2302 f9d69a7
Merge branch 'master' into master
yaten2302 7348130
attempt to fix linter errors
yaten2302 0c46781
Merge branch 'master' into master
yaten2302 33d4053
remove unwanted comment
yaten2302 0977796
Merge branch 'master' into master
yaten2302 86c8c94
update test case names
yaten2302 58b2464
Merge branch 'master' into master
yaten2302 12a7f81
test setDynamicClient func
yaten2302 36ed1ed
Merge branch 'master' into master
yaten2302 ce0301c
Merge branch 'master' into master
yaten2302 b0c04e5
update test case names
yaten2302 b3cbc04
Merge branch 'master' into master
yaten2302 344eed7
update expectedFileContent in Test_exportResources
yaten2302 22dd2bd
Merge branch 'master' into master
yaten2302 d50565b
Merge branch 'master' into master
yaten2302 e38a879
Merge branch 'master' into master
yaten2302 ca641da
Merge branch 'master' into master
yaten2302 1097d04
Merge branch 'master' into master
yaten2302 da55e66
Merge branch 'master' into master
yaten2302 de3dd86
Merge branch 'master' into master
yaten2302 d96b0b2
Merge branch 'master' into master
yaten2302 94541df
Merge branch 'master' into master
yaten2302 cb52555
Merge branch 'master' into master
yaten2302 f70fa87
Merge branch 'master' into master
yaten2302 1b7cd1f
Merge branch 'argoproj:master' into master
yaten2302 e85cf5f
Merge branch 'master' into master
yaten2302 ee78b19
Merge branch 'master' into master
yaten2302 255dcc4
Merge branch 'master' into master
yaten2302 10e4ff2
Merge branch 'master' into master
yaten2302 238f6b9
update apiVersion from 'v1' to 'argoproj.io/v1alpha1'
yaten2302 9620755
Merge branch 'master' into master
yaten2302 07045cf
Merge branch 'master' into master
yaten2302 a078e2e
Merge branch 'master' into master
yaten2302 79eabc4
Merge branch 'master' into master
yaten2302 07c615c
Merge branch 'argoproj:master' into master
yaten2302 3fbd9a2
Merge branch 'master' into master
yaten2302 7a77ee2
Merge branch 'master' into master
yaten2302 4708dcd
Merge branch 'master' into master
yaten2302 9491524
refactor Run func of NewImportCommand
yaten2302 b6a6d8d
Merge branch 'master' into master
yaten2302 9ccfee1
fix failing tests + update executeImport() logic
yaten2302 c20a146
Merge branch 'master' into master
yaten2302 18df33b
refactor NewImportCommand() by adding executeImport() & pruneResource…
yaten2302 db16587
Merge branch 'master' into master
yaten2302 59912ef
update executeImport to handle AlreadyExists case for liveObject
yaten2302 86e649d
Merge branch 'master' into master
yaten2302 331ca92
attempt to fix linter errors
yaten2302 5e985e1
format backup.go
yaten2302 fdd1c73
Merge branch 'master' into master
yaten2302 6fcc30a
Merge branch 'master' into master
yaten2302 1be90e4
Merge branch 'master' into master
yaten2302 770fcf3
Merge branch 'master' into master
yaten2302 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.