mirror of
https://gitea.com/gitea/helm-actions.git
synced 2026-07-17 03:34:45 +00:00
Compare commits
1 Commits
v0.0.2
...
63ff1b19da
| Author | SHA1 | Date | |
|---|---|---|---|
| 63ff1b19da |
@ -8,7 +8,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
changelog:
|
changelog:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: docker.io/thegeeklab/git-sv:2.0.6
|
container: docker.io/thegeeklab/git-sv:2.0.5
|
||||||
steps:
|
steps:
|
||||||
- name: install tools
|
- name: install tools
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@ -11,7 +11,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
check-and-test:
|
check-and-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: commitlint/commitlint:20.1.0
|
container: commitlint/commitlint:19.9.1
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
- name: check PR title
|
- name: check PR title
|
||||||
|
|||||||
@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
# renovate: datasource=docker depName=alpine/helm
|
# renovate: datasource=docker depName=alpine/helm
|
||||||
HELM_VERSION: "3.19.0"
|
HELM_VERSION: "3.18.6"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
generate-chart-publish:
|
generate-chart-publish:
|
||||||
|
|||||||
@ -10,12 +10,12 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
# renovate: datasource=github-releases depName=helm-unittest/helm-unittest
|
# renovate: datasource=github-releases depName=helm-unittest/helm-unittest
|
||||||
HELM_UNITTEST_VERSION: "v1.0.3"
|
HELM_UNITTEST_VERSION: "v0.8.2"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-and-test:
|
check-and-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: alpine/helm:3.19.0
|
container: alpine/helm:3.18.6
|
||||||
steps:
|
steps:
|
||||||
- name: install tools
|
- name: install tools
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
45
README.md
45
README.md
@ -16,29 +16,6 @@ If `.Values.image.rootless: true`, then the following will occur. In case you us
|
|||||||
|
|
||||||
- If `.Values.provisioning.enabled: true`, then uses the rootless Gitea image, must match helm-Gitea.
|
- If `.Values.provisioning.enabled: true`, then uses the rootless Gitea image, must match helm-Gitea.
|
||||||
|
|
||||||
## Quick-start
|
|
||||||
|
|
||||||
To get started, add the Helm repo, assuming you have not already:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
helm repo add gitea-charts https://dl.gitea.com/charts/
|
|
||||||
helm repo update
|
|
||||||
```
|
|
||||||
|
|
||||||
Then pull the values.yaml file and fill it accordingly.
|
|
||||||
|
|
||||||
```sh
|
|
||||||
helm show values gitea-charts/actions > values.yaml
|
|
||||||
```
|
|
||||||
|
|
||||||
Deploy with your values, make sure the path is correct:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
helm upgrade --install gitea-actions gitea-charts/actions -f values.yaml
|
|
||||||
```
|
|
||||||
|
|
||||||
You should be good to go!
|
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
|
|
||||||
### Gitea Actions
|
### Gitea Actions
|
||||||
@ -49,7 +26,6 @@ You should be good to go!
|
|||||||
| `init.image.repository` | The image used for the init containers | `busybox` |
|
| `init.image.repository` | The image used for the init containers | `busybox` |
|
||||||
| `init.image.tag` | The image tag used for the init containers | `1.37.0` |
|
| `init.image.tag` | The image tag used for the init containers | `1.37.0` |
|
||||||
| `statefulset.replicas` | the amount of (replica) runner pods deployed | `1` |
|
| `statefulset.replicas` | the amount of (replica) runner pods deployed | `1` |
|
||||||
| `statefulset.timezone` | is the timezone that will be set in the act_runner image | `Etc/UTC` |
|
|
||||||
| `statefulset.annotations` | Act runner annotations | `{}` |
|
| `statefulset.annotations` | Act runner annotations | `{}` |
|
||||||
| `statefulset.labels` | Act runner labels | `{}` |
|
| `statefulset.labels` | Act runner labels | `{}` |
|
||||||
| `statefulset.resources` | Act runner resources | `{}` |
|
| `statefulset.resources` | Act runner resources | `{}` |
|
||||||
@ -57,40 +33,21 @@ You should be good to go!
|
|||||||
| `statefulset.tolerations` | Tolerations for the statefulset | `[]` |
|
| `statefulset.tolerations` | Tolerations for the statefulset | `[]` |
|
||||||
| `statefulset.affinity` | Affinity for the statefulset | `{}` |
|
| `statefulset.affinity` | Affinity for the statefulset | `{}` |
|
||||||
| `statefulset.extraVolumes` | Extra volumes for the statefulset | `[]` |
|
| `statefulset.extraVolumes` | Extra volumes for the statefulset | `[]` |
|
||||||
| `statefulset.actRunner.registry` | image registry, e.g. gcr.io,docker.io | `docker.gitea.com` |
|
| `statefulset.actRunner.repository` | The Gitea act runner image | `gitea/act_runner` |
|
||||||
| `statefulset.actRunner.repository` | The Gitea act runner image | `act_runner` |
|
|
||||||
| `statefulset.actRunner.tag` | The Gitea act runner tag | `0.2.13` |
|
| `statefulset.actRunner.tag` | The Gitea act runner tag | `0.2.13` |
|
||||||
| `statefulset.actRunner.digest` | Image digest. Allows to pin the given image tag. Useful for having control over mutable tags like `latest` | `""` |
|
|
||||||
| `statefulset.actRunner.pullPolicy` | The Gitea act runner pullPolicy | `IfNotPresent` |
|
| `statefulset.actRunner.pullPolicy` | The Gitea act runner pullPolicy | `IfNotPresent` |
|
||||||
| `statefulset.actRunner.fullOverride` | Completely overrides the image registry, path/image, tag and digest. | `""` |
|
|
||||||
| `statefulset.actRunner.extraVolumeMounts` | Allows mounting extra volumes in the act runner container | `[]` |
|
| `statefulset.actRunner.extraVolumeMounts` | Allows mounting extra volumes in the act runner container | `[]` |
|
||||||
| `statefulset.actRunner.config` | Act runner custom configuration. See [Act Runner documentation](https://docs.gitea.com/usage/actions/act-runner#configuration) for details. | `Too complex. See values.yaml` |
|
| `statefulset.actRunner.config` | Act runner custom configuration. See [Act Runner documentation](https://docs.gitea.com/usage/actions/act-runner#configuration) for details. | `Too complex. See values.yaml` |
|
||||||
| `statefulset.dind.registry` | image registry, e.g. gcr.io,docker.io | `""` |
|
|
||||||
| `statefulset.actRunner.extraEnvs` | Allows adding custom environment variables | `[]` |
|
|
||||||
| `statefulset.dind.repository` | The Docker-in-Docker image | `docker` |
|
| `statefulset.dind.repository` | The Docker-in-Docker image | `docker` |
|
||||||
| `statefulset.dind.tag` | The Docker-in-Docker image tag | `28.3.3-dind` |
|
| `statefulset.dind.tag` | The Docker-in-Docker image tag | `28.3.3-dind` |
|
||||||
| `statefulset.dind.digest` | Image digest. Allows to pin the given image tag. Useful for having control over mutable tags like `latest` | `""` |
|
|
||||||
| `statefulset.dind.fullOverride` | Completely overrides the image registry, path/image, tag and digest. | `""` |
|
|
||||||
| `statefulset.dind.pullPolicy` | The Docker-in-Docker pullPolicy | `IfNotPresent` |
|
| `statefulset.dind.pullPolicy` | The Docker-in-Docker pullPolicy | `IfNotPresent` |
|
||||||
| `statefulset.dind.extraVolumeMounts` | Allows mounting extra volumes in the Docker-in-Docker container | `[]` |
|
| `statefulset.dind.extraVolumeMounts` | Allows mounting extra volumes in the Docker-in-Docker container | `[]` |
|
||||||
| `statefulset.dind.extraEnvs` | Allows adding custom environment variables, such as `DOCKER_IPTABLES_LEGACY` | `[]` |
|
| `statefulset.dind.extraEnvs` | Allows adding custom environment variables, such as `DOCKER_IPTABLES_LEGACY` | `[]` |
|
||||||
| `statefulset.persistence.size` | Size for persistence to store act runner data | `1Gi` |
|
| `statefulset.persistence.size` | Size for persistence to store act runner data | `1Gi` |
|
||||||
| `statefulset.securityContext` | Customize the SecurityContext | `{}` |
|
|
||||||
| `existingSecret` | Secret that contains the token | `""` |
|
| `existingSecret` | Secret that contains the token | `""` |
|
||||||
| `existingSecretKey` | Secret key | `""` |
|
| `existingSecretKey` | Secret key | `""` |
|
||||||
| `giteaRootURL` | URL the act_runner registers and connect with | `""` |
|
| `giteaRootURL` | URL the act_runner registers and connect with | `""` |
|
||||||
|
|
||||||
### Gitea Actions Init
|
|
||||||
|
|
||||||
| Name | Description | Value |
|
|
||||||
| ------------------------- | ---------------------------------------------------------------------------------------------------------- | -------------- |
|
|
||||||
| `init.image.registry` | image registry, e.g. gcr.io,docker.io | `""` |
|
|
||||||
| `init.image.repository` | The init image | `busybox` |
|
|
||||||
| `init.image.tag` | the init image tag | `1.37.0` |
|
|
||||||
| `init.image.digest` | Image digest. Allows to pin the given image tag. Useful for having control over mutable tags like `latest` | `""` |
|
|
||||||
| `init.image.pullPolicy` | The init image pullPolicy | `IfNotPresent` |
|
|
||||||
| `init.image.fullOverride` | Completely overrides the image registry, path/image, tag and digest. | `""` |
|
|
||||||
|
|
||||||
### Global
|
### Global
|
||||||
|
|
||||||
| Name | Description | Value |
|
| Name | Description | Value |
|
||||||
|
|||||||
64
pnpm-lock.yaml
generated
64
pnpm-lock.yaml
generated
@ -49,16 +49,16 @@ packages:
|
|||||||
resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
|
resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
|
|
||||||
ansi-regex@6.2.2:
|
ansi-regex@6.1.0:
|
||||||
resolution: {integrity: sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==}
|
resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
|
|
||||||
ansi-styles@4.3.0:
|
ansi-styles@4.3.0:
|
||||||
resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
|
resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
|
|
||||||
ansi-styles@6.2.3:
|
ansi-styles@6.2.1:
|
||||||
resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==}
|
resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
|
|
||||||
argparse@2.0.1:
|
argparse@2.0.1:
|
||||||
@ -105,8 +105,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
|
resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
|
||||||
engines: {node: '>= 8'}
|
engines: {node: '>= 8'}
|
||||||
|
|
||||||
debug@4.4.3:
|
debug@4.4.0:
|
||||||
resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==}
|
resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==}
|
||||||
engines: {node: '>=6.0'}
|
engines: {node: '>=6.0'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
supports-color: '*'
|
supports-color: '*'
|
||||||
@ -114,8 +114,8 @@ packages:
|
|||||||
supports-color:
|
supports-color:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
decode-named-character-reference@1.2.0:
|
decode-named-character-reference@1.1.0:
|
||||||
resolution: {integrity: sha512-c6fcElNV6ShtZXmsgNgFFV5tVX2PaV4g+MOAkb8eXHvn6sryJBrZa9r0zV6+dtTyoCKxtDy5tyQ5ZwQuidtd+Q==}
|
resolution: {integrity: sha512-Wy+JTSbFThEOXQIR2L6mxJvEs+veIzpmqD7ynWxMXGpnk3smkHQOp6forLdHsKpAMW9iJpaBBIxz285t1n1C3w==}
|
||||||
|
|
||||||
deep-extend@0.6.0:
|
deep-extend@0.6.0:
|
||||||
resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==}
|
resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==}
|
||||||
@ -210,8 +210,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==}
|
resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==}
|
||||||
engines: {node: '>=0.10.0'}
|
engines: {node: '>=0.10.0'}
|
||||||
|
|
||||||
katex@0.16.22:
|
katex@0.16.21:
|
||||||
resolution: {integrity: sha512-XCHRdUw4lf3SKBaJe4EvgqIuWwkPSo9XoeO8GjQW94Bp7TWv9hNhzZjZ+OH9yf1UmLygb7DIT5GSFQiyt16zYg==}
|
resolution: {integrity: sha512-XvqR7FgOHtWupfMiigNzmh+MgUVmDGU2kXZm899ZkPfcuoPuFxyHmXsgATDpFZDAXCI8tvinaVcDo8PIIJSo4A==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
linkify-it@5.0.0:
|
linkify-it@5.0.0:
|
||||||
@ -220,8 +220,8 @@ packages:
|
|||||||
lodash@4.17.21:
|
lodash@4.17.21:
|
||||||
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
|
resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}
|
||||||
|
|
||||||
lru-cache@11.2.2:
|
lru-cache@11.2.1:
|
||||||
resolution: {integrity: sha512-F9ODfyqML2coTIsQpSkRHnLSZMtkU8Q+mSfcaIyKwy58u+8k5nvAYeiNhsyMARvzNcXJ9QfWVrcPsC9e9rAxtg==}
|
resolution: {integrity: sha512-r8LA6i4LP4EeWOhqBaZZjDWwehd1xUJPCJd9Sv300H0ZmcUER4+JPh7bqqZeqs1o5pgtgvXm+d9UGrB5zZGDiQ==}
|
||||||
engines: {node: 20 || >=22}
|
engines: {node: 20 || >=22}
|
||||||
|
|
||||||
markdown-it@14.1.0:
|
markdown-it@14.1.0:
|
||||||
@ -396,8 +396,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
|
resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
|
|
||||||
strip-ansi@7.1.2:
|
strip-ansi@7.1.0:
|
||||||
resolution: {integrity: sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==}
|
resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
|
|
||||||
strip-json-comments@3.1.1:
|
strip-json-comments@3.1.1:
|
||||||
@ -448,7 +448,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
string-width: 5.1.2
|
string-width: 5.1.2
|
||||||
string-width-cjs: string-width@4.2.3
|
string-width-cjs: string-width@4.2.3
|
||||||
strip-ansi: 7.1.2
|
strip-ansi: 7.1.0
|
||||||
strip-ansi-cjs: strip-ansi@6.0.1
|
strip-ansi-cjs: strip-ansi@6.0.1
|
||||||
wrap-ansi: 8.1.0
|
wrap-ansi: 8.1.0
|
||||||
wrap-ansi-cjs: wrap-ansi@7.0.0
|
wrap-ansi-cjs: wrap-ansi@7.0.0
|
||||||
@ -465,13 +465,13 @@ snapshots:
|
|||||||
|
|
||||||
ansi-regex@5.0.1: {}
|
ansi-regex@5.0.1: {}
|
||||||
|
|
||||||
ansi-regex@6.2.2: {}
|
ansi-regex@6.1.0: {}
|
||||||
|
|
||||||
ansi-styles@4.3.0:
|
ansi-styles@4.3.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
color-convert: 2.0.1
|
color-convert: 2.0.1
|
||||||
|
|
||||||
ansi-styles@6.2.3: {}
|
ansi-styles@6.2.1: {}
|
||||||
|
|
||||||
argparse@2.0.1: {}
|
argparse@2.0.1: {}
|
||||||
|
|
||||||
@ -508,11 +508,11 @@ snapshots:
|
|||||||
shebang-command: 2.0.0
|
shebang-command: 2.0.0
|
||||||
which: 2.0.2
|
which: 2.0.2
|
||||||
|
|
||||||
debug@4.4.3:
|
debug@4.4.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
ms: 2.1.3
|
ms: 2.1.3
|
||||||
|
|
||||||
decode-named-character-reference@1.2.0:
|
decode-named-character-reference@1.1.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
character-entities: 2.0.2
|
character-entities: 2.0.2
|
||||||
|
|
||||||
@ -600,7 +600,7 @@ snapshots:
|
|||||||
|
|
||||||
jsonpointer@5.0.1: {}
|
jsonpointer@5.0.1: {}
|
||||||
|
|
||||||
katex@0.16.22:
|
katex@0.16.21:
|
||||||
dependencies:
|
dependencies:
|
||||||
commander: 8.3.0
|
commander: 8.3.0
|
||||||
|
|
||||||
@ -610,7 +610,7 @@ snapshots:
|
|||||||
|
|
||||||
lodash@4.17.21: {}
|
lodash@4.17.21: {}
|
||||||
|
|
||||||
lru-cache@11.2.2: {}
|
lru-cache@11.2.1: {}
|
||||||
|
|
||||||
markdown-it@14.1.0:
|
markdown-it@14.1.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -658,7 +658,7 @@ snapshots:
|
|||||||
|
|
||||||
micromark-core-commonmark@2.0.3:
|
micromark-core-commonmark@2.0.3:
|
||||||
dependencies:
|
dependencies:
|
||||||
decode-named-character-reference: 1.2.0
|
decode-named-character-reference: 1.1.0
|
||||||
devlop: 1.1.0
|
devlop: 1.1.0
|
||||||
micromark-factory-destination: 2.0.1
|
micromark-factory-destination: 2.0.1
|
||||||
micromark-factory-label: 2.0.1
|
micromark-factory-label: 2.0.1
|
||||||
@ -715,7 +715,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@types/katex': 0.16.7
|
'@types/katex': 0.16.7
|
||||||
devlop: 1.1.0
|
devlop: 1.1.0
|
||||||
katex: 0.16.22
|
katex: 0.16.21
|
||||||
micromark-factory-space: 2.0.1
|
micromark-factory-space: 2.0.1
|
||||||
micromark-util-character: 2.1.1
|
micromark-util-character: 2.1.1
|
||||||
micromark-util-symbol: 2.0.1
|
micromark-util-symbol: 2.0.1
|
||||||
@ -809,8 +809,8 @@ snapshots:
|
|||||||
micromark@4.0.2:
|
micromark@4.0.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/debug': 4.1.12
|
'@types/debug': 4.1.12
|
||||||
debug: 4.4.3
|
debug: 4.4.0
|
||||||
decode-named-character-reference: 1.2.0
|
decode-named-character-reference: 1.1.0
|
||||||
devlop: 1.1.0
|
devlop: 1.1.0
|
||||||
micromark-core-commonmark: 2.0.3
|
micromark-core-commonmark: 2.0.3
|
||||||
micromark-factory-space: 2.0.1
|
micromark-factory-space: 2.0.1
|
||||||
@ -853,7 +853,7 @@ snapshots:
|
|||||||
'@types/unist': 2.0.11
|
'@types/unist': 2.0.11
|
||||||
character-entities-legacy: 3.0.0
|
character-entities-legacy: 3.0.0
|
||||||
character-reference-invalid: 2.0.1
|
character-reference-invalid: 2.0.1
|
||||||
decode-named-character-reference: 1.2.0
|
decode-named-character-reference: 1.1.0
|
||||||
is-alphanumerical: 2.0.1
|
is-alphanumerical: 2.0.1
|
||||||
is-decimal: 2.0.1
|
is-decimal: 2.0.1
|
||||||
is-hexadecimal: 2.0.1
|
is-hexadecimal: 2.0.1
|
||||||
@ -864,7 +864,7 @@ snapshots:
|
|||||||
|
|
||||||
path-scurry@2.0.0:
|
path-scurry@2.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
lru-cache: 11.2.2
|
lru-cache: 11.2.1
|
||||||
minipass: 7.1.2
|
minipass: 7.1.2
|
||||||
|
|
||||||
punycode.js@2.3.1: {}
|
punycode.js@2.3.1: {}
|
||||||
@ -898,15 +898,15 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
eastasianwidth: 0.2.0
|
eastasianwidth: 0.2.0
|
||||||
emoji-regex: 9.2.2
|
emoji-regex: 9.2.2
|
||||||
strip-ansi: 7.1.2
|
strip-ansi: 7.1.0
|
||||||
|
|
||||||
strip-ansi@6.0.1:
|
strip-ansi@6.0.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
ansi-regex: 5.0.1
|
ansi-regex: 5.0.1
|
||||||
|
|
||||||
strip-ansi@7.1.2:
|
strip-ansi@7.1.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
ansi-regex: 6.2.2
|
ansi-regex: 6.1.0
|
||||||
|
|
||||||
strip-json-comments@3.1.1: {}
|
strip-json-comments@3.1.1: {}
|
||||||
|
|
||||||
@ -924,9 +924,9 @@ snapshots:
|
|||||||
|
|
||||||
wrap-ansi@8.1.0:
|
wrap-ansi@8.1.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
ansi-styles: 6.2.3
|
ansi-styles: 6.2.1
|
||||||
string-width: 5.1.2
|
string-width: 5.1.2
|
||||||
strip-ansi: 7.1.2
|
strip-ansi: 7.1.0
|
||||||
|
|
||||||
wrappy@1.0.2: {}
|
wrappy@1.0.2: {}
|
||||||
|
|
||||||
|
|||||||
@ -39,14 +39,6 @@
|
|||||||
datasourceTemplate: 'github-releases',
|
datasourceTemplate: 'github-releases',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
lockFileMaintenance: {
|
|
||||||
"enabled": true,
|
|
||||||
"commitMessageAction": "update",
|
|
||||||
"commitMessageTopic": "lockfiles",
|
|
||||||
schedule: [
|
|
||||||
'at any time',
|
|
||||||
]
|
|
||||||
},
|
|
||||||
packageRules: [
|
packageRules: [
|
||||||
{
|
{
|
||||||
groupName: 'subcharts (minor & patch)',
|
groupName: 'subcharts (minor & patch)',
|
||||||
@ -59,17 +51,6 @@
|
|||||||
'digest',
|
'digest',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
groupName: 'bats testing framework',
|
|
||||||
matchManagers: [
|
|
||||||
'git-submodules',
|
|
||||||
],
|
|
||||||
matchUpdateTypes: [
|
|
||||||
'minor',
|
|
||||||
'patch',
|
|
||||||
'digest',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
groupName: 'workflow dependencies (minor & patch)',
|
groupName: 'workflow dependencies (minor & patch)',
|
||||||
matchManagers: [
|
matchManagers: [
|
||||||
|
|||||||
@ -86,46 +86,3 @@ app.kubernetes.io/instance: {{ .Release.Name }}
|
|||||||
{{- define "gitea.actions.local_root_url" -}}
|
{{- define "gitea.actions.local_root_url" -}}
|
||||||
{{- .Values.giteaRootURL -}}
|
{{- .Values.giteaRootURL -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
|
||||||
Common create image implementation
|
|
||||||
*/}}
|
|
||||||
{{- define "gitea.actions.common.image" -}}
|
|
||||||
{{- $fullOverride := .image.fullOverride | default "" -}}
|
|
||||||
{{- $registry := .root.Values.global.imageRegistry | default .image.registry -}}
|
|
||||||
{{- $repository := .image.repository -}}
|
|
||||||
{{- $separator := ":" -}}
|
|
||||||
{{- $tag := .image.tag | default .root.Chart.AppVersion | toString -}}
|
|
||||||
{{- $digest := "" -}}
|
|
||||||
{{- if .image.digest }}
|
|
||||||
{{- $digest = (printf "@%s" (.image.digest | toString)) -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- if $fullOverride }}
|
|
||||||
{{- printf "%s" $fullOverride -}}
|
|
||||||
{{- else if $registry }}
|
|
||||||
{{- printf "%s/%s%s%s%s" $registry $repository $separator $tag $digest -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- printf "%s%s%s%s" $repository $separator $tag $digest -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create image for the Gitea Actions Act Runner
|
|
||||||
*/}}
|
|
||||||
{{- define "gitea.actions.actRunner.image" -}}
|
|
||||||
{{ include "gitea.actions.common.image" (dict "root" . "image" .Values.statefulset.actRunner) }}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create image for DinD
|
|
||||||
*/}}
|
|
||||||
{{- define "gitea.actions.dind.image" -}}
|
|
||||||
{{ include "gitea.actions.common.image" (dict "root" . "image" .Values.statefulset.dind) }}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{/*
|
|
||||||
Create image for Init
|
|
||||||
*/}}
|
|
||||||
{{- define "gitea.actions.init.image" -}}
|
|
||||||
{{ include "gitea.actions.common.image" (dict "root" . "image" .Values.init.image) }}
|
|
||||||
{{- end -}}
|
|
||||||
@ -10,10 +10,6 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
config.yaml: |
|
config.yaml: |
|
||||||
{{- with .Values.statefulset.actRunner.config -}}
|
{{- with .Values.statefulset.actRunner.config -}}
|
||||||
{{- if kindIs "string" . -}}
|
|
||||||
{{ . | nindent 4}}
|
{{ . | nindent 4}}
|
||||||
{{- else -}}
|
|
||||||
{{ toYaml . | nindent 4}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@ -30,11 +30,9 @@ spec:
|
|||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
|
||||||
{{- toYaml .Values.statefulset.securityContext | nindent 8 }}
|
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init-gitea
|
- name: init-gitea
|
||||||
image: "{{ include "gitea.actions.init.image" . }}"
|
image: "{{ .Values.init.image.repository }}:{{ .Values.init.image.tag }}"
|
||||||
command:
|
command:
|
||||||
- sh
|
- sh
|
||||||
- -c
|
- -c
|
||||||
@ -47,7 +45,7 @@ spec:
|
|||||||
echo "Gitea has been reached!"
|
echo "Gitea has been reached!"
|
||||||
containers:
|
containers:
|
||||||
- name: act-runner
|
- name: act-runner
|
||||||
image: "{{ include "gitea.actions.actRunner.image" . }}"
|
image: "{{ .Values.statefulset.actRunner.repository }}:{{ .Values.statefulset.actRunner.tag }}"
|
||||||
imagePullPolicy: {{ .Values.statefulset.actRunner.pullPolicy }}
|
imagePullPolicy: {{ .Values.statefulset.actRunner.pullPolicy }}
|
||||||
workingDir: /data
|
workingDir: /data
|
||||||
env:
|
env:
|
||||||
@ -66,11 +64,6 @@ spec:
|
|||||||
value: {{ include "gitea.actions.local_root_url" . }}
|
value: {{ include "gitea.actions.local_root_url" . }}
|
||||||
- name: CONFIG_FILE
|
- name: CONFIG_FILE
|
||||||
value: /actrunner/config.yaml
|
value: /actrunner/config.yaml
|
||||||
- name: TZ
|
|
||||||
value: {{ .Values.statefulset.timezone | default "Etc/UTC" }}
|
|
||||||
{{- if .Values.statefulset.actRunner.extraEnvs }}
|
|
||||||
{{- toYaml .Values.statefulset.actRunner.extraEnvs | nindent 12 }}
|
|
||||||
{{- end }}
|
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.statefulset.resources | nindent 12 }}
|
{{- toYaml .Values.statefulset.resources | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
@ -85,7 +78,7 @@ spec:
|
|||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: dind
|
- name: dind
|
||||||
image: "{{ include "gitea.actions.dind.image" . }}"
|
image: "{{ .Values.statefulset.dind.repository }}:{{ .Values.statefulset.dind.tag }}"
|
||||||
imagePullPolicy: {{ .Values.statefulset.dind.pullPolicy }}
|
imagePullPolicy: {{ .Values.statefulset.dind.pullPolicy }}
|
||||||
env:
|
env:
|
||||||
- name: DOCKER_HOST
|
- name: DOCKER_HOST
|
||||||
|
|||||||
@ -42,27 +42,3 @@ tests:
|
|||||||
runner:
|
runner:
|
||||||
labels:
|
labels:
|
||||||
- "ubuntu-latest"
|
- "ubuntu-latest"
|
||||||
- it: renders a ConfigMap with inline yaml
|
|
||||||
template: templates/config-act-runner.yaml
|
|
||||||
set:
|
|
||||||
enabled: true
|
|
||||||
statefulset:
|
|
||||||
actRunner:
|
|
||||||
config:
|
|
||||||
container:
|
|
||||||
valid_volumes:
|
|
||||||
- /var/run/docker.sock
|
|
||||||
options: -v /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
asserts:
|
|
||||||
- hasDocuments:
|
|
||||||
count: 1
|
|
||||||
- containsDocument:
|
|
||||||
kind: ConfigMap
|
|
||||||
apiVersion: v1
|
|
||||||
name: gitea-unittests-actions-act-runner-config
|
|
||||||
- matchRegex:
|
|
||||||
path: data["config.yaml"]
|
|
||||||
pattern: '(?m)^\s*options:\s*-v /var/run/docker.sock:/var/run/docker.sock\s*$'
|
|
||||||
- matchRegex:
|
|
||||||
path: data["config.yaml"]
|
|
||||||
pattern: '(?m)^\s*valid_volumes:\s*\n\s*-\s*/var/run/docker.sock\s*$'
|
|
||||||
|
|||||||
@ -6,216 +6,6 @@ templates:
|
|||||||
- templates/statefulset.yaml
|
- templates/statefulset.yaml
|
||||||
- templates/config-act-runner.yaml
|
- templates/config-act-runner.yaml
|
||||||
tests:
|
tests:
|
||||||
- it: act-runner uses fullOverride
|
|
||||||
template: templates/statefulset.yaml
|
|
||||||
set:
|
|
||||||
enabled: true
|
|
||||||
existingSecret: "my-secret"
|
|
||||||
existingSecretKey: "my-secret-key"
|
|
||||||
statefulset.actRunner.fullOverride: test.io/act_runner:x.y.z
|
|
||||||
asserts:
|
|
||||||
- hasDocuments:
|
|
||||||
count: 1
|
|
||||||
- containsDocument:
|
|
||||||
kind: StatefulSet
|
|
||||||
apiVersion: apps/v1
|
|
||||||
name: gitea-unittests-actions-act-runner
|
|
||||||
- equal:
|
|
||||||
path: spec.template.spec.containers[0].image
|
|
||||||
value: test.io/act_runner:x.y.z
|
|
||||||
- it: act-runner uses digest
|
|
||||||
template: templates/statefulset.yaml
|
|
||||||
set:
|
|
||||||
enabled: true
|
|
||||||
existingSecret: "my-secret"
|
|
||||||
existingSecretKey: "my-secret-key"
|
|
||||||
statefulset.actRunner.tag: 0.2.13
|
|
||||||
statefulset.actRunner.digest: sha256:abcdef123456
|
|
||||||
asserts:
|
|
||||||
- hasDocuments:
|
|
||||||
count: 1
|
|
||||||
- containsDocument:
|
|
||||||
kind: StatefulSet
|
|
||||||
apiVersion: apps/v1
|
|
||||||
name: gitea-unittests-actions-act-runner
|
|
||||||
- equal:
|
|
||||||
path: spec.template.spec.containers[0].image
|
|
||||||
value: docker.gitea.com/act_runner:0.2.13@sha256:abcdef123456
|
|
||||||
- it: act-runner uses global.imageRegistry
|
|
||||||
template: templates/statefulset.yaml
|
|
||||||
set:
|
|
||||||
enabled: true
|
|
||||||
existingSecret: "my-secret"
|
|
||||||
existingSecretKey: "my-secret-key"
|
|
||||||
global.imageRegistry: test.io
|
|
||||||
statefulset.actRunner.tag: 0.2.13
|
|
||||||
asserts:
|
|
||||||
- hasDocuments:
|
|
||||||
count: 1
|
|
||||||
- containsDocument:
|
|
||||||
kind: StatefulSet
|
|
||||||
apiVersion: apps/v1
|
|
||||||
name: gitea-unittests-actions-act-runner
|
|
||||||
- equal:
|
|
||||||
path: spec.template.spec.containers[0].image
|
|
||||||
value: test.io/act_runner:0.2.13
|
|
||||||
- it: dind uses fullOverride
|
|
||||||
template: templates/statefulset.yaml
|
|
||||||
set:
|
|
||||||
enabled: true
|
|
||||||
existingSecret: "my-secret"
|
|
||||||
existingSecretKey: "my-secret-key"
|
|
||||||
statefulset.dind.fullOverride: test.io/dind:x.y.z
|
|
||||||
asserts:
|
|
||||||
- hasDocuments:
|
|
||||||
count: 1
|
|
||||||
- containsDocument:
|
|
||||||
kind: StatefulSet
|
|
||||||
apiVersion: apps/v1
|
|
||||||
name: gitea-unittests-actions-act-runner
|
|
||||||
- equal:
|
|
||||||
path: spec.template.spec.containers[1].image
|
|
||||||
value: test.io/dind:x.y.z
|
|
||||||
- it: dind uses global.imageRegistry
|
|
||||||
template: templates/statefulset.yaml
|
|
||||||
set:
|
|
||||||
enabled: true
|
|
||||||
existingSecret: "my-secret"
|
|
||||||
existingSecretKey: "my-secret-key"
|
|
||||||
global.imageRegistry: test.io
|
|
||||||
statefulset.dind.tag: 28.3.3-dind
|
|
||||||
asserts:
|
|
||||||
- hasDocuments:
|
|
||||||
count: 1
|
|
||||||
- containsDocument:
|
|
||||||
kind: StatefulSet
|
|
||||||
apiVersion: apps/v1
|
|
||||||
name: gitea-unittests-actions-act-runner
|
|
||||||
- equal:
|
|
||||||
path: spec.template.spec.containers[1].image
|
|
||||||
value: test.io/docker:28.3.3-dind
|
|
||||||
- it: init uses fullOverride
|
|
||||||
template: templates/statefulset.yaml
|
|
||||||
set:
|
|
||||||
enabled: true
|
|
||||||
existingSecret: "my-secret"
|
|
||||||
existingSecretKey: "my-secret-key"
|
|
||||||
init.image.fullOverride: test.io/busybox:x.y.z
|
|
||||||
asserts:
|
|
||||||
- hasDocuments:
|
|
||||||
count: 1
|
|
||||||
- containsDocument:
|
|
||||||
kind: StatefulSet
|
|
||||||
apiVersion: apps/v1
|
|
||||||
name: gitea-unittests-actions-act-runner
|
|
||||||
- equal:
|
|
||||||
path: spec.template.spec.initContainers[0].image
|
|
||||||
value: test.io/busybox:x.y.z
|
|
||||||
- it: init uses global.imageRegistry
|
|
||||||
template: templates/statefulset.yaml
|
|
||||||
set:
|
|
||||||
enabled: true
|
|
||||||
existingSecret: "my-secret"
|
|
||||||
existingSecretKey: "my-secret-key"
|
|
||||||
global.imageRegistry: test.io
|
|
||||||
init.image.tag: 1.37.0
|
|
||||||
asserts:
|
|
||||||
- hasDocuments:
|
|
||||||
count: 1
|
|
||||||
- containsDocument:
|
|
||||||
kind: StatefulSet
|
|
||||||
apiVersion: apps/v1
|
|
||||||
name: gitea-unittests-actions-act-runner
|
|
||||||
- equal:
|
|
||||||
path: spec.template.spec.initContainers[0].image
|
|
||||||
value: test.io/busybox:1.37.0
|
|
||||||
- it: renders additional environment variables for act-runner container in StatefulSet
|
|
||||||
template: templates/statefulset.yaml
|
|
||||||
set:
|
|
||||||
enabled: true
|
|
||||||
existingSecret: "my-secret"
|
|
||||||
existingSecretKey: "my-secret-key"
|
|
||||||
statefulset:
|
|
||||||
actRunner:
|
|
||||||
extraEnvs:
|
|
||||||
- name: "CUSTOM_ENV"
|
|
||||||
value: "1"
|
|
||||||
- name: "GITEA_RUNNER_NAME"
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: metadata.name
|
|
||||||
asserts:
|
|
||||||
- hasDocuments:
|
|
||||||
count: 1
|
|
||||||
- containsDocument:
|
|
||||||
kind: StatefulSet
|
|
||||||
apiVersion: apps/v1
|
|
||||||
name: gitea-unittests-actions-act-runner
|
|
||||||
- equal:
|
|
||||||
path: spec.template.spec.containers[0].env[7]
|
|
||||||
value:
|
|
||||||
name: CUSTOM_ENV
|
|
||||||
value: "1"
|
|
||||||
- matchRegex:
|
|
||||||
path: spec.template.spec.containers[0].env[8].valueFrom.fieldRef.fieldPath
|
|
||||||
pattern: "metadata\\.name"
|
|
||||||
- matchRegex:
|
|
||||||
path: spec.template.spec.containers[0].env[8].name
|
|
||||||
pattern: "GITEA_RUNNER_NAME"
|
|
||||||
- it: Has fsGroup in securityContext
|
|
||||||
template: templates/statefulset.yaml
|
|
||||||
set:
|
|
||||||
enabled: true
|
|
||||||
existingSecret: "my-secret"
|
|
||||||
existingSecretKey: "my-secret-key"
|
|
||||||
statefulset.securityContext:
|
|
||||||
fsGroup: 1000
|
|
||||||
asserts:
|
|
||||||
- hasDocuments:
|
|
||||||
count: 1
|
|
||||||
- containsDocument:
|
|
||||||
kind: StatefulSet
|
|
||||||
apiVersion: apps/v1
|
|
||||||
name: gitea-unittests-actions-act-runner
|
|
||||||
- equal:
|
|
||||||
path: spec.template.spec.securityContext["fsGroup"]
|
|
||||||
value: 1000
|
|
||||||
- it: Has fsGroupChangePolicy in securityContext
|
|
||||||
template: templates/statefulset.yaml
|
|
||||||
set:
|
|
||||||
enabled: true
|
|
||||||
existingSecret: "my-secret"
|
|
||||||
existingSecretKey: "my-secret-key"
|
|
||||||
statefulset.securityContext:
|
|
||||||
fsGroupChangePolicy: OnRootMismatch
|
|
||||||
asserts:
|
|
||||||
- hasDocuments:
|
|
||||||
count: 1
|
|
||||||
- containsDocument:
|
|
||||||
kind: StatefulSet
|
|
||||||
apiVersion: apps/v1
|
|
||||||
name: gitea-unittests-actions-act-runner
|
|
||||||
- equal:
|
|
||||||
path: spec.template.spec.securityContext["fsGroupChangePolicy"]
|
|
||||||
value: "OnRootMismatch"
|
|
||||||
- it: Has Always in securityContext
|
|
||||||
template: templates/statefulset.yaml
|
|
||||||
set:
|
|
||||||
enabled: true
|
|
||||||
existingSecret: "my-secret"
|
|
||||||
existingSecretKey: "my-secret-key"
|
|
||||||
statefulset.securityContext:
|
|
||||||
fsGroupChangePolicy: Always
|
|
||||||
asserts:
|
|
||||||
- hasDocuments:
|
|
||||||
count: 1
|
|
||||||
- containsDocument:
|
|
||||||
kind: StatefulSet
|
|
||||||
apiVersion: apps/v1
|
|
||||||
name: gitea-unittests-actions-act-runner
|
|
||||||
- equal:
|
|
||||||
path: spec.template.spec.securityContext["fsGroupChangePolicy"]
|
|
||||||
value: "Always"
|
|
||||||
- it: doesn't renders a StatefulSet by default
|
- it: doesn't renders a StatefulSet by default
|
||||||
template: templates/statefulset.yaml
|
template: templates/statefulset.yaml
|
||||||
asserts:
|
asserts:
|
||||||
|
|||||||
37
values.yaml
37
values.yaml
@ -5,7 +5,6 @@
|
|||||||
## @param init.image.repository The image used for the init containers
|
## @param init.image.repository The image used for the init containers
|
||||||
## @param init.image.tag The image tag used for the init containers
|
## @param init.image.tag The image tag used for the init containers
|
||||||
## @param statefulset.replicas the amount of (replica) runner pods deployed
|
## @param statefulset.replicas the amount of (replica) runner pods deployed
|
||||||
## @param statefulset.timezone is the timezone that will be set in the act_runner image
|
|
||||||
## @param statefulset.annotations Act runner annotations
|
## @param statefulset.annotations Act runner annotations
|
||||||
## @param statefulset.labels Act runner labels
|
## @param statefulset.labels Act runner labels
|
||||||
## @param statefulset.resources Act runner resources
|
## @param statefulset.resources Act runner resources
|
||||||
@ -13,32 +12,23 @@
|
|||||||
## @param statefulset.tolerations Tolerations for the statefulset
|
## @param statefulset.tolerations Tolerations for the statefulset
|
||||||
## @param statefulset.affinity Affinity for the statefulset
|
## @param statefulset.affinity Affinity for the statefulset
|
||||||
## @param statefulset.extraVolumes Extra volumes for the statefulset
|
## @param statefulset.extraVolumes Extra volumes for the statefulset
|
||||||
## @param statefulset.actRunner.registry image registry, e.g. gcr.io,docker.io
|
|
||||||
## @param statefulset.actRunner.repository The Gitea act runner image
|
## @param statefulset.actRunner.repository The Gitea act runner image
|
||||||
## @param statefulset.actRunner.tag The Gitea act runner tag
|
## @param statefulset.actRunner.tag The Gitea act runner tag
|
||||||
## @param statefulset.actRunner.digest Image digest. Allows to pin the given image tag. Useful for having control over mutable tags like `latest`
|
|
||||||
## @param statefulset.actRunner.pullPolicy The Gitea act runner pullPolicy
|
## @param statefulset.actRunner.pullPolicy The Gitea act runner pullPolicy
|
||||||
## @param statefulset.actRunner.fullOverride Completely overrides the image registry, path/image, tag and digest.
|
|
||||||
## @param statefulset.actRunner.extraVolumeMounts Allows mounting extra volumes in the act runner container
|
## @param statefulset.actRunner.extraVolumeMounts Allows mounting extra volumes in the act runner container
|
||||||
## @param statefulset.actRunner.config [default: Too complex. See values.yaml] Act runner custom configuration. See [Act Runner documentation](https://docs.gitea.com/usage/actions/act-runner#configuration) for details.
|
## @param statefulset.actRunner.config [default: Too complex. See values.yaml] Act runner custom configuration. See [Act Runner documentation](https://docs.gitea.com/usage/actions/act-runner#configuration) for details.
|
||||||
## @param statefulset.dind.registry image registry, e.g. gcr.io,docker.io
|
|
||||||
## @param statefulset.actRunner.extraEnvs Allows adding custom environment variables
|
|
||||||
## @param statefulset.dind.repository The Docker-in-Docker image
|
## @param statefulset.dind.repository The Docker-in-Docker image
|
||||||
## @param statefulset.dind.tag The Docker-in-Docker image tag
|
## @param statefulset.dind.tag The Docker-in-Docker image tag
|
||||||
## @param statefulset.dind.digest Image digest. Allows to pin the given image tag. Useful for having control over mutable tags like `latest`
|
|
||||||
## @param statefulset.dind.fullOverride Completely overrides the image registry, path/image, tag and digest.
|
|
||||||
## @param statefulset.dind.pullPolicy The Docker-in-Docker pullPolicy
|
## @param statefulset.dind.pullPolicy The Docker-in-Docker pullPolicy
|
||||||
## @param statefulset.dind.extraVolumeMounts Allows mounting extra volumes in the Docker-in-Docker container
|
## @param statefulset.dind.extraVolumeMounts Allows mounting extra volumes in the Docker-in-Docker container
|
||||||
## @param statefulset.dind.extraEnvs Allows adding custom environment variables, such as `DOCKER_IPTABLES_LEGACY`
|
## @param statefulset.dind.extraEnvs Allows adding custom environment variables, such as `DOCKER_IPTABLES_LEGACY`
|
||||||
## @param statefulset.persistence.size Size for persistence to store act runner data
|
## @param statefulset.persistence.size Size for persistence to store act runner data
|
||||||
## @param statefulset.securityContext Customize the SecurityContext
|
|
||||||
## @param existingSecret Secret that contains the token
|
## @param existingSecret Secret that contains the token
|
||||||
## @param existingSecretKey Secret key
|
## @param existingSecretKey Secret key
|
||||||
## @param giteaRootURL URL the act_runner registers and connect with
|
## @param giteaRootURL URL the act_runner registers and connect with
|
||||||
enabled: false
|
enabled: false
|
||||||
statefulset:
|
statefulset:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
timezone: Etc/UTC
|
|
||||||
annotations: {}
|
annotations: {}
|
||||||
labels: {}
|
labels: {}
|
||||||
resources: {}
|
resources: {}
|
||||||
@ -46,22 +36,12 @@ statefulset:
|
|||||||
tolerations: []
|
tolerations: []
|
||||||
affinity: {}
|
affinity: {}
|
||||||
extraVolumes: []
|
extraVolumes: []
|
||||||
securityContext: {}
|
|
||||||
|
|
||||||
actRunner:
|
actRunner:
|
||||||
registry: "docker.gitea.com"
|
repository: gitea/act_runner
|
||||||
repository: act_runner
|
|
||||||
tag: 0.2.13
|
tag: 0.2.13
|
||||||
digest: ""
|
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
fullOverride: ""
|
|
||||||
extraVolumeMounts: []
|
extraVolumeMounts: []
|
||||||
extraEnvs:
|
|
||||||
[]
|
|
||||||
# - name: "GITEA_RUNNER_NAME"
|
|
||||||
# valueFrom:
|
|
||||||
# fieldRef:
|
|
||||||
# fieldPath: metadata.name
|
|
||||||
|
|
||||||
# See full example here: https://gitea.com/gitea/act_runner/src/branch/main/internal/pkg/config/config.example.yaml
|
# See full example here: https://gitea.com/gitea/act_runner/src/branch/main/internal/pkg/config/config.example.yaml
|
||||||
config: |
|
config: |
|
||||||
@ -74,12 +54,9 @@ statefulset:
|
|||||||
docker_timeout: 300s
|
docker_timeout: 300s
|
||||||
|
|
||||||
dind:
|
dind:
|
||||||
registry: ""
|
|
||||||
repository: docker
|
repository: docker
|
||||||
tag: 28.3.3-dind
|
tag: 28.3.3-dind
|
||||||
digest: ""
|
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
fullOverride: ""
|
|
||||||
extraVolumeMounts: []
|
extraVolumeMounts: []
|
||||||
|
|
||||||
# If the container keeps crashing in your environment, you might have to add the `DOCKER_IPTABLES_LEGACY` environment variable.
|
# If the container keeps crashing in your environment, you might have to add the `DOCKER_IPTABLES_LEGACY` environment variable.
|
||||||
@ -92,23 +69,11 @@ statefulset:
|
|||||||
persistence:
|
persistence:
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
|
|
||||||
## @section Gitea Actions Init
|
|
||||||
#
|
|
||||||
## @param init.image.registry image registry, e.g. gcr.io,docker.io
|
|
||||||
## @param init.image.repository The init image
|
|
||||||
## @param init.image.tag the init image tag
|
|
||||||
## @param init.image.digest Image digest. Allows to pin the given image tag. Useful for having control over mutable tags like `latest`
|
|
||||||
## @param init.image.pullPolicy The init image pullPolicy
|
|
||||||
## @param init.image.fullOverride Completely overrides the image registry, path/image, tag and digest.
|
|
||||||
init:
|
init:
|
||||||
image:
|
image:
|
||||||
registry: ""
|
|
||||||
repository: busybox
|
repository: busybox
|
||||||
# Overrides the image tag whose default is the chart appVersion.
|
# Overrides the image tag whose default is the chart appVersion.
|
||||||
tag: "1.37.0"
|
tag: "1.37.0"
|
||||||
digest: ""
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
fullOverride: ""
|
|
||||||
|
|
||||||
## Specify an existing token secret
|
## Specify an existing token secret
|
||||||
##
|
##
|
||||||
|
|||||||
Reference in New Issue
Block a user