Commit Graph

15 Commits

Author SHA1 Message Date
Sawjan Gurung
f479c29055 close channel after log scanner has completed (#7997) 2023-12-18 11:16:55 +01:00
jkoberg
003310a2b0 use nats-js cache
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-13 12:48:27 +01:00
Sawjan Gurung
a661257188 [tests-only][full-ci] Revert wrapper cleanup #7903 (#7922)
* Revert "remove unnecessary checks (#7903)"

This reverts commit c767076313.

* add logs

close channel

resolve panic

* set retry wait time
2023-12-13 11:43:54 +05:45
Sawjan Gurung
c767076313 remove unnecessary checks (#7903) 2023-12-08 08:11:36 +01:00
André Duffeck
04cb96662c Read from stderr and stdout concurrently to prevent buffers from filling
Without this change the stdout buffer could fill up, causing writes to
stdout hang indefinitely.
2023-11-29 12:23:05 +01:00
Sawjan Gurung
93e2c23e8e [tests-only] stop ocis server with sigint to allow gracefull shutdown (#7759)
* stop ocis with sigint to allow gracefull shutdown

* wait until ocis process is completely down
2023-11-21 16:46:44 +05:45
Saw-jan
d4be6a83a7 ociswrapper: break wait if server responds with 200 2023-09-21 17:00:37 +05:45
Saw-jan
5d64f169b3 cleanup mesh 2023-09-21 17:00:37 +05:45
Saw-jan
6e6ae38963 ociswrapper: mark server ready if the server sends any response 2023-09-21 17:00:36 +05:45
Saw-jan
2b67d0c382 ociswrapper: do not panic if the process has already finished 2023-09-21 17:00:36 +05:45
Saw-jan
3c97bc5c53 ociswrapper: retry restarting ocis if it dies 2023-09-21 17:00:36 +05:45
Sawjan Gurung
862ad4d0f2 [full-ci][ociswrapper] Check ocis connection by requesting user info (#7293)
* check ocis connection by requesting user info

* set request-id
2023-09-21 11:27:26 +05:45
Sawjan Gurung
db39d6b7aa (ociswrapper): separate ociswrapper logs from ocis logs (#6776) 2023-07-12 11:32:03 +05:45
Sawjan Gurung
3c15c84fbc [tests-only][full-ci] Retry ocis startup with ociswrapper (#6768)
* (ociswrapper): retry starting ocis if failed

* (ociswrapper): kill procces and start again

* (ociswrapper): make retry configurable via cli
2023-07-12 09:33:10 +05:45
Sawjan Gurung
9945dad647 [POC][full-ci] Testing various oCIS env configurations (#6062)
* run api tests

* run ocis via wrapper

* add context, helpers and steps change ocis config

* remove separate pipelines for special test cases

* add context to behat config

* fix suite name

* set wrapper url while running tests

* fix cors allow env name

* address review

* add ociswrapper codebase

* add ci pipeline to build and cache wrapper

* add step to check ociswrapper cache

* invalidate wrapper cache and build new

* build on pipeline step

* undo unnecessary changes

* undo unnecessary changes

* fix php code

* fix ocis run command

* use tag for teardown

* exclude wrapper vendor in codacy check

* fix typos
2023-05-11 17:21:52 +05:45