dudinea
fe4ab01cba
fix: capture stderr in executil RunWithExecRunOpts ( #25139 )
...
Signed-off-by: Eugene Doudine <eugene.doudine@octopus.com >
2025-11-02 17:01:38 +02: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
Hazel Sudzilouski
44fce0e478
fix: add fatal timeout upgrade with SIGKILL to ARGO_EXEC_TIMEOUT ( closes #20785 , #18478 ) ( #22713 )
...
Signed-off-by: Hazel Sudzilouski <dsudzilouski@olin.edu >
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com >
2025-06-13 15:59:45 +00: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
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
Michael Crenshaw
d2da1b3f4e
chore: move pkg/exec in-tree ( #22175 ) ( #22460 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2025-03-24 14:29:34 -04:00
renovate[bot]
b39f3b15fb
chore(deps): update module github.com/golangci/golangci-lint to v1.62.0 ( #20737 )
...
* chore(deps): update module github.com/golangci/golangci-lint to v1.62.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix lint issues
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
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>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-11-11 05:28:48 +00:00
Matthieu MOREL
1c6ec19a86
fix: use ErrorContains(t, err instead of Contains(t, err.Error() ( #20220 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-10-04 09:36:05 -04:00
Michael Crenshaw
82e5363634
fix: handle logging empty args in strings ( #19324 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-08-06 16:41:35 -04:00
Michael Crenshaw
21fe286f6e
chore(refactor): move util function to util package ( #19192 )
...
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
2024-07-25 10:33:16 -04:00
Matthieu MOREL
311c0599d9
chore: enable require-error rule from testifylint linter ( #18621 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-06-12 21:53:29 -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
Artur Rodrigues
e510a77a1d
fix: repo-server - prevent locked state after unclean git checkout ( #7898 ) ( #11805 )
...
* Pull in new version of argoproj/pkg
Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net >
* Allow timeout behavior to be specified in util/exec/exec
Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net >
* Git processes receive SIGTERM when timedout
Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net >
* Update util/exec/exec_test.go
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com >
---------
Signed-off-by: Artur Rodrigues <artur.rodrigues@lacework.net >
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-02-01 12:59:34 -05:00
kshamajain99
7abfbe8178
fix: don't log certain fields ( #5662 )
...
* fix: support longer cookie
Signed-off-by: kshamajain99 <kshamajain99@gmail.com >
* merge conflicts
Signed-off-by: kshamajain99 <kshamajain99@gmail.com >
* fix: don't log certain fields
Signed-off-by: kshamajain99 <kshamajain99@gmail.com >
2021-03-02 18:38:16 -08:00
Alexander Matyushentsev
ba71ad934c
refactor: upgrade k8s client to 1.18 ( #4046 )
...
* refactor: upgrade k8s client to 1.18
* remove unnecessary go mod replacements
2020-08-05 11:36:40 -07:00
Alexander Matyushentsev
192ee93fc4
feat: Gitops engine ( #3066 )
...
* Move utils packages that are required for gitops engine under engine/pkg/utils package.
Following changes were implemented:
* util/health package is split into two parts: resource health assessement & resource health assessement and moved into engine/pkg/utils
* utils packages moved: Closer and Close method of util package moved into engine/pkg/utils/io package
* packages diff, errors, exec, json, kube and tracing moved into engine/pkg/utils
* Move single cluster caching into engine/kube/cache package
* move sync functionality to engine/kube/sync package
* remove dependency on metrics package from engine/pkg/utils/kube/cache
* move annotation label definitions into engine/pkg/utils/kube/sync
* make sure engine/pkg has no dependencies on other argo-cd packages
* allow importing engine as a go module
* implement a high-level interface that might be consumed by flux
* fix deadlock caused by cluster cache event handler
* ClusterCache should return error if requested group kind not found
* remove obsolete tests
* apply reviewer notes
2020-05-15 10:01:18 -07:00
Alex Collins
cb4898acb5
Adds tracing to key external invocations. ( #2811 )
2019-12-05 13:35:20 -08:00