This PR is motivated to create a switch between Docker and Kubernetes in HuskyCI.
Proposed Changes
This PR proposes to use an environment variable to select between using Docker or Kubernetes in HuskyCI.
Testing
To test in Docker, it is necessary to enter the value docker in the HUSKYCI_INFRASTRUCTURE_USE environment variable.
After that, run the following commands:
make install
make run-client
To tests in Kubernetes, it is necessary to enter the value kubernetes in the HUSKYCI_INFRASTRUCTURE_USE environment variable. In this case, it is also necessary to enter the cluster settings in the kubeconfig/config.yaml file.
Description
This PR is motivated to create a switch between
Docker
andKubernetes
in HuskyCI.Proposed Changes
This PR proposes to use an environment variable to select between using
Docker
orKubernetes
in HuskyCI.Testing
To test in
Docker
, it is necessary to enter the valuedocker
in theHUSKYCI_INFRASTRUCTURE_USE
environment variable. After that, run the following commands:To tests in
Kubernetes
, it is necessary to enter the valuekubernetes
in theHUSKYCI_INFRASTRUCTURE_USE
environment variable. In this case, it is also necessary to enter the cluster settings in thekubeconfig/config.yaml
file.