Commit Graph
19 Commits
Author SHA1 Message Date
Alexandre GaudreaultandGitHub 07b0790dcf test(e2e): oras binary not found locally if not installed in path (#25751)
Signed-off-by: Alexandre Gaudreault <[email protected]>
2025-12-19 11:34:06 -05:00
Papapetrou PatroklosandGitHub 97cc31dd46 chore: allow devs to run locally a subset of e2e tests (#25514)
Signed-off-by: Patroklos Papapetrou <[email protected]>
2025-12-08 10:00:38 +02:00
Nitish KumarandGitHub c7563e50b1 chore: check for gotestsum installation when running tests locally (#24271)
Signed-off-by: nitishfy <[email protected]>
2025-08-26 13:13:01 +03:00
Oliver GondžaandGitHub 0522bc53d3 fix: Address shellcheck detected shell warnings (#22686)
Signed-off-by: Oliver Gondža <[email protected]>
2025-07-18 07:38:27 -04:00
Regina VoloshinandGitHub ad21d317b0 fix: make test fails with exec format error (#21630)
Signed-off-by: reggie-k <[email protected]>
2025-01-24 08:16:35 -05:00
a08746fc07 feat: adding gocover to e2e tests (#18130) (#18537)
* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* feat: adding go coverage to e2e tests

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

* try putting profiles in different directories

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

* does this upload the whole directory?

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

* create directories and only run one test

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

* shut everything down before uploading coverage

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

* don't fail on goreman failure

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

* sleep 30

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

* always upload server output

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

* fix: implement graceful shutdown for api server

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* Shutdown servers in parallel

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* add noop shutdown function on api server constructor

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* fix waitgroup

Signed-off-by: Leonardo Luz Almeida <[email protected]>

* more attempts to gracefully shut down

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

* more tests

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

* cleanup

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

* revert graceful shutdown work, needs more work

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

* more graceful shutdown cleanup

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

* lint

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

* feat: adding go coverage to e2e tests

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

---------

Signed-off-by: rumstead <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
Signed-off-by: Leonardo Luz Almeida <[email protected]>
Co-authored-by: Michael Crenshaw <[email protected]>
Co-authored-by: Leonardo Luz Almeida <[email protected]>
2024-06-13 14:17:07 -04:00
Zadkiel AHARONIANandGitHub fb45843191 chore: allow override of default e2e test args (#18415)
Signed-off-by: Zadkiel AHARONIAN <[email protected]>
2024-06-04 22:45:53 -04:00
Michael CrenshawandGitHub 5a13332402 feat(ci): retry individual e2e tests (#15696) 2023-09-28 17:05:10 +00:00
cc1b6d03da chore: upgrade to go 1.20 (#12014)
* chore: Upgrade Golang to 1.19 (#10176) (#10186)

* Upgrade Golang to 1.19

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

* go mod tidy with go 1.19

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

* Replace deprecated ioutil

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

* make codegen changes

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

* Codegen Changes

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

chore: upgrade golangci-lint to 1.50.1

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

missed a spot

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

tidy

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

fix bad merge

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

Author:    Michael Crenshaw <[email protected]>
Co-Authored-By: OmarKalloush <[email protected]>

fix indentation

fix lint and codegen

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

* 1.20

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

* fix lint errors

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

* fix "syntax error: unexpected var after top level declaration" in "make test-race-local"

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

---------

Signed-off-by: Michael Crenshaw <[email protected]>
Co-authored-by: OmarKalloush <[email protected]>
2023-02-17 15:21:14 -05:00
Dan MolikandGitHub 0cec6a4dc5 feat: New SCM and pull request ApplicationSet generators for Gitea (#8989)
* feat: New SCM and pull request ApplicationSet generators for Gitea

An initial implementation of Pull Request and SCM generators for Gitea.

API paging, and repo labels have not been implemented.

Signed-off-by: Dan Molik <[email protected]>

* chore: white space in hack/test.sh

re-trigger linting check

Signed-off-by: Dan Molik <[email protected]>

* chore: add gitea_scm and gitea_pr tests

Signed-off-by: Dan Molik <[email protected]>

* bug: ensure gitea scm haspath detects directories correctly

Signed-off-by: Dan Molik <[email protected]>
2022-04-07 09:08:54 -04:00
Michael CrenshawandGitHub 9c2d7c0460 chore: use go install instead of deprecated go get (#8333)
* chore: use go install instead of deprecated go get

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

* docs: readme fixes

Signed-off-by: Michael Crenshaw <[email protected]>
2022-02-01 18:59:58 -08:00
Alexander MatyushentsevandGitHub 40b58cac0f chore: use go embed instead of packr (#6262)
Signed-off-by: Alexander Matyushentsev <[email protected]>
2021-05-18 20:46:17 -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
jannfisandGitHub dfb062ca0e chore: Migrate CI toolchain to GitHub actions (#3677)
* chore: Migrate CI to GitHub actions

* Do not install golangci-lint, we use the action

* Integrate codecov.io upload

* Use some better names for analyze job & steps

* go mod tidy

* Update tools

* Disable CircleCI completely

* Satisfy CircleCI with a dummy step until it's disabled
2020-05-31 23:11:28 +02:00
jannfisandGitHub d8ee48e7a6 chore: Migrate to Go modules (#3639)
* chore: Migrate to Go modules

* Update CircleCI config

* Fix path

* Attach vendor for test step correctly

* restore_vendor -> attach_vendor

* Update cache path

* Checkout code before attaching vendor

* Move checkout to even earlier in job

* Don't restore cache for e2e step

* .

* Explicitly set GOPATH

* Restore Build cache

* Fix permissions

* Set correct environment for docker env

* Uncache everything

* Fix permissions

* Use workspace for caching Go code

* .

* go mod tidy

* Try to speed up builds

* Make mod target implicit dependencies

* Do not call make mod-download or mod-vendor

* Fix permissions

* Don't have modules dependendencies on test-e2e-local

* Fix confgi

* Bye bye

* Remove test parallelism

* Get max test parallelism back in, but with lower value
2020-05-26 18:15:38 +02:00
jannfisandGitHub 12d036f6e8 chore: Containerize complete build & test toolchain (#3245)
chore: Containerize complete build & test toolchain
2020-03-27 11:36:20 -07:00
4df619adde feat: improve api-server and controller performance (#3222)
* group read comparison settings during app reconciliation
* Reduce lock contention in clusterInfo::ensureSynced(). Add getRepoObj stats
* Remove additional source of lock contention
* Exclude the coordination.k8s.io/Lease resource

Co-authored-by: Alexander Matyushentsev <[email protected]>
2020-03-16 11:51:59 -07:00
Alexander MatyushentsevandGitHub 827c30ea6d Issue #2592 - Remove transitive dependency on packr (#2631) 2019-11-04 10:41:43 -08:00
Alex CollinsandGitHub ad7a35c484 Final optimisations (#2486) 2019-10-15 09:15:33 -07:00