Saw-jan
d8ab9c53a8
docs: add docs on new APIs
2024-07-09 13:16:01 +05:45
Saw-jan
13b428ecae
refactor: remove stdins from the command logs
2024-07-09 11:48:03 +05:45
Saw-jan
9baecdfd58
fix: return early if the ocis is not running
2024-07-09 11:48:03 +05:45
Saw-jan
86fd73e912
refactor: respond 409 conflict if server is already running
2024-07-09 11:48:03 +05:45
Saw-jan
2b88c194bc
refactor: allow any commands and user inputs
2024-07-09 11:48:03 +05:45
Saw-jan
d8dff89c1c
feat: allow interactive command execution
2024-07-09 11:48:03 +05:45
Saw-jan
7f0a1b0cdd
fix: cumulative env and clear command var
2024-07-09 11:48:03 +05:45
Saw-jan
733f1852ea
feat: add start endpoint
2024-07-09 11:48:03 +05:45
Saw-jan
3306a1f277
timeout command execution
2024-07-09 11:48:03 +05:45
Saw-jan
d1d25ae940
feat: add option to skip running ocis
2024-07-09 11:48:03 +05:45
Saw-jan
6e2ccefa51
feat: add command and stop endpoints
2024-07-09 11:48:03 +05:45
Pradip Subedi
e1a00e09b2
docs: add docs for port, url, retry, admin-username and admin-password for ociswrapper ( #9314 )
2024-06-04 16:42:29 +05:45
Sawjan Gurung
58c083d311
[tests-only][full-ci] Add option to check ocis connection by authenticating user ( #8540 )
...
* Revert "use capabilites in ociswrapper"
This reverts commit 0768723c89 .
* tests: check ocis connection with basic auth when provided
* ci: check ocis connection with admin basic auth
* list all ocis services
* list services with timeout
* ci: check ocis connection with admin basic auth
* list all ocis services
2024-03-01 14:54:09 +01:00
Artur Neumann
0768723c89
use capabilites in ociswrapper
2023-12-29 13:56:11 +05:45
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
jkoberg
b33dbba525
fix race condition in ocis wrapper
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-10-11 15:25:22 +02:00
Saw-jan
d4be6a83a7
ociswrapper: break wait if server responds with 200
2023-09-21 17:00:37 +05:45
Saw-jan
3c364742c8
ociswrapper: meaningful error message
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
14b11f24a6
[tests-only][full-ci] Change wrapper port from 5000 to 5200 ( #6321 )
...
* use port 5200 for wrapper API server
* remove binary and ignore the build
2023-05-16 15:40:06 +05:45
Sawjan Gurung
60fd953c7e
[docs-only] Document running tests using ociswrapper ( #6283 )
...
* add README for ociswrapper
* add doc on how to tests env config test suites with ociswrapper
* document running tests using ociswrapper
* update local docker compose setup for running tests
* make ocis able to run with ociswrapper
* update wrapper doc
* run with ociswrapper by default
* ignore md files on codacy
* fix README format
2023-05-16 14:39:17 +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