You need to have the followin environment variable:
export KOSLI_API_TOKEN_PROD=YourKeyHere
As well as access to the KOSLI AWS accounts.
If you have not gotten that, and you are a KOSLI employee, please read this.
You can compile and run the project via DevBox from Jetlify
After the installation, run devbox shell and all relevant tools will be avaliable to you.
To run all tests, including the kubernetes tests, which take a few minutes:
make test_integration_fullTo run tests and ignore tests that take longer to run:
make test_integrationTo run a single test suite:
make test_integration_single TARGET=<suiteName>Some tests will be skipped if the following environment variables are not set:
KOSLI_GITHUB_TOKEN
KOSLI_GITLAB_TOKEN
KOSLI_BITBUCKET_ACCESS_TOKEN
KOSLI_AZURE_TOKEN
KOSLI_SONAR_API_TOKENAdditionally authentication is necessary to run some tests. See https://github.com/kosli-dev/knowledge-base.
The version number is not generated automatically and must be decided manually. We are using semantic versioning (ie: 2.3.2).
make release tag=v<version_number>