Commit Graph
24 Commits
Author SHA1 Message Date
Leonardo Luz AlmeidaandGitHub 3795f840c3 chore: fix gitops-engine mod name so it can be referenced by external repos (#26407)
Signed-off-by: Leonardo Luz Almeida <[email protected]>
2026-02-12 09:29:40 -05:00
dudineaandGitHub 8b4764fa26 fix: capture stderr in executil RunWithExecRunOpts (#25139)
Signed-off-by: Eugene Doudine <[email protected]>
2025-11-02 17:01:38 +02:00
Matthieu MORELandGitHub c16ce981b9 chore: enable noctx linter (#24765)
Signed-off-by: Matthieu MOREL <[email protected]>
2025-09-29 20:20:53 +02:00
59be7ac808 fix: add fatal timeout upgrade with SIGKILL to ARGO_EXEC_TIMEOUT (closes #20785, #18478) (#22713)
Signed-off-by: Hazel Sudzilouski <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
Co-authored-by: Alexandre Gaudreault <[email protected]>
2025-06-13 15:59:45 +00:00
Michael CrenshawandGitHub cb484f375f chore(lint): enable tparallel linter (#23318)
Signed-off-by: Michael Crenshaw <[email protected]>
2025-06-08 15:10:55 +02:00
Michael CrenshawGitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
7caee1cfbb 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 <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-27 12:37:52 -04:00
Michael CrenshawandGitHub ac1e32e339 chore: move pkg/exec in-tree (#22175) (#22460)
Signed-off-by: Michael Crenshaw <[email protected]>
2025-03-24 14:29:34 -04:00
8334da36f2 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 <[email protected]>
2025-01-10 16:14:00 -05:00
renovate[bot]GitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>Michael Crenshaw
cbc90b6379 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 <[email protected]>

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Crenshaw <[email protected]>
2024-11-11 05:28:48 +00:00
Matthieu MORELandGitHub 478219ef2e chore: enable perfsprint linter (#20685)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-11-10 21:00:57 -05:00
Matthieu MORELandGitHub 4f6f65afb1 fix: use ErrorContains(t, err instead of Contains(t, err.Error() (#20220)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-10-04 09:36:05 -04:00
Michael CrenshawandGitHub b718cf6104 fix: handle logging empty args in strings (#19324)
Signed-off-by: Michael Crenshaw <[email protected]>
2024-08-06 16:41:35 -04:00
Michael CrenshawandGitHub b71bcd6127 chore(refactor): move util function to util package (#19192)
Signed-off-by: Michael Crenshaw <[email protected]>
2024-07-25 10:33:16 -04:00
Matthieu MORELandGitHub d86baae20f chore: enable require-error rule from testifylint linter (#18621)
Signed-off-by: Matthieu MOREL <[email protected]>
2024-06-12 21:53:29 -04:00
Eng Zer JunandGitHub 9807275c7b 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 <[email protected]>
2023-07-06 19:50:08 -04:00
jannfisandGitHub 85ba1c2775 fix: Correctly verify signatures when targetRevision is a branch name (#14214)
* fix: Correctly verify signatures when targetRevision is a branch name

Signed-off-by: jannfis <[email protected]>

* Add more e2e tests

Signed-off-by: jannfis <[email protected]>

* Fix a bug and add unit test

Signed-off-by: jannfis <[email protected]>

---------

Signed-off-by: jannfis <[email protected]>
2023-06-27 10:56:45 -04:00
a8c0f7f848 fix: repo-server - prevent locked state after unclean git checkout (#7898) (#11805)
* Pull in new version of argoproj/pkg

Signed-off-by: Artur Rodrigues <[email protected]>

* Allow timeout behavior to be specified in util/exec/exec

Signed-off-by: Artur Rodrigues <[email protected]>

* Git processes receive SIGTERM when timedout

Signed-off-by: Artur Rodrigues <[email protected]>

* Update util/exec/exec_test.go

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Artur Rodrigues <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
2023-02-01 12:59:34 -05:00
AikawaandGitHub ddca6da103 fix: use current logrus config when logrus is created internally (#6234) (#6301)
fix: use current logrus config when logrus is created internally (#6234) (#6301)
Signed-off-by: yu-croco <[email protected]>
2021-05-28 16:27:57 -07:00
1d472ba293 chore: Upgrade Go module to v2 (#5931)
* chore: Upgrade Go module to v2

Signed-off-by: jannfis <[email protected]>

* Restore import order

Signed-off-by: jannfis <[email protected]>

* fix knowntypes_normalizer codegen error

Signed-off-by: Alexander Matyushentsev <[email protected]>

* fix codegen

Signed-off-by: Alexander Matyushentsev <[email protected]>

* fix Procfile

Signed-off-by: Alexander Matyushentsev <[email protected]>

Co-authored-by: Alexander Matyushentsev <[email protected]>
2021-04-01 20:44:18 +02:00
kshamajain99andGitHub 6f954b1764 fix: don't log certain fields (#5662)
* fix: support longer cookie

Signed-off-by: kshamajain99 <[email protected]>

* merge conflicts

Signed-off-by: kshamajain99 <[email protected]>

* fix: don't log certain fields

Signed-off-by: kshamajain99 <[email protected]>
2021-03-02 18:38:16 -08:00
Alexander MatyushentsevandGitHub 301d9bf4c9 refactor: upgrade gitops-engine version ( breaking API changes related to logr mirgation ) (#4652) 2020-10-27 14:10:24 -07:00
Alexander MatyushentsevandGitHub 2326678221 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 MatyushentsevandGitHub 171127a40f 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 CollinsandGitHub c4904e5c3e Adds tracing to key external invocations. (#2811) 2019-12-05 13:35:20 -08:00