Matthieu MOREL
1a62c87d29
chore(util): Fix modernize linter ( #26316 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Co-authored-by: Blake Pettersson <blake.pettersson@gmail.com >
2026-02-09 00:48:56 -10:00
Matthieu MOREL
1d65d8be6c
chore(util): Fix modernize linter ( #26323 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2026-02-08 17:48:27 +02:00
DOHYEONG LEE
d1f8cddad0
fix: resolve argocdService initialization issue in notifications CLI ( #24664 )
...
Signed-off-by: puretension <rlrlfhtm5@gmail.com >
2025-09-22 14:26:52 +02:00
Michael Crenshaw
8e00df5326
fix(repo-server): support .argocd-source.yaml kustomize version ( #23643 ) ( #23644 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: rumstead <37445536+rumstead@users.noreply.github.com >
2025-07-16 15:12:25 +00:00
Matthieu MOREL
54501c05a8
chore(lint): enable builtinShadow rule from go-critic ( #23430 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-06-16 21:20:57 +00:00
Matthieu MOREL
ede2b32aea
chore(lint): enable ptrToRefParam rule from go-critic ( #23424 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-06-16 19:28:57 +00:00
Blake Pettersson
2ae9f43410
chore: upgrade mockery ( #23387 )
...
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
2025-06-13 19:58:11 +00:00
Michael Crenshaw
d33b9b98ba
chore(lint): enable nestingReduce linter ( #23378 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-06-13 13:43:16 -04:00
Michael Crenshaw
797f1d693b
chore(test): upgrade to mockery v3 ( #22999 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-05-16 16:38:51 -04:00
Michael Crenshaw
f0d783b1e7
chore(test): fix mockery deprecation warnings ( #22998 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-05-15 11:06:03 -07:00
Michael Crenshaw
0ec46f6857
chore(ci): upgrade golangci-lint to v2 ( #22484 )
...
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 12:37:52 -04:00
Soumya Ghosh Dastidar
228b86d3b5
chore: update mockery version ( #22126 )
...
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
2025-03-03 16:57:20 +02:00
Michael Crenshaw
e18b4d7ac8
chore(deps): switch to new expr package ( #21982 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-02-24 23:37:58 +02:00
github-actions[bot]
4d9835927d
Bump major version to 3 ( #21410 )
...
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: crenshaw-dev <350466+crenshaw-dev@users.noreply.github.com >
2025-01-10 16:14:00 -05:00
Matthieu MOREL
53bc19b5f2
chore: enable unused-parameter from revive ( #21365 )
...
* chore: enable unused-parameter from revive
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* apply recommandations
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-07 10:12:56 -05:00
Matthieu MOREL
9f0dc9402f
chore: enable redundant-import-alias from revive ( #21386 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-06 11:30:42 -05:00
Matthieu MOREL
ceb758c877
chore: import k8s.io/api/core/v1 as corev1 ( #21345 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-03 11:10:00 -05:00
Matthieu MOREL
9ea979bbcd
chore: enable use-any from revive ( #21282 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-01-02 18:26:59 -05:00
Matthieu MOREL
812650847c
chore: enable importas for k8s.io/apimachinery/pkg/apis/meta/v1 ( #21284 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-12-31 10:34:11 +02:00
Matthieu MOREL
8a6f53d044
chore: enable errorf of perfsprint linter ( #21280 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-12-30 10:56:41 +02:00
Matthieu MOREL
f245e8beb5
chore: enable err-error and strconcat of perfsprint linter ( #21267 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-12-20 16:22:28 +00:00
Michael Crenshaw
5cdb1a0a15
chore: use new fake k8s client constructor ( #21186 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-12-16 14:49:30 +05:30
Cheng Fang
e3e02f0064
chore(lint): errors reported by golangci-lint: S1009: should omit nil check; printf: non-constant format string ( #19773 )
...
Signed-off-by: Cheng Fang <cfang@redhat.com >
Co-authored-by: pasha-codefresh <pavel@codefresh.io >
2024-09-04 14:58:15 +00:00
George
5e294d84b7
feat(util/notification): add duration and timestamp constants from stdlib time package ( #10706 )
...
* feat(util/notification): add duration and timestamp constants from stdlib time package
Signed-off-by: George MacRorie <me@georgemac.com >
* chore(docs): add details on new time constants
Signed-off-by: George MacRorie <me@georgemac.com >
* chore: run go mod tidy
Signed-off-by: George MacRorie <me@georgemac.com >
* chore(util/notification): use require.NoError instead of require.Nil
Signed-off-by: George MacRorie <me@georgemac.com >
* chore: go mod tidy
Signed-off-by: George MacRorie <me@georgemac.com >
---------
Signed-off-by: George MacRorie <me@georgemac.com >
2024-09-03 15:55:32 +03:00
Jayendra Parsai
6ed7410cf6
fix: notifications triggered from CLI fails for repo functions ( #19213 )
...
Signed-off-by: Jayendra Parsai <jparsai@jparsai-thinkpadp1gen4i.remote.csb >
Co-authored-by: Jayendra Parsai <jparsai@jparsai-thinkpadp1gen4i.remote.csb >
2024-08-15 10:22:55 -04:00
Cayde6
06b0f957b8
chore(migrate): migrate mockery codegen to use packages( #18579 ) ( #18617 )
...
* chore(migrate): mockery migrate to packages
migrate interface
- remove go:generate
- generate mock
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
* chore(migrate: mockery migrate to package
add mockgen stage
- add mockgen command to Makefile
- add generate-mock.sh
- add install mockery to install-codegen-go-tool.sh
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
---------
Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com >
2024-07-02 10:48:38 -04:00
Matthieu MOREL
0d1d1a1b18
chore: extend require-error rule from testifylint ( #18675 )
...
* chore: extend require-error rule from testifylint
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update helm_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-14 17:40:33 -04:00
Matthieu MOREL
9f1e2e8453
chore: enable gocritic linter ( #18633 )
...
* chore: enable gocritic linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update settings.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update app.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update grpcproxy.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update grpcproxy.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update util.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update server.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update app_management_ns_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update app_management_test.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update path_traversal.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update sessionmanager.go
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
* Update .golangci.yaml
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
---------
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-13 15:10:00 -04:00
Matthieu MOREL
7cf5ed06d4
chore: enable gofumpt and whitespace linters ( #18567 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-11 15:41:55 +00:00
Matthieu MOREL
4a01f8a69a
chore: enable expected-actual rule from testifylint linter ( #18575 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 20:33:00 +00:00
Matthieu MOREL
33df2ce698
chore: enable goimports linter ( #18564 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-10 09:18:12 -04:00
Blake Pettersson
4fd478b271
feat: project-scoped repository credential improvements ( #18388 )
...
* feat: project-scoped repo cred improvements
Implementation of #18290
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: missed a test
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* wip project key changes
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: update mocks
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: fix tests
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: equivalence even if project is empty
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: wip delete
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* refactor: remove repositorydb
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* chore: improve logging
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: pass project to getrepository
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: fix failing test
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: compare with project secret instead of app secret
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* fix: get repository needs same logic as delete
Need to update the spec accordingly.
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* feat: add project flag to repo rm command
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* docs: make codegen
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: fix failing test
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: more failing tests
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* chore: minor cleanups
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* chore: propagate project from ui
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* test: add new test cases
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* chore: code review, improve formulation
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
* refactor: address cr feedback
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
---------
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-06-07 18:47:55 -07:00
Blake Pettersson
049900e646
chore: automate mock generation v2 ( #18371 )
...
* Add go:generate statements for mockery
Signed-off-by: Will Roden <will@roden.cc >
* revert whitespace change
Signed-off-by: Will Roden <will@roden.cc >
* go generate everything
Signed-off-by: Will Roden <will@roden.cc >
* make gogen
Signed-off-by: Will Roden <will@roden.cc >
* chore: upgrade to mockery v2.40.2
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
---------
Signed-off-by: Will Roden <will@roden.cc >
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com >
Co-authored-by: Will Roden <will@roden.cc >
2024-05-23 11:15:15 +03:00
Ishita Sequeira
c204f247d3
feat(cli): add support for multiple sources to sync command ( #17808 )
...
* update sync command
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* use arrays instead of map to display ApplicationManifetQuery fields in swagger
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rebase and update logic for sync command
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update conditions
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update displayRevisions on OperationState
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* remove rerunreport file
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix index 0 out of bounds error
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* Address comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rename GetSourcePtrBySourceIndex to GetSourcePtrByIndex
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rename GetSourcePtrBySourcePosition to GetSourcePtrByPosition
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rebase with master and resolve conflicts
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* Address feedback and add tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix unit test
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
---------
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
2024-04-29 11:23:49 +03:00
Lukas Aldershaab
5baba93721
chore: update notifications-engine to f4856710 ( #17971 )
...
* update notifications-engine
Signed-off-by: Lukas Peter Aldershaab <lukas.aldershaab@lego.com >
* Fix build of conflicting git-urls libraries
Signed-off-by: Lukas Peter Aldershaab <lukas.aldershaab@lego.com >
* align telegrom dependency with notifications-engine
Signed-off-by: Lukas Peter Aldershaab <lukas.aldershaab@lego.com >
* fix: codegen
Signed-off-by: pashakostohrys <pavel@codefresh.io >
---------
Signed-off-by: Lukas Peter Aldershaab <lukas.aldershaab@lego.com >
Signed-off-by: pashakostohrys <pavel@codefresh.io >
Co-authored-by: pashakostohrys <pavel@codefresh.io >
2024-04-28 09:20:16 +00:00
Ishita Sequeira
ed0218f98e
feat: add cli commands to create/set/unset/edit sources for multi-source application ( #17425 )
...
* "feat:add cli commands to create/set/unset/edit sources for multi-source app"
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fixed the ci failure
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update commands
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* error out if source-index not specified for multi-source applications
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fixed the ci failure
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* set 0 as default source index for app create
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add index to ParameterOverrides function
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* do not allow overrides for applications with multiple sources
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* remove create with override example
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* address comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update examples in docs
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update logs
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* Add test and update docs
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
---------
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
2024-03-18 11:15:08 -07:00
pasha-codefresh
dd29300fc1
fix(notifications): Helm.GetParameterValueByName should take helm.parametes first ( #17472 )
...
* fix: Helm.GetParameterValueByName should take helm.parametes first
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix linters
Signed-off-by: pashakostohrys <pavel@codefresh.io >
---------
Signed-off-by: pashakostohrys <pavel@codefresh.io >
2024-03-12 10:06:24 -04:00
Dong Wang
fa1ad0c375
Add AppName to the RepoServerAppDetailsQuery for notification-controller ( #17233 )
...
Signed-off-by: Dong Wang <wd@wdicc.com >
Co-authored-by: pasha-codefresh <pavel@codefresh.io >
2024-02-20 12:24:32 +02:00
Jan Schumann
82433ff1a8
feat: query escape function for notifications ( #16343 )
...
Signed-off-by: Jan Schumann <js@schumann-it.com >
Co-authored-by: pasha-codefresh <pavel@codefresh.io >
2024-02-12 12:34:16 +02:00
May Zhang
19fa5b9418
feat: Argocd notification self service ( #16488 )
...
* self service notification
Signed-off-by: May Zhang <may_zhang@intuit.com >
* revert back the changes for redis-ha
Signed-off-by: May Zhang <may_zhang@intuit.com >
* revert back the changes for redis-ha
Signed-off-by: May Zhang <may_zhang@intuit.com >
* update notification engine
Signed-off-by: May Zhang <may_zhang@intuit.com >
* re-trigger build
Signed-off-by: May Zhang <may_zhang@intuit.com >
* self service notification
Signed-off-by: May Zhang <may_zhang@intuit.com >
* revert back the changes for redis-ha
Signed-off-by: May Zhang <may_zhang@intuit.com >
* revert back the changes for redis-ha
Signed-off-by: May Zhang <may_zhang@intuit.com >
* update notification engine
Signed-off-by: May Zhang <may_zhang@intuit.com >
* re-trigger build
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix conflict
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix conflict
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix conflict
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix conflict
Signed-off-by: May Zhang <may_zhang@intuit.com >
* update notification enginer version
Signed-off-by: May Zhang <may_zhang@intuit.com >
* update notification enginer version
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fixing go tidy
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fixing go tidy
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fixing go tidy
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fixing go tidy
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fixing go tidy
Signed-off-by: May Zhang <may_zhang@intuit.com >
* add back checkAppNotInAdditionalNamespaces
Signed-off-by: May Zhang <may_zhang@intuit.com >
* add cm and secret to clusterRole
Signed-off-by: May Zhang <may_zhang@intuit.com >
* if applicationNamespaces is not used, then use namespaced appClient
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix merge conflict
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix doc and test based on review
Signed-off-by: May Zhang <may_zhang@intuit.com >
* self service notification
Signed-off-by: May Zhang <may_zhang@intuit.com >
* revert back the changes for redis-ha
Signed-off-by: May Zhang <may_zhang@intuit.com >
* revert back the changes for redis-ha
Signed-off-by: May Zhang <may_zhang@intuit.com >
* update notification engine
Signed-off-by: May Zhang <may_zhang@intuit.com >
* re-trigger build
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix conflict
Signed-off-by: May Zhang <may_zhang@intuit.com >
* self service notification
Signed-off-by: May Zhang <may_zhang@intuit.com >
* revert back the changes for redis-ha
Signed-off-by: May Zhang <may_zhang@intuit.com >
* revert back the changes for redis-ha
Signed-off-by: May Zhang <may_zhang@intuit.com >
* update notification engine
Signed-off-by: May Zhang <may_zhang@intuit.com >
* re-trigger build
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix conflict
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix conflict
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix conflict
Signed-off-by: May Zhang <may_zhang@intuit.com >
* update notification enginer version
Signed-off-by: May Zhang <may_zhang@intuit.com >
* update notification enginer version
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fixing go tidy
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fixing go tidy
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fixing go tidy
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fixing go tidy
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fixing go tidy
Signed-off-by: May Zhang <may_zhang@intuit.com >
* add back checkAppNotInAdditionalNamespaces
Signed-off-by: May Zhang <may_zhang@intuit.com >
* add cm and secret to clusterRole
Signed-off-by: May Zhang <may_zhang@intuit.com >
* if applicationNamespaces is not used, then use namespaced appClient
Signed-off-by: May Zhang <may_zhang@intuit.com >
* fix doc and test based on review
Signed-off-by: May Zhang <may_zhang@intuit.com >
* disable defining and using secrets within notification templates for self-service
Signed-off-by: May Zhang <may_zhang@intuit.com >
* tweaks
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix docs formatting
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* more docs and Procfile update for local run convenience
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: May Zhang <may_zhang@intuit.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-11-30 21:40:33 +00:00
Marco Maurer (-Kilchhofer)
841339d2ff
chore: Use safe example domains defined in RFC 2606 ( #16389 )
2023-11-20 04:34:04 -05:00
Etien Rožnik
bc5fb811d6
feat: expose notification secrets for request payload templating ( #16055 )
...
Signed-off-by: Etien Roznik <12816736+eroznik@users.noreply.github.com >
2023-10-25 11:13:21 -04:00
Eng Zer Jun
e8331b4d12
chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml ( #13292 )
...
At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.
`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2023-05-04 18:06:56 -04:00
Fish-pro
cc0072c886
chore: Clean up repeated package import ( #12431 )
...
Signed-off-by: Zechun Chen <zechun.chen@daocloud.io >
2023-03-24 09:49:20 -04:00
杨刚
adc6f564f7
test: Reused const annotationKey string for legacy_test.go ( #11837 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-01-25 08:03:59 -05:00
Ishita Sequeira
c6fa942e94
feat: Multiple sources for applications ( #2789 ) ( #10432 )
...
* feat: support multiple sources for application
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
remove debug logging and unwanted code
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
fix lint and unit test errors
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
fix lint and unit test errors
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix bug introduced after rebase
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
executed make codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
remove unwanted logging
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
fix ci failures
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix index out of bounds error
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* ui fixes
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add revisions to SyncOperation for rollback
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* change Source to *ApplicationSource in ApplicationSpec
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix env variable read logic for ValueFiles
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update multiple sources doc
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add repository lock and checkout target revision
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
fix codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* checkout all sources before generating manifest
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
generate mock reposerverclient
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update logic for returning ManifestResponse to avoid nil pointer issues
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix nil reference and key mismatch bugs; add more logs (#6 )
* fix nil reference and key mismatch bugs; add more logs
* remove temporary comment
* addressed the lint failure and added chart to RefTargeRevisionMapping
* normalize git repo (#7 )
* do not leak lock releases
* prevent deadlock
* allow spec update
* move settings fetch outside loop
* cache busing
* return err instead of logging it
* no caching in test
* fix cache key marshaling
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update grpc field numbers
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* path resolution tests (#12 )
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
do things in better ways
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
consolidate
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add regex check for value of source.ref
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add webhook tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
change Source to *ApplicationSource in ApplicationSpec
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
address PR comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Retrigger CI pipeline
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
rebased with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix env variable read logic for ValueFiles
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Address PR comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add repository lock and checkout target revision
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
fix codegen
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* checkout all sources before generating manifest
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* generate mock reposerverclient
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* address comments
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update logic for returning ManifestResponse to avoid nil pointer issues
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix nil reference and key mismatch bugs; add more logs (#6 )
* fix nil reference and key mismatch bugs; add more logs
* remove temporary comment
* addressed the lint failure and added chart to RefTargeRevisionMapping
* normalize git repo (#7 )
* do not leak lock releases
* prevent deadlock
* allow spec update
* move settings fetch outside loop
* cache busing
* return err instead of logging it
* no caching in test
* fix cache key marshaling
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update grpc field numbers
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add regex check for value of source.ref
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* Rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* Added unit tests (#15 )
* add unit tests 1
* fix lint
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix application parameters tab, rebased UI changes, tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* More tests (#16 )
* more tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
fix lint error
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Test get ref sources (#17 )
* test GetRefSources
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix lint
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: ishitasequeira <ishiseq29@gmail.com >
GenerateManifests test (#18 )
* GenerateManifests test
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Fix broken tests (#19 )
* fix broken tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Symlink test (#20 )
* check referenced sources for out-of-bounds symlinks
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* unlock the values file repo before doing a symlink check (#22 )
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* multi source docs (#21 )
* multi source docs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix warning title
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* clarify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* clarify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* add e2e tests for multiple sources and fix UI lint (#23 )
* add e2e tests for multiple sources and fix UI lint
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add auto-sync and hard refresh to e2e tests
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* change refresh type to RefreshTypeNormal for e2e
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* update e2e testcase with helm data
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add TestMultiSourceAppWithSourceOverride
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* add missing yaml file
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* rebase with master
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
* fix lint
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Signed-off-by: ishitasequeira <ishiseq29@gmail.com >
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2022-12-16 15:47:08 -05:00
nsahai8
7cb9d40836
chore: wrap error objects to include context ( #10592 ) ( #10940 )
...
Signed-off-by: Niharika <ns8gupta@gmail.com >
Signed-off-by: Niharika <niharika_sahai@intuit.com >
Signed-off-by: Niharika <ns8gupta@gmail.com >
Signed-off-by: Niharika <niharika_sahai@intuit.com >
2022-10-14 17:41:52 +00:00
Pavel
37ad433759
feat: add notifications API ( #10279 )
...
* add notifications API
we allow to list triggers, templates and services
Signed-off-by: Pavel <aborilov@gmail.com >
* fix: add notification manifest to tests
Signed-off-by: Pavel <aborilov@gmail.com >
* fix: add sleep to fix integration tests
for some reason notification configmap has old data, trying to fix with
the sleep
Signed-off-by: Pavel <aborilov@gmail.com >
* add proposal
Signed-off-by: Pavel <aborilov@gmail.com >
* more info to proposal
Signed-off-by: Pavel <aborilov@gmail.com >
* use struct for notifications objects instead of just strings
to be able easily extend API in the future return list of
trigger/template/service as list of structs
Signed-off-by: Pavel <aborilov@gmail.com >
Signed-off-by: Pavel <aborilov@gmail.com >
2022-08-25 16:04:14 -07:00
Soumya Ghosh Dastidar
df2d649751
feat: remove ksonnet from codebase ( #8621 )
...
feat: remove ksonnet from codebase (#8621 )
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com >
2022-03-02 10:09:47 -08:00
Alexander Matyushentsev
76eddafd1c
fix: prevent file traversal using helm file values param and application details api ( #8606 )
...
* fix: prevent file traversal using helm file values param and application details api
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* apply reviewer notes: move resolve.go into separate package; use uuid to generate random file
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2022-02-24 12:58:38 -08:00