Sean Liao
6743cdf9cc
chore: don't read current user git configs in tests ( #27172 )
...
Signed-off-by: Sean Liao <sean@liao.dev>
2026-04-08 10:53:50 -04:00
Blake Pettersson
a87aab146e
chore(ci): attempt to make test less flaky ( #26890 )
...
Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
2026-03-18 13:02:42 -04:00
Alexander Matyushentsev
984a29c921
fix: skip unnecessary git state clean ( #26714 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2026-03-09 12:58:31 +05:30
Rodrigo Fior Kuntzer
b61b08d18b
fix(repo-server): optimize short ref resolution in revision comparison ( #26456 )
...
Signed-off-by: Rodrigo Fior Kuntzer <rodrigo@miro.com>
2026-03-02 14:57:04 -05:00
pbhatnagar-oss
bbc3e99aa4
feat(repo): add support for github app authentication without installationid ( #25339 ) ( #25374 )
...
Signed-off-by: pbhatnagar-oss <pbhatifiwork@gmail.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>
2025-12-14 16:11:49 -05:00
Alexander Matyushentsev
1b08fd1004
feat: add ability to use shallow clone for repositories ( #24931 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2025-11-03 13:00:59 -08:00
Matthieu MOREL
7357465ea6
chore: enable noctx linter ( #24765 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-09-29 20:20:53 +02:00
Matthieu MOREL
7cc360e5af
chore(lint): enable mapKey rule from go-critic ( #23417 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2025-06-16 14:03:28 -04: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
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
Nitish Kumar
dd5a8780e1
feat: add ability to exclude files when using git file generator ( #22734 )
...
Signed-off-by: nitishfy <justnitish06@gmail.com>
2025-05-15 03:55:27 +00: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
Atif Ali
f6f10c0521
fix: handle annotated git tags correctly in repo server cache ( #21771 )
...
Signed-off-by: Atif Ali <atali@redhat.com>
2025-03-18 11:46:19 -04:00
Andrii Korotkov
62ec9fef36
fix: Use t.Fatal instead of os.Exit in tests (part 2) ( #21003 ) ( #22187 )
...
Signed-off-by: Andrii Korotkov <andrii.korotkov@verkada.com>
2025-03-06 19:24:07 +00:00
Regina Voloshin
8044d68492
feat: add bearer token auth ( #21462 )
...
Signed-off-by: reggie-k <regina.voloshin@codefresh.io>
Co-authored-by: Pasha Kostohrys <pasha.kostohrys@gmail.com>
2025-02-24 12:44:07 +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
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
433b317c35
feat: source hydrator ( #20345 )
...
* feat(hydrator): add sourceHydrator types
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix(codegen): use kube_codegen.sh deepcopy and client gen correctly
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
deepcopy gen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* feat(hydrator): add commit-server component
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
go mod tidy
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
one test file for both implementations
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>
fix test for linux
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix git client mock
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix git client mock
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
address comments
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
unit tests
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>
fix image, fix health checks, fix merge issue
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix lint issues
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
remove code that doesn't work for GHE
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
changes from comments
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
allow opt-in
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
separation between app controller and hydrator
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify diff
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
todos
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>
add dry sha to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
add app name to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
more logging, no caching
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix cluster install
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't interrupt an ongoing hydrate operation
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
revert hydrate loop fix
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
handle project-scoped repo creds
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>
improve docs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fixes from comments
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* set hydrator enabled key when using hydrator manifests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix manifests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
improve docs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
allow opt-in
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
separation between app controller and hydrator
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify diff
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
todos
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>
add dry sha to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
add app name to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
more logging, no caching
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix cluster install
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't interrupt an ongoing hydrate operation
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
revert hydrate loop fix
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
handle project-scoped repo creds
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>
improve docs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fixes from comments
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* feat(hydrator): add sourceHydrator types
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix(codegen): use kube_codegen.sh deepcopy and client gen correctly
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
deepcopy gen
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
allow opt-in
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
separation between app controller and hydrator
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify diff
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
todos
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>
add dry sha to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
add app name to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
more logging, no caching
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix cluster install
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't interrupt an ongoing hydrate operation
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
revert hydrate loop fix
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
handle project-scoped repo creds
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>
* feat(hydrator): write credentials handling + UI
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
feat(hydrator): enable controller
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Co-authored-by: Omer Azmon <omer_azmon@intuit.com>
Co-authored-by: daengdaengLee <gunho1020@gmail.com>
Co-authored-by: Juwon Hwang (Kevin) <juwon8891@gmail.com>
Co-authored-by: thisishwan2 <feel000617@gmail.com>
Co-authored-by: mirageoasis <kimhw0820@naver.com>
Co-authored-by: Robin Lieb <robin.j.lieb@gmail.com>
Co-authored-by: miiiinju1 <gms07073@ynu.ac.kr>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
allow opt-in
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
separation between app controller and hydrator
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
simplify diff
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
todos
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>
add dry sha to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
add app name to logs
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
more logging, no caching
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix cluster install
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't interrupt an ongoing hydrate operation
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
revert hydrate loop fix
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
feat(hydrator): write credentials handling + UI
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
WIP: add new APIs for write creds
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
write api and template api
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix time function
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix lint issues
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't enrich with read creds
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
revert tls change
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't disable buttons in UI
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
ask repo server for specific revision
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fixes
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
lint ui
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
remove unnecessary change
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
fix test and lint
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>
enable hydrator for e2e tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* free disk space for e2e tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
don't free disk space
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* free disk space for e2e tests
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* remove comment that breaks auth
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* try removing extra function
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* cleanup from comments
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* fix test
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
---------
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2024-12-16 16:59:09 -05:00
Paul Larsen
7de5d27dc0
fix: Rework git tag semver resolution ( #20083 ) ( #20096 )
...
* Write initial tests
Signed-off-by: Paul Larsen <pnvlarsen@gmail.com>
* Improve git tag semver resolution
Signed-off-by: Paul Larsen <pnvlarsen@gmail.com>
* Add company to list of users
Signed-off-by: Paul Larsen <pnvlarsen@gmail.com>
* Fix broken error string check
Signed-off-by: Paul Larsen <pnvlarsen@gmail.com>
* Fix incorrect semver test assumption
Signed-off-by: Paul Larsen <pnvlarsen@gmail.com>
* switch to debug statement
Signed-off-by: Paul Larsen <pnvlarsen@gmail.com>
* Add more testcases for review
Signed-off-by: Paul Larsen <pnvlarsen@gmail.com>
* review comments
Signed-off-by: Paul Larsen <pnvlarsen@gmail.com>
---------
Signed-off-by: Paul Larsen <pnvlarsen@gmail.com>
2024-10-03 15:52:01 +05:30
Nathanael Liechti
bacdceda79
feat: allow no_proxy to be specified on repoCreds ( #18526 )
...
Signed-off-by: Nathanael Liechti <technat@technat.ch>
2024-08-20 12:54:39 -04:00
Matthieu MOREL
eac08dcf79
chore: extend require-error rule from testifylint ( #18681 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-06-15 13:51:18 -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
32519c70a5
chore: enable error-nil rule from testifylint linter ( #18544 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-06-10 10:38:55 -04:00
Matthieu MOREL
44b8dc1a4c
chore: enable len and empty rules from testifylint linter ( #18516 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-06-07 15:12:50 -04:00
Pablo Aguilar
e54e45e1fd
feat: changes git client to resolve semantic versioning tags ( #17566 )
...
* feat: changes git client to resolve semantic versioning tags
Signed-off-by: Pablo Aguilar <pablo.aguilar@outlook.com.br>
* docs: update documentation
Signed-off-by: Pablo Aguilar <pablo.aguilar@outlook.com.br>
* feat: simplify `resolveSemverRevision` method
Signed-off-by: Pablo Aguilar <pablo.aguilar@outlook.com.br>
* chore: add two more test cases
Signed-off-by: Pablo Aguilar <pablo.aguilar@outlook.com.br>
* chore: update `resolveSemverRevision` behavior
Signed-off-by: Pablo Aguilar <pablo.aguilar@outlook.com.br>
* chore: add end to end test
Signed-off-by: Pablo Aguilar <pablo.aguilar@outlook.com.br>
* chore: fix end to end test
Signed-off-by: Pablo Aguilar <pablo.aguilar@outlook.com.br>
* chore: improve semver constraint e2e testing
Signed-off-by: Pablo Aguilar <pablo.aguilar@outlook.com.br>
---------
Signed-off-by: Pablo Aguilar <pablo.aguilar@outlook.com.br>
2024-06-05 20:25:06 -04:00
Matthieu MOREL
71e1f30741
fix: enable bool-compare rule from testifylint linter ( #18414 )
2024-06-05 18:13:45 -04:00
Leonardo Luz Almeida
5ae342a6de
chore: fix unit-tests ( #18215 )
...
Signed-off-by: Leonardo Luz Almeida <leonardo_almeida@intuit.com>
2024-05-14 13:30:57 -04:00
Eng Zer Jun
03026997d1
chore: use t.Setenv to set env vars in tests ( #14377 )
...
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-07-06 19:50:08 -04:00
satoru
77fbfc84f9
chore: just use strings.TrimSuffix ( #14248 )
...
It's implemented in the same way in the standard library.
Signed-off-by: satoru <satorulogic@gmail.com>
2023-06-28 09:46:49 -04:00
Calchan
96567956d0
fix: add optional safer Git file generator globbing ( #13313 ) ( #13314 )
...
Signed-off-by: Denis Dupeyron <denis.dupeyron@gmail.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-05-27 21:15:03 -04: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
jannfis
b600da1318
feat: Allow force of basic auth for HTTP repositories ( #11983 )
...
* feat: Allow force of basic auth for HTTP repositories
Signed-off-by: jannfis <jann@mistrust.net>
* Some docs
Signed-off-by: jannfis <jann@mistrust.net>
---------
Signed-off-by: jannfis <jann@mistrust.net>
2023-02-01 13:11:46 -05:00
my-git9
675cbf40d4
test: Add logic to handle for fileHandle.Close() ( #10632 )
...
Signed-off-by: xin.li <xin.li@daocloud.io>
Signed-off-by: xin.li <xin.li@daocloud.io>
2022-09-22 19:31:40 -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
ls0f
f831c07443
chore: Simplified GetRepoHTTPClient function ( #9396 )
...
* chore: Simplified GetRepoHTTPClient function
Signed-off-by: ls0f <lovedboy.tk@qq.com>
* simplified code and improve unit test coverage
Signed-off-by: ls0f <lovedboy.tk@qq.com>
2022-05-25 15:13:26 -04:00
Eng Zer Jun
60de0b697f
test: use T.TempDir to create temporary test directory ( #9126 )
...
This commit replaces `ioutil.TempDir` with `t.TempDir` in tests. The
directory created by `t.TempDir` is automatically removed when the test
and all its subtests complete.
Prior to this commit, temporary directory created using `ioutil.TempDir`
needs to be removed manually by calling `os.RemoveAll`, which is omitted
in some tests. The error handling boilerplate e.g.
defer func() {
if err := os.RemoveAll(dir); err != nil {
t.Fatal(err)
}
}
is also tedious, but `t.TempDir` handles this for us nicely.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-04-17 20:43:57 -04:00
Alexander Matyushentsev
764b7a627d
refactor: use argocd-git-ask-pass to pass git credentials to git/kustomize ( #8516 )
...
refactor: use argocd-git-ask-pass to pass git credentials to git/kustomize (#8516 )
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
2022-02-22 17:57:11 -08:00
Michael Crenshaw
f462240520
chore: pass submodulesEnabled explicitly to avoid implicit parameter ( #8337 )
...
* chore: pass submodulesEnabled explicitly to avoid implicit parameter
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
* fix: update mock
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
* chore: lint
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
* fix: mock checkout invocations w/ 2 params
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
* chore: remove unnecessary comment
Signed-off-by: Michael Crenshaw <michael@crenshaw.dev>
2022-02-16 12:55:14 -08:00
pasha-codefresh
3952f66fc7
fix: remove not existing repo ( #7280 )
...
* remove not existing repo
Signed-off-by: pashavictorovich <pavel@codefresh.io>
* fix test
Signed-off-by: pashavictorovich <pavel@codefresh.io>
2021-09-22 14:27:07 +02: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
Chetan Banavikalmutt
9476ab5e18
feat: add first class support to access repositories using proxy ( #5581 ) ( #6286 )
...
* feat: add first class support to access repositories using proxy
Currently, users need to set the proxy URLs as env variables in the repo server. This is not user-friendly and also error-prone. This PR adds support to maintain proxy URLs along with repository configs in the argocd-cm. Argo CD uses this proxy to access your repository. In case the custom proxy is absent, it defaults to reading the proxy from the env variables.
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
* set both http & https proxy variables
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
2021-06-16 14:45:10 +02: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
Yujun Zhang
ad1dd825c6
feat: support fetch refs ( #4893 )
...
Signed-off-by: Yujun Zhang <yujunz@nvidia.com>
2021-01-04 10:19:00 -08:00
Tim Etchells
86031504af
feat: Add autocomplete for repo Revisions ( #4645 ) ( #4713 )
...
* feat: Add autocomplete for repo Revisions
- Introduces api/v1/repositories/{repo}/refs which returns branches and tags
- Add new RevisionFormField component to Create and Edit Application pages
Signed-off-by: Tim Etchells <tetchell@redhat.com>
2020-11-01 19:25:37 -08:00
jannfis
be718e2b61
feat: GPG commit signature verification ( #2492 ) ( #3242 )
...
* Add initial primitives and tests for GPG related operations
* More tests and test documentation
* Move gpg primitives to own module
* Add initial primitives for running git verify-commit and tests
* Improve and better comment test
* Implement VerifyCommitSignature() primitive for metrics wrapper
* More commentary
* Make reposerver verify gpg signatures when generating manifests
* Make signature validation optional
* Forbid use of local manifests when signature verification is enabled
* Introduce new signatureKeys field in project CRD
* Initial support for only syncing against signed revisions
* Updates to GnuPG primitives and more test cases
* Move signature verification to correct place and add tests
* Add signature verification result to revision metadata and display it in UI
* Add more primitives and move out some stuff to common module
* Add more testdata
* Add key management primitives to ArgoDB
* Move type GnuPGPublicKey to appsv1 package
* Add const ArgoCDGPGKeysConfigMapName
* Handle key operations with appsv1.GnuPGPublicKey
* Add initial API for managing GPG keys
* Remove deprecated code
* Add primitives for adding public keys to configuration
* Change semantics of ValidateGPGKeys to return more key information
* Add key import functionality to public key API
* Fix code quirks reported by linter
* More code quirks fixes
* Fix test
* Add primitives for deleting keys from configuration
* Add delete key operation to API and CLI
* Cosmetics
* Implement logic to sync configuration to keyring in repo-server
* Add IsGPGEnabled() primitive and also update trustdb on ownertrust changes
* Use gpg.IsGPGEnabled() instead of custom test
* Remove all keyring manipulating methods from DB
* Cosmetics/comments
* Require grpc methods from argoproj pkg
* Enable setting config path via ARGOCD_GPG_DATA_PATH
* Allow "no" and any cases in ARGOCD_GPG_ENABLED
* Enable GPG feature on start and start-e2e and set required environment
* Cosmetics/comments
* Cosmetics and commentary
* Update API documentation
* Fix comment
* Only run GPG related operations if GPG is enabled
* Allow setting ARGOCD_GPG_ENABLE from the environment
* Create GPG ConfigMap resource during installation
* Use function instead of constant to get the watcher path
* Re-watch source path in case it gets recreated. Also, error on finish
* Add End-to-End tests for GPG commit verification
* Introduce SignatureKey type for AppProject CRD
* Fix merge error from previous commit
* Adapt test for additional manifest (argocd-gpg-keys-cm.yaml)
* Fix linter issues
* Adapt CircleCI configuration to enable running tests
* Add wrapper scripts for git and gpg
* Sigh.
* Display gpg version in CircleCI
* Install gnupg2 and link it to gpg in CI
* Try to install gnupg2 in CircleCI image
* More CircleCI tweaks
* # This is a combination of 10 commits.
# This is the 1st commit message:
Containerize tests - test cycle
# This is the commit message #2 :
adapt working directory
# This is the commit message #3 :
Build before running tests (so we might have a cache)
# This is the commit message #4 :
Test limiting parallelism
# This is the commit message #5 :
Remove unbound variable
# This is the commit message #6 :
Decrease parallelism to find out limit
# This is the commit message #7 :
Use correct flag
# This is the commit message #8 :
Update Docker image
# This is the commit message #9 :
Remove build phase and increase parallelism
# This is the commit message #10 :
Further increase parallelism
* Dockerize toolchain
* Add new targets to Makefile
* Codegen
* Properly handle permissions for E2E tests
* Remove gnupg2 installation from CircleCI configuration
* Limit parallelism of build
* Fix Yarn lint
* Retrigger CI for possible flaky test
* Codegen
* Remove duplicate target in Makefile
* Pull in pager from dep ensure -v
* Adapt to gitops-engine changes and codegen
* Use new health package for health status constants
* Add GPG methods to ArgoDB mock module
* Fix possible nil pointer dereference
* Fix linter issue in imports
* Introduce RBAC resource type 'gpgkeys' and adapt policies
* Use ARGOCD_GNUPGHOME instead of GNUPGHOME for subsystem configuration
Also remove some deprecated unit tests.
* Also register GPG keys API with gRPC-GW
* Update from codegen
* Update GPG key API
* Add web UI to manage GPG keys
* Lint updates
* Change wording
* Add some plausibility checks for supplied data on key creation
* Update from codegen
* Re-allow binary keys and move check for ASCII armoured to UI
* Make yarn lint happy
* Add editing signature keys for projects in UI
* Add ability to configure signature keys for project in CLI
* Change default value to use for GNUPGHOME
* Do not include data section in default gpg keys CM
* Adapt Docker image for GnuPG feature
* Add required configuration to installation manifests
* Add add-signature-key and remove-signature-key commands to project CLI
* Fix typo
* Add initial user documentation for GnuPG verification
* Fix role name - oops
* Mention required RBAC roles in docs
* Support GPG verification of git annotated tags as well
* Ensure CLI can build succesfully
* Better support verification on tags
* Print key type in upper case
* Update user documentation
* Correctly disable GnuPG verification if ARGOCD_GPG_ENABLE=false
* Clarify that this feature is only available with Git repositories
* codegen
* Move verification code to own function
* Remove deprecated check
* Make things more developer friendly when running locally
* Enable GPG feature by default, and don't require ARGOCD_GNUPGHOME to be set
* Revert changes to manifests to reflect default enable state
* Codegen
2020-06-22 18:21:53 +02:00
jannfis
9e81c38c13
fix: Handle SSH URLs in 'git@server:org/repo' notation correctly ( #3062 )
...
* Handle invalid repo URLs better
* Safeguard Git repository root at client creation
2020-01-31 01:14:22 -08:00
jannfis
0fab3707cc
Allow '@'-character in SSH usernames when connecting a repository ( #2612 )
2019-11-01 11:03:28 -07:00
Alexander Matyushentsev
96764c4d49
Use configured certificate to access helm repository ( #2385 )
2019-09-30 19:20:27 -07:00
Alexander Matyushentsev
0b6c02391f
Refactor Helm client and unit test repo server ( #2377 )
2019-09-30 15:04:13 -07:00
Alexander Matyushentsev
0f7e9a1d28
Issue #2261 - Refactor Helm first class support ( #2364 )
...
* Issue #2261 - Refactor Helm first class support
* Address code review comments
* Remove unused field from GetAppDetails method
2019-09-26 12:05:12 -07:00