Sawjan Gurung
9ac0452d61
test: add setup and docs for running API tests in K8s ( #12107 )
...
* test: add locak k8s setup
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* chore: move k8s config files
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* fix: add host alias
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* fix: remove unsed dir
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* ci: use script to expose external servers to the cluster
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* ci: expose using existing script
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* docs: add docs
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* docs: refer k8s setup docs
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* ci: specify namespace
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* ci: create namespace
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* docs: fix docs errors
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: patch chart template only once
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* docs: add toc and setup cleanup
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* chore: remove deprecated --atomic helm option
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: add k8s namespace wrapper option
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: fix logs dir permissions
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* docs: update docs
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* test: fix host ip detection
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
* docs: add show-logs command and warning for external services
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
---------
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2026-03-19 15:26:57 +05:45
Roman Perekhod
da5e63dfe3
feat: bump go to 1.25
...
feat: bump mockery to v2.53.5
feat: bump govulncheck
feat: bump bingo to v0.10.0
force go-1.25.7
update thumbnail images for test
bump reva to latest
2026-02-10 16:27:52 +01:00
Niraj Acharya
77ec7d1559
test: run tests on kubernetes with ociswrapper
2025-09-05 12:28:06 +05:45
Saw-jan
640c801e7f
refactor(wrapper): handle empty service name
...
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2025-06-16 17:50:40 +05:45
Saw-jan
a120036e2c
test(wrapper): read concurrently from the pseudo terminal
...
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2025-05-06 14:10:05 +05:45
Saw-jan
b47efb447a
test(wrapper): bring back log
...
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2025-05-02 13:51:59 +05:45
Saw-jan
69e2c1a08f
test(wrapper): fix code format and logs
...
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com >
2025-04-30 12:02:55 +05:45
prashant-gurung899
f039e7e668
update doc
...
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com >
2025-04-23 09:50:25 +05:45
Michal Klos
54847d3dfa
fix: handler config
...
In handler Post: service was started with ocis.ServiceEnvConfigs containing only last env key-value
In test: possible that test was ok when server was started with default config due to timing
2025-04-02 16:13:46 +02:00
amrita
4c82aebad4
empty stored service config
2025-03-12 14:21:13 +05:45
amrita-shrestha
12875a0c73
add support to restart ocis service with additional env
2025-03-06 09:36:33 +05:45
amrita
ed8346b549
add support service start and stop
2025-02-12 12:16:52 +05:45
amrita
c8bb438534
remove os enviroment duplication
2025-01-20 14:55:21 +05:45
amrita
efe329e858
update go version
2025-01-13 16:12:54 +05:45
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