1.4 KiB
1.4 KiB
Prerequisites
Use this project in conjunction with the DevFW-CICD/garm project. (It is assumed that project is cloned to the folder 'garm'.)
Edit the credentials for access to Telekom Edge Cloud and set new Tag: In the garm project edit the file deploy.yaml:
- Edit the credentials inside the Secret with name 'edge-connect-creds' by setting values (inside stringData.creds.toml) for username and password.
- Edit the Deployment with name 'garm' by setting a new value (inside spec.template.spec.containers[0]) for the image (tag) of the form garm:provider-ec-[new_number].
Build and deploy the project
Use these commands in the current project.
´´´bash docker buildx build -t edp.buildth.ing/devfw-cicd/garm:provider-ec-[new_number] --push .
kubectl apply -f ../garm/deploy.yaml ´´´
Configuration
Extra Specs
You can configure runner behavior by passing extra specifications as JSON in the pool's extra_specs field.
Available Parameters
| Parameter | Type | Default Value | Description |
|---|---|---|---|
runner_workdir |
string | /runner/_work/ |
The working directory for the runner |
disable_runner_update |
boolean | true |
Whether to disable automatic runner updates |
runner_ephemeral |
boolean | true |
Whether the runner should be ephemeral (single-use) |
Example
{
"runner_workdir": "/custom/path/",
"disable_runner_update": false,
"runner_ephemeral": false
}