* ci(docker): build dist-tests images * Update to .net 10, kubernetes client 18.0.13 Kubernetes client 18.0.13 is compatible with Kubernetes 1.34.x. The Kubernetes version is selected automatically by kubeadm in docker desktop (v1.34.1). See https://github.com/kubernetes-client/csharp#version-compatibility for a compatibility table. * Updates to support Kubernetes upgrade * bump openapi.yaml to match openapi.yaml in the logos-storage-nim docker image * bump doc to .net 10 * bump docker to .net 10 * Build image with latest tag always Always build an image with a latest tag (as well as a sha commit hash) when there's a push to master * docker image tag as "latest" only when pushing to master * Update docker image to install doctl * Remove doctl install kubeconfig is now created and uses a plain bearer token instead of using doctl as a credential mgr * Rename and remove all instances of Codex * Further remove CodexNetDeployer as it is no longer needed --------- Co-authored-by: Adam Uhlíř <adam@uhlir.dev>
Logos Storage Tests
This is an NUnit test assembly that can be used with the standard dotnet test runner. For all its CLI options, run dotnet test --help.
Example tests
Running all the tests in the assembly can take a while. In order to check basic viability of your setup as well as the Logos Storage image you're using, consider running only the example tests using the filter option: dotnet test --filter=Example.
Output
The test runner will produce a folder named LogosStorageTestLogs with all the test logs. They are sorted by timestamp and reflect the names of the test fixtures and individual tests. When a test fails, the log file for that specific test will be postfixed with _FAILED. The same applies to the fixture log file. The STATUS files contain the test results in JSON, for easy machine reading.
Overrides
The following environment variables allow you to override specific aspects of the behaviour of the tests.
| Variable | Description |
|---|---|
| DEPLOYID | A pod-label 'deployid' is added to each pod created during the tests. Use this to set the value of that label. |
| TESTID | Similar to RUNID, except the label is 'testid'. |
| STORAGEDOCKERIMAGE | If set, this will be used instead of the default Logos Storage docker image. |
Using a local Logos Storage repository
If you have a clone of the Logos Storage git repository, and you want to run the tests using your local modifications, the following environment variable options are for you. Please note that any changes made in Logos Storage's 'vendor' directory will be discarded during the build process.
| Variable | Description |
|---|---|
| STORAGEREPOPATH | Path to the Logos Storage repository. |
| DOCKERUSERNAME | Username of your Dockerhub account. |
| DOCKERPASSWORD | Password OR access-token for your Dockerhub account. You can omit this variable to use your system-default account. |
| DOCKERTAG | Optional. Tag used for docker image that will be built and pushed to the Dockerhub account. Random ID used when not set. |