45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
## Codefresh Runner
|
|
|
|
{{ template "chart.versionBadge" . }}{{ template "chart.typeBadge" . }}{{ template "chart.appVersionBadge" . }}
|
|
|
|
## Prerequisites
|
|
|
|
- Kubernetes 1.19+
|
|
- Helm 3.8.0+
|
|
|
|
## Get Repo Info
|
|
|
|
```console
|
|
helm repo add cf-runtime http://chartmuseum.codefresh.io/cf-runtime
|
|
helm repo update
|
|
```
|
|
|
|
## Install Chart
|
|
|
|
**Important:** only helm3 is supported
|
|
|
|
1. Download the Codefresh CLI and authenticate it with your Codefresh account. Click [here](https://codefresh-io.github.io/cli/getting-started/) for more detailed instructions.
|
|
2. Run the following command to create mandatory values for Codefresh Runner:
|
|
|
|
```console
|
|
codefresh runner init --generate-helm-values-file
|
|
```
|
|
|
|
* This will not install anything on your cluster, except for running cluster acceptance tests, which may be skipped using the `--skip-cluster-test` option.
|
|
* This command will also generate a `generated_values.yaml` file in your current directory, which you will need to provide to the `helm install` command later.
|
|
3. Now run the following to complete the installation:
|
|
|
|
```console
|
|
helm repo add cf-runtime https://chartmuseum.codefresh.io/cf-runtime
|
|
|
|
helm upgrade --install cf-runtime cf-runtime/cf-runtime -f ./generated_values.yaml --create-namespace --namespace codefresh
|
|
```
|
|
4. At this point you should have a working Codefresh Runner. You can verify the installation by running:
|
|
```console
|
|
codefresh runner execute-test-pipeline --runtime-name <runtime-name>
|
|
```
|
|
|
|
{{ template "chart.requirementsSection" . }}
|
|
|
|
{{ template "chart.valuesSection" . }}
|