File tree Expand file tree Collapse file tree 5 files changed +7
-12
lines changed
Expand file tree Collapse file tree 5 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -172,8 +172,6 @@ run `pytest-ess -- --cache-clear`.
172172You must delete it using ` k3d cluster delete ess-helm ` manually before running any other test run.
173173
174174#### Usage
175- Use ` k3d kubeconfig merge ess-helm -ds ` to get access to the cluster.
176-
177175The tests will use the cluster constructed by ` scripts/setup_test_cluster.sh ` if that is
178176running. If the tests use an existing cluster, they won't destroy the cluster afterwards.
179177
Original file line number Diff line number Diff line change 1+ CI: Publish ESS tests as a python package for use in external projects and developers environments.
Original file line number Diff line number Diff line change @@ -14,8 +14,6 @@ ess_namespaces=${ESS_NAMESPACES:-ess}
1414
1515uv run setup-ess-cluster
1616
17- k3d kubeconfig merge ess-helm -ds
18-
1917for namespace in $ess_namespaces ; do
2018 echo " Constructing ESS dependencies in $namespace "
2119 server_version=$( kubectl --context $k3d_context_name version | grep Server | sed ' s/.*v/v/' | awk -F. ' {print $1"."$2}' )
Original file line number Diff line number Diff line change @@ -34,22 +34,18 @@ You can also install it from the git repository :
3434``` sh
3535# You can also use any ESS Community version
3636VERSION=main
37- uvx git+https://github.com/element-hq/ess-helm.git@$VERSION #subdirectory=tests
37+ uv tool install git+https://github.com/element-hq/ess-helm.git@$VERSION #subdirectory=tests
3838```
3939
4040Example:
4141
4242``` sh
4343VERSION=main
44- uvx git+https://github.com/element-hq/ess-helm.git@$VERSION #subdirectory=tests
44+ uv tool install git+https://github.com/element-hq/ess-helm.git@$VERSION #subdirectory=tests
4545 Updated https://github.com/element-hq/ess-helm.git (d6d33a7f7051a0b6bbdcc609a059ae328feee269)
4646 Built ess-community-integration-tests @ git+https://github.com/element-hq/ess-helm.git@d6d33a7f7051a0b6bbdcc609a059ae328feee269#subdirectory=tests
47- Installed 60 packages in 5ms
48- An executable named ` ess-community-integration-tests` is not provided by package ` ess-community-integration-tests` .
49- The following executables are available:
50- - collect-ess-logs
51- - pytest-ess
52- - setup-ess-cluster
47+ ...
48+ Installed 3 executables: collect-ess-logs, pytest-ess, setup-ess-cluster
5349```
5450
5551## Usage
Original file line number Diff line number Diff line change @@ -197,4 +197,6 @@ def setup_cluster():
197197
198198 os .environ ["PYTEST_KEEP_CLUSTER" ] = "1"
199199 errcode = pytest .main ([str (HERE )] + ["--env-setup" ])
200+ subprocess .run ("k3d kubeconfig merge ess-helm -ds" , shell = True , check = True )
201+
200202 sys .exit (errcode )
You can’t perform that action at this time.
0 commit comments