You've already forked helm-gitea
fix(ci): add markdownlinters
All checks were successful
Run Helm tests / Execute helm template (push) Successful in 9s
Run Helm tests / Execute helm lint (push) Successful in 17s
Run Helm tests / Execute helm unittest (push) Successful in 24s
Markdown linter / Execute npm run readme:lint (push) Successful in 7s
Markdown linter / Execute npm run readme:parameters (push) Successful in 8s
Markdown linter / Execute npm run readme:link (push) Successful in 37s
All checks were successful
Run Helm tests / Execute helm template (push) Successful in 9s
Run Helm tests / Execute helm lint (push) Successful in 17s
Run Helm tests / Execute helm unittest (push) Successful in 24s
Markdown linter / Execute npm run readme:lint (push) Successful in 7s
Markdown linter / Execute npm run readme:parameters (push) Successful in 8s
Markdown linter / Execute npm run readme:link (push) Successful in 37s
This commit is contained in:
@@ -2,13 +2,10 @@ name: Run Helm tests
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches: [ '**' ]
|
||||||
- '**'
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [ '**' ]
|
||||||
- '**'
|
tags-ignore: [ '**' ]
|
||||||
tags-ignore:
|
|
||||||
- '**'
|
|
||||||
workflow_call: {}
|
workflow_call: {}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
50
.gitea/workflows/markdown-linters.yml
Normal file
50
.gitea/workflows/markdown-linters.yml
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
name: Markdown linter
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [ "opened", "reopened", "synchronize" ]
|
||||||
|
push:
|
||||||
|
branches: [ '**' ]
|
||||||
|
tags-ignore: [ '**' ]
|
||||||
|
workflow_dispatch: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
readme-link:
|
||||||
|
container:
|
||||||
|
image: docker.io/library/node:24.9.0-alpine
|
||||||
|
name: Execute npm run readme:link
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v5.0.0
|
||||||
|
- name: Execute npm run readme:link
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run readme:link
|
||||||
|
|
||||||
|
readme-lint:
|
||||||
|
container:
|
||||||
|
image: docker.io/library/node:24.9.0-alpine
|
||||||
|
name: Execute npm run readme:lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v5.0.0
|
||||||
|
- name: Execute npm run readme:lint
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run readme:lint
|
||||||
|
|
||||||
|
readme-parameters:
|
||||||
|
container:
|
||||||
|
image: docker.io/library/node:24.9.0-alpine
|
||||||
|
name: Execute npm run readme:parameters
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Install tooling
|
||||||
|
run: |
|
||||||
|
apk update
|
||||||
|
apk add git
|
||||||
|
- uses: actions/checkout@v5.0.0
|
||||||
|
- name: Execute npm run readme:parameters
|
||||||
|
run: |
|
||||||
|
npm install
|
||||||
|
npm run readme:parameters
|
8
.markdownlink.json
Normal file
8
.markdownlink.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"projectBaseUrl":"${workspaceFolder}",
|
||||||
|
"ignorePatterns": [
|
||||||
|
{
|
||||||
|
"pattern": "^http://localhost"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@@ -44,8 +44,7 @@ be used:
|
|||||||
`helm install --dependency-update gitea . -f values.yaml`.
|
`helm install --dependency-update gitea . -f values.yaml`.
|
||||||
1. Gitea is now deployed in `minikube`.
|
1. Gitea is now deployed in `minikube`.
|
||||||
To access it, it's port needs to be forwarded first from `minikube` to localhost first via `kubectl --namespace
|
To access it, it's port needs to be forwarded first from `minikube` to localhost first via `kubectl --namespace
|
||||||
default port-forward svc/gitea-http 3000:3000`.
|
default port-forward svc/gitea-http 3000:3000`. Now Gitea is accessible at [http://localhost:3000](http://localhost:3000).
|
||||||
Now Gitea is accessible at [http://localhost:3000](http://localhost:3000).
|
|
||||||
|
|
||||||
### Unit tests
|
### Unit tests
|
||||||
|
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
- [Rootless Defaults](#rootless-defaults)
|
- [Rootless Defaults](#rootless-defaults)
|
||||||
- [Session, Cache and Queue](#session-cache-and-queue)
|
- [Session, Cache and Queue](#session-cache-and-queue)
|
||||||
- [Single-Pod Configurations](#single-pod-configurations)
|
- [Single-Pod Configurations](#single-pod-configurations)
|
||||||
- [Additional _app.ini_ settings](#additional-appini-settings)
|
- [Additional app.ini settings](#additional-appini-settings)
|
||||||
- [User defined environment variables in app.ini](#user-defined-environment-variables-in-appini)
|
- [User defined environment variables in app.ini](#user-defined-environment-variables-in-appini)
|
||||||
- [External Database](#external-database)
|
- [External Database](#external-database)
|
||||||
- [Ports and external url](#ports-and-external-url)
|
- [Ports and external url](#ports-and-external-url)
|
||||||
@@ -72,7 +72,7 @@ Additionally, this chart allows to provide LDAP and admin user configuration wit
|
|||||||
## Update and versioning policy
|
## Update and versioning policy
|
||||||
|
|
||||||
The Gitea helm chart versioning does not follow Gitea's versioning.
|
The Gitea helm chart versioning does not follow Gitea's versioning.
|
||||||
The latest chart version can be looked up in [https://dl.gitea.com/charts](https://dl.gitea.com/charts) or in the [repository releases](https://gitea.com/gitea/helm-gitea/releases).
|
The latest chart version can be looked up in [https://dl.gitea.com/charts/](https://dl.gitea.com/charts/) or in the [repository releases](https://gitea.com/gitea/helm-gitea/releases).
|
||||||
|
|
||||||
The chart aims to follow Gitea's releases closely.
|
The chart aims to follow Gitea's releases closely.
|
||||||
There might be times when the chart is behind the latest Gitea release.
|
There might be times when the chart is behind the latest Gitea release.
|
||||||
@@ -360,7 +360,7 @@ If HA is not needed/desired, the following configurations can be used to deploy
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
### Additional _app.ini_ settings
|
### Additional app.ini settings
|
||||||
|
|
||||||
> **The [generic](https://docs.gitea.com/administration/config-cheat-sheet#overall-default)
|
> **The [generic](https://docs.gitea.com/administration/config-cheat-sheet#overall-default)
|
||||||
> section cannot be defined that way.**
|
> section cannot be defined that way.**
|
||||||
|
896
package-lock.json
generated
896
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -9,11 +9,13 @@
|
|||||||
"npm": ">=8.0.0"
|
"npm": ">=8.0.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"readme:link": "markdown-link-check --config .markdownlink.json *.md",
|
||||||
"readme:lint": "markdownlint *.md -f",
|
"readme:lint": "markdownlint *.md -f",
|
||||||
"readme:parameters": "readme-generator -v values.yaml -r README.md"
|
"readme:parameters": "readme-generator -v values.yaml -r README.md"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@bitnami/readme-generator-for-helm": "^2.5.0",
|
"@bitnami/readme-generator-for-helm": "^2.5.0",
|
||||||
|
"markdown-link-check": "^3.13.6",
|
||||||
"markdownlint-cli": "^0.45.0"
|
"markdownlint-cli": "^0.45.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user