Matthieu MOREL
1b4398b5ba
chore(util): Fix modernize linter ( #26342 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2026-02-09 10:59:51 -05:00
Matthieu MOREL
34eeede822
chore(util): Fix modernize linter ( #26329 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2026-02-09 00:44:05 -10:00
Artem Vdovin
57e9e5e201
fix: manifest-generate-paths for multisource git+helm ( #25531 )
...
Signed-off-by: Artem Vdovin <arte.vdovin@gmail.com >
Signed-off-by: Artem Vdovin <34456690+fm1ck3y@users.noreply.github.com >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2026-02-03 14:57:48 +00:00
Codey Jenkins
e5e00d3f6f
fix(hydrator): use refresh paths from drySource when source hydration is enabled ( #25516 )
...
Signed-off-by: Codey Jenkins <FourFifthsCode@users.noreply.github.com >
Signed-off-by: pbhatnagar-oss <pbhatifiwork@gmail.com >
Co-authored-by: pbhatnagar-oss <pbhatifiwork@gmail.com >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2026-01-22 15:08:58 +00:00
dependabot[bot]
cc57831808
chore(deps): bump github.com/ktrysmt/go-bitbucket from 0.9.87 to 0.9.88 ( #25544 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: reggie-k <regina.voloshin@codefresh.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: reggie-k <regina.voloshin@codefresh.io >
2025-12-08 13:40:57 +02:00
Matthieu MOREL
f26533ab37
chore: use Expecter Structs from mockery ( #25133 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-11-01 13:07:08 +00:00
Jakub Ciolek
bf0661ea81
fix: make webhook payload handlers recover from panics ( #24862 )
...
Signed-off-by: Jakub Ciolek <jakub@ciolek.dev >
2025-10-09 17:26:22 -04:00
Michael Crenshaw
fa0d6a8eb6
Merge commit from fork
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-09-30 10:45:32 -04:00
Michael Crenshaw
1988c704d5
Merge commit from fork
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-09-30 10:07:24 -04:00
Michael Crenshaw
174fcfe01e
Merge commit from fork
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-09-30 09:45:21 -04:00
Alexander Matyushentsev
a880feeefa
fix: use informer in webhook handler to reduce memory usage ( #24622 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2025-09-17 13:58:42 -07:00
SoMin Park
0a1572b9d9
fix(server): preserve webhook secret references on server restart ( #22588 ) ( #23905 )
...
Signed-off-by: Somin Park <ps4708@naver.com >
2025-07-24 12:20:42 +03:00
Alexandre Gaudreault
5ca752429e
chore(refactor): remove redundant rollback argument ( #23627 )
...
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-07-02 18:32:31 -04:00
Matthieu MOREL
b6e90ea92c
chore(lint): enable sprintfQuotedString rule from go-critic ( #23401 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-06-15 16:33:20 -04:00
Matthieu MOREL
c6ebc19c1f
chore(lint): enable emptyStringTest rule from go-critic ( #23400 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-06-15 20:25:12 +00:00
Matthieu MOREL
79c75876a8
chore(lint): enable httpNoBody rule from go-critic ( #23399 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-06-15 16:11:38 -04:00
Michael Crenshaw
0fa3c3d67d
chore(lint): enable tparallel linter ( #23318 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-06-08 15:10:55 +02:00
Michael Crenshaw
30a0088c84
chore: enable lint for unused private fields ( #23242 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-06-05 07:47:55 -04:00
Anand Francis Joseph
3e7625a255
fix(webhook): Fix panic when web URL string is empty in webhook payload ( #23042 )
...
Signed-off-by: anandf <anjoseph@redhat.com >
2025-05-20 09:47:14 -04:00
Michael Crenshaw
ffe42256e9
chore: fix missed lint issues ( #22518 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-03-31 08:15:54 -04: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
Eadred
4a987ddbf2
fix: Check for semver constraint matching in application webhook handler ( #21634 ) ( #21648 )
...
Signed-off-by: eadred <eadred77@googlemail.com >
2025-03-27 11:26:02 -04:00
Alexy Mantha
d9ef10a817
feat(hydrator): handle sourceHydrator fields from webhook ( #19397 ) ( #22485 )
...
Signed-off-by: daengdaengLee <gunho1020@gmail.com >
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
Co-authored-by: Kunho Lee <gunho1020@gmail.com >
2025-03-26 12:08:35 -04:00
Anand Francis Joseph
2fbace3fe7
feat(webhook): Fixed manifest-generate-paths annotation support for monorepos in BitBucket ( #21811 )
...
Signed-off-by: anandf <anjoseph@redhat.com >
2025-03-26 08:27:06 -04:00
Michael Crenshaw
8a97c1d138
fix(hydrator): refresh by annotation instead of work queue ( #22016 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-02-27 14:22:03 -05:00
Matthew Bennett
073ccf7c35
fix( #19314 , #15700 ): allow ssh/altssh subdomains in repo URLs to match webhook payload ( #21227 )
2025-02-20 12:15:29 +05:30
Matthieu MOREL
c1b2f78f46
chore: enable var-naming from revive ( #21861 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-02-18 11:02:38 -05:00
Matthieu MOREL
9843bfbdf8
chore: use testify instead of native testing ( #21781 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-02-05 09:46:52 -05:00
Michael Crenshaw
bd37458896
chore(refactor): remove app destination inferrence logic ( #21189 )
...
* refactor: remove app destination inferrence logic
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* more fixes
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* more fixes
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* codegen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* fix mocks
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* clusters all the way down
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* simplify
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* test
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* lint
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* tidy
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* be less radical
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-01-13 13:15:42 -05: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
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
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
Pasha Kostohrys
90a148987d
chore: reduce default max payload size in webhooks to 50MB ( #21101 )
...
* chore: reduce default max payload size in webhooks to 50MB
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* chore: reduce default max payload size in webhooks to 50MB
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* chore: reduce default max payload size in webhooks to 50MB
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* chore: reduce default max payload size in webhooks to 50MB
Signed-off-by: pashakostohrys <pavel@codefresh.io >
---------
Signed-off-by: pashakostohrys <pavel@codefresh.io >
2024-12-10 13:08:18 +05:30
Matthieu MOREL
e0ebb02443
chore: enable usestdlibvars linter ( #20399 )
2024-10-16 07:54:00 -04:00
Alexander Matyushentsev
03a16099b0
fix: support managing cluster with multiple argocd instances and annotation based tracking ( #20222 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-10-04 17:54:37 -07:00
rumstead
01874d64de
fix(appset): allow for shorthand git refs in git generators #15427 ( #19783 )
...
* fix(appset): allow for shorthand git refs in git generators
Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com >
* Retrigger CI pipeline
Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com >
* attempt to fix goimports
Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com >
* attempt to fix goimports
Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com >
* remove redundant test
Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com >
---------
Signed-off-by: rumstead <37445536+rumstead@users.noreply.github.com >
2024-09-05 10:13:30 +05:30
Arthur Vardevanyan
6dc559a3e5
fix(AnyNameSpaceRegex): Additional Functions Glob to Regexexp ( #19516 )
...
Signed-off-by: Arthur <arthur@arthurvardevanyan.com >
2024-08-13 19:14:16 +03:00
Arthur Vardevanyan
588b251acc
feat(sourceNamespace): Regex Support ( #19016 ) ( #19017 )
...
* feat(sourceNamespace): Regex Support
Signed-off-by: Arthur <arthur@arthurvardevanyan.com >
* feat(sourceNamespace): Separate exactMatch into patternMatch
Signed-off-by: Arthur <arthur@arthurvardevanyan.com >
---------
Signed-off-by: Arthur <arthur@arthurvardevanyan.com >
2024-08-13 08:46:25 -04:00
Robin Lieb
4f64f0f2f2
feat: move basic auth for for Azure DevOps to webhooks lib ( #19407 )
...
Signed-off-by: Robin Lieb <robin.j.lieb@gmail.com >
2024-08-07 16:25:23 +00:00
Kevin
13be1aec2c
chore: wrap error when setting new revision manifests ( #19148 )
...
Signed-off-by: Juwon Hwang (Kevin) <juwon8891@gmail.com >
2024-07-22 14:36:29 -04:00
pasha-codefresh
c9c7989f8c
Merge commit from fork
...
* feat: limit payload size
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* cover with tests and provide ability to define variable from CM
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* cover with tests and provide ability to define variable from CM
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* improve error message and add documentation
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix tests
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix comments
Signed-off-by: pashakostohrys <pavel@codefresh.io >
* fix linter
Signed-off-by: pashakostohrys <pavel@codefresh.io >
---------
Signed-off-by: pashakostohrys <pavel@codefresh.io >
2024-07-22 17:08:17 +03:00
Dhruvang Makadia
95be90b5f9
fix: Process webhook refresh in background to not block the request ( #14269 ) ( #18173 )
...
Signed-off-by: dhruvang1 <dhruvang1@users.noreply.github.com >
2024-06-26 19:20:09 +05:30
Matthieu MOREL
c9ea5b13d2
chore: extend require-error rule from testifylint ( #18658 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-14 09:15:31 -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
Jorge Turrado Ferrero
0e531c956e
feat(application-controller): Add support for rollback multi-source applications ( #14124 )
...
* feat(application-controller): Add support for rollback multi-source applications
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* regenerate codegen after rebase
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix tests
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix front linting
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* update test
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* update codegen
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* Update server/application/application.go
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es >
* apply feedback
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix errors
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* add support for switching between single and multi
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix dereference issue
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* remove unnecesary code
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* Rebase master
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl >
* fix style
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* fix reference
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
* add a comment
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl >
---------
Signed-off-by: Jorge Turrado <jorge_turrado@hotmail.es >
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es >
Signed-off-by: Jorge Turrado <jorge.turrado@scrm.lidl >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
2024-06-10 17:54:07 -04: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
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
Alexy Mantha
4e46a5e8fa
feat(controller): use manifest generate path during comparison ( #14242 ) ( #15636 )
...
* squash commits
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* Update util/git/client.go
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fix error message
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* add git client options
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* Update generated code
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* run fmt
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fix tests
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* failed gen
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* tweak logs and rename cache
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* validate revisions
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fix tests
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fix tests
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fmt
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fix linting
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fixes from review
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* generate
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* fix
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
* use log context
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
---------
Signed-off-by: Alexy Mantha <alexy@mantha.dev >
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-04-04 16:01:11 -04:00
Nathan Romriell
c4fdc54195
fix(repo-server): excess git requests, add shared cache lock on revisions (Issue #14725 ) ( #17109 )
...
* fix(repo-server): excess git requests, cache lock on revisions
Signed-off-by: nromriell <nateromriell@gmail.com >
* fix: pr feedback, simplify, add configurable variable
Signed-off-by: nromriell <nateromriell@gmail.com >
* fix: codegen, lint
Signed-off-by: nromriell <nateromriell@gmail.com >
* fix: test print, no opts set, var type nit
Signed-off-by: nromriell <nateromriell@gmail.com >
* chore: add additional logging for unexpected cache error
Signed-off-by: nromriell <nateromriell@gmail.com >
---------
Signed-off-by: nromriell <nateromriell@gmail.com >
Co-authored-by: Ishita Sequeira <46771830+ishitasequeira@users.noreply.github.com >
2024-03-25 11:26:14 -04:00
avoidalone
085ed0f65a
chore: remove repetitive words ( #17464 )
...
Signed-off-by: avoidalone <wuguangdong@outlook.com >
Co-authored-by: pasha-codefresh <pavel@codefresh.io >
2024-03-11 14:27:46 +00:00