Installing the server software on Ubuntu by using k3s
You can install HCL OneTest™ Server on the Ubuntu server that has a Kubernetes environment to run functional, integration, and performance tests. HCL OneTest™ Server combines test data, test environments, and test runs and reports into a single, web-based browser for testers and non-testers.
Before you begin
You must have performed the following tasks:
-
Completed the tasks provided in the Prerequisites section. See Prerequisites for installing the server software on Ubuntu.
-
Set up the Kubernetes environment (k3s). See Setting up a Kubernetes environment (k3s) on Ubuntu.
-
Logged in to the server host system again after you completed the k3s environment setup.
-
Copied the INGRESS_DOMAIN value that is displayed on completion of the ubuntu-init.sh script.
About this task
-
If you administer a network policy for your server installation.
-
If you do not intend to use the test authoring feature.
--set global.hclOneTestAuthorEnabled=true
Procedure
- Log in to the Ubuntu server using an SSH session.
-
Perform the following steps to install the server software:
- Optional:
Run the following command to remove a job that is used to initialize the
PostgresQL database during the installation of the server software:
kubectl delete job {my-ots}-postgresql-init -n test-system
- Optional:
Perform the following steps to migrate data into HCL OneTest™ Server, if you upgraded the server software from the previous version (10.1.0,
10.1.1, or 10.1.2):
- Optional:
Perform the following steps to restore the backed-up user data from previous
version (10.1.3 or later) to the latest version:
-
Run the following script from the hcl-onetest-server/files directory to verify and test the
installed server software:
$ helm test {my-ots} -n test-system
where
{my-ots}
is the name of the release that was provided during the installation of the server software.
Results
-
Instructions to access Keycloak to manage and authenticate users.
The user name can be keycloak and the password can be retrieved by running the following command:
where:kubectl get secret -n namespace onetest-keycloak-postgresql -o jsonpath="{.data.password}" | base64 --decode; echo
-
onetest is a sub-domain name that you selected for the server.
-
namespace is the name of the namespace that you created.
-
-
The URL to access the HCL OneTest™ Server UI.
What to do next
-
Configure licenses for team spaces. See Configuring licenses for team spaces.
-
Configure the server software. See Configuration of the server software.