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
Eric Bissonnette
e2f87940e4
fix: preserve escape codes in repo url of git webhook payload ( #17376 )
...
Signed-off-by: Eric Bissonnette <ebisso.dev@gmail.com >
2024-03-04 11:03:19 +02:00
Alexander Matyushentsev
4afddf71cc
feat: webhook should use 'rename' to copy app manifests of previous commit ( #16754 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2024-01-05 08:53:52 -08:00
Alexander Matyushentsev
19de408dbc
feat: Add Support for AzureDevops Webhooks ( #14969 )
...
* feat: Add Support for AzureDevops Webhooks
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* document azure devops webhook configuration
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
---------
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2023-08-09 15:18:26 -07:00
Nik Skoufis
5120026d15
fix: webhook handler fails to refresh when alternate application namespaces are configured ( #13976 )
...
* fix: Add failing test for webhooks in all namespaces
This adds a failing test that properly exercises this functionality over
all namespaces. The issue with the code that is under test is that it
does not pass the namespace correctly to the patch of the application,
resulting in the patch not taking place in the correct namespace
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au >
* fix: queue webhook refresh for apps in all namespaces
This passes the test in the previous commit, to ensure that webhooks
correctly refresh applications across all namespaces.
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au >
* fix: Use existing NamespacedName type
Use the existing type instead of a custom type
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au >
---------
Signed-off-by: Nikolas Skoufis <nskoufis@seek.com.au >
2023-07-21 14:29:57 -04:00
Kamuri Amorim
a3591cdc65
fix: add gitlab.SystemHookEvents to support Gitlab system events ( #12547 )
...
* fix: add gitlab.SystemHookEvents to support Gitlab system events
Closes [ISSUE #9625 ]
Signed-off-by: Kamuri Amorim <myk.gata14@gmail.com >
* tests(gitlab.SystemHookEvents): fix tests for gitlab.SystemHookEvents
Signed-off-by: Kamuri Amorim <myk.gata14@gmail.com >
---------
Signed-off-by: Kamuri Amorim <myk.gata14@gmail.com >
Co-authored-by: pasha-codefresh <pavel@codefresh.io >
2023-06-27 12:04:09 +03:00
Steve Ramage
06cd025119
fix: make webhook handler work in all configured application namespaces ( #11867 ) ( #12386 )
...
Signed-off-by: Steve Ramage <commits@sjrx.net >
Co-authored-by: Steve Ramage <commits@sjrx.net >
2023-03-24 10:49:45 -04:00
Dmitriy Mann
15edf103f9
fix: valid username in webhook URL matching regex ( #9055 ) ( #12203 )
...
This commit fixes incorrect regular expression used for URL matching.
Expected behavior: valid user info part is matched => webhook is sent.
Actual behavior: some valid user info is not matched, example: `ssh://user-name@example.com/org/repo` => webhook is not sent.
Context:
- [RFC 3986 3.2.1 - User Information](https://www.rfc-editor.org/rfc/rfc3986#section-3.2.1 )
- [Username validation regex in shadow Linux package](https://github.com/shadow-maint/shadow/blob/master/libmisc/chkname.c#L36 )
Signed-off-by: mdsjip <2284562+mdsjip@users.noreply.github.com >
2023-02-17 14:10:44 -05:00
Fish-pro
c85902c999
chore: use http constants instead of string ( #12334 )
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io >
2023-02-17 14:04:10 -05:00
Michael Crenshaw
212029d8c2
fix: multi-source app refresh ( #11772 ) ( #12217 )
...
* fix multi-source refresh
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* serialize nil and empty resolvedRevisions the same to avoid cache misses
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* more consistent naming
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* document duplication
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
* add todo
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2023-02-06 13:02:02 -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
someOne404
b5d8d5a02b
chore: wrap error objects to include context ( #10904 )
...
Signed-off-by: Jiayi Lu <jiayi_lu@intuit.com >
Signed-off-by: Jiayi Lu <jiayi_lu@intuit.com >
2022-10-12 09:15:11 -04:00
Jake
00a1ce6bb2
chore: add security logs to webhook verification failures ( #10372 )
...
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
Signed-off-by: notfromstatefarm <86763948+notfromstatefarm@users.noreply.github.com >
2022-10-09 14:09:44 -04:00
Liam Jarvis
b8ad57f2d4
fix: Handle github ping webhook event ( #7555 ) ( #10082 )
...
- Add github ping event handler
- Move webhook data to testdata folder
Signed-off-by: Liam Jarvis <jarviliam@gmail.com >
2022-07-28 09:28:38 -04:00
Jim Wright
61c09dd748
Support files in argocd.argoproj.io/manifest-generate-paths annotation ( #9908 )
...
Signed-off-by: Jim Wright <jmwri93@gmail.com >
2022-07-08 08:53:45 -04:00
jannfis
f34687bd80
chore: Replace deprecated ioutil in util packages ( #9848 )
...
Signed-off-by: jannfis <jann@mistrust.net >
2022-07-06 12:45:04 -04:00
Nicolas Fillot
a588e63e3c
[ArgoCD] Fixing webhook typo in case of error in GetManifests ( #9671 )
...
Signed-off-by: Nicolas Fillot <nfillot@weborama.com >
Co-authored-by: Nicolas Fillot <nfillot@weborama.com >
2022-06-23 09:26:28 -04:00
Michael Crenshaw
c478617148
log: debug manifest cache ( #9602 )
...
* log: debug manifest cache
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
fix silly refactor
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* fix tests
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* shorter function signatures
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* less duplication
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
2022-06-16 11:02:32 -04:00
Michael Crenshaw
ad1ed1d51b
chore: add target revision tests ( #7963 )
...
* fix: add nil check, add revision tests, add docs about webhook behavior
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* chore: move single-use function into test
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* chore: add comment about why some tests are absent
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* chore: fix text names
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
2021-12-17 13:33:57 -08:00
Michael Crenshaw
914fb8337e
fix: webhook URL matching edge cases ( #7981 )
...
* fix: webhook URL matching edge cases
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* docs: docstring
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* chore: lint
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
* chore: move logging to non-utility function
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev >
2021-12-17 20:47:55 +01:00
jomenxiao
17c6daa9ea
fix: targetervision compatible without prefix refs/heads or refs/tags ( #7939 )
...
fix: targetervision compatible without prefix refs/heads or refs/tags (#7939 )
Signed-off-by: jomen.xiao <jomenxiao@gmail.com >
2021-12-15 10:56:31 -08:00
Alexander Matyushentsev
6d8ff61b16
fix: improve migration from label to annotation tracking ( #7899 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2021-12-10 16:14:38 -08:00
saprette
30ede1c4bf
fix: Webhook does not trigger refresh when using target revision format refs/heads/<branch name> ( #6800 )
...
* fix: [#6785 ] Webhook does not trigger refresh when using target revision format refs/heads/<branch name>
Signed-off-by: Samuel Prette <samuel.prette@clearstream.com >
* fix: Update tests for [#6785 ] fix
Signed-off-by: Samuel Prette <samuel.prette@clearstream.com >
2021-07-26 12:47:34 -07:00
Josh Soref
1602ec992d
chore: Spelling ( #5373 )
...
* spelling: across
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: anyway
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: assessment
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: attribute
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: crlf
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: cmux
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: committed
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: convenience
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: does-not
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: e.g.
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: fall back
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: fall back to
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: then ... falls back
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: formatted
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: github
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: gitlab
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: gitops
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: health checks
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: located
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: logging
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: oidc
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: openshift
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: os
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: powershell
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: preferred
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: redact
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: repo
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: similarly
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: staging
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: statefulset
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: stopped
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: superseded
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: synchronization
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: to
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: unified
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: verification
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
* spelling: zookeeper
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com >
2021-07-13 19:02:03 +02:00
Alexander Matyushentsev
3dd5dc44ac
fix: repo-server should reset manifests cache when k8s version/api versions change ( #6434 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2021-06-08 16:10:24 -07:00
Shoubhik Bose
cc4eea0d69
chore: Organize Application-related defaults/constants in the Application API's package. ( #5893 )
...
chore: Organize Application-related defaults/constants in the Application API's package. (#5893 )
Signed-off-by: Shoubhik Bose <shbose@redhat.com >
2021-05-19 12:43:04 -07:00
Alexander Matyushentsev
9b32e01104
feat: cache resolved git/helm repository revisions ( #6102 )
...
* feat: cache resolved git/helm repository revisions
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2021-05-19 12:30:15 -07:00
Shoubhik Bose
6aee524e0a
chore: compile-time validation of adherence to interface contract ( #5850 )
...
* fix: compile time validation of interface contract
Signed-off-by: Shoubhik Bose <shbose@redhat.com >
* fix: application specific parameter override is not reflected in application parameters tab (#5845 )
Signed-off-by: May Zhang <may_zhang@intuit.com >
Signed-off-by: Shoubhik Bose <shbose@redhat.com >
* chore: compile time resolution
Signed-off-by: Shoubhik Bose <shbose@redhat.com >
* chore: adherance to contract
Signed-off-by: Shoubhik Bose <shbose@redhat.com >
* Revert "fix: application specific parameter override is not reflected in application parameters tab (#5845 )"
This reverts commit 43c8012062 .
Signed-off-by: Shoubhik Bose <shbose@redhat.com >
Co-authored-by: May Zhang <may_zhang@intuit.com >
2021-04-15 12:45:57 -07:00
Marcel Hoyer
5bc7297934
fix: bitbucket server failing diagnostics:ping ( #6029 ) ( #6034 )
...
Signed-off-by: Marcel Hoyer <m.hoyer@cid.com >
Co-authored-by: Marcel Hoyer <m.hoyer@cid.com >
2021-04-14 13:18:12 -07:00
jannfis
ae49b45249
chore: Upgrade Go module to v2 ( #5931 )
...
* chore: Upgrade Go module to v2
Signed-off-by: jannfis <jann@mistrust.net >
* Restore import order
Signed-off-by: jannfis <jann@mistrust.net >
* fix knowntypes_normalizer codegen error
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* fix codegen
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
* fix Procfile
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
Co-authored-by: Alexander Matyushentsev <AMatyushentsev@gmail.com >
2021-04-01 20:44:18 +02:00
Mikhail Nacharov
f665a74e65
fix: return http400/405 to invalid webhook requests ( #5565 )
...
Fixes #5124
Signed-off-by: Mikhail Vladimirovich Nacharov <author@mnacharov.ru >
Co-authored-by: Mikhail Vladimirovich Nacharov <author@mnacharov.ru >
2021-02-20 19:51:12 +01:00
Alexander Matyushentsev
97003caebc
fix: webhook don't refresh apps pointing to HEAD ( #4717 )
2020-10-30 11:13:03 -07:00
Alexander Matyushentsev
21304ee2c5
feat: Annotation based app paths detection in webhooks ( #4699 )
...
* feat: Annnotation based app prefix detection in webhooks
* webhook should copy previously generated manifests cache if new commit does not introduce any changes
* use 'argocd.argoproj.io/manifest-generate-paths' annotation to specify paths
Co-authored-by: Carson Anderson <ca@carsonoid.net >
2020-10-29 13:17:54 -07:00
lonfme
9af729c738
fix: ssh repo url match failed when webhook github http custom port ( #4532 )
2020-10-22 13:05:05 -07:00