generated from Templates/Baseline
migrate to Woodpecker-CI 3 pipelines #28
@ -1,6 +1,6 @@
|
|||||||
name: Pull Request
|
name: Pull Request
|
||||||
about: General pull request
|
about: General pull request
|
||||||
title: ""
|
title: ''
|
||||||
body:
|
body:
|
||||||
- type: markdown
|
- type: markdown
|
||||||
attributes:
|
attributes:
|
||||||
|
10
.prettierrc.json
Normal file
10
.prettierrc.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://json.schemastore.org/prettierrc",
|
||||||
|
"arrowParens": "always",
|
||||||
|
"bracketSpacing": true,
|
||||||
|
"printWidth": 116,
|
||||||
|
"semi": false,
|
||||||
|
"singleQuote": true,
|
||||||
|
"trailingComma": "all",
|
||||||
|
"vueIndentScriptAndStyle": true
|
||||||
|
}
|
14
.vscode/settings.json
vendored
14
.vscode/settings.json
vendored
@ -6,9 +6,7 @@
|
|||||||
"editor.renderWhitespace": "boundary",
|
"editor.renderWhitespace": "boundary",
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"editor.formatOnType": true,
|
"editor.formatOnType": true,
|
||||||
"editor.rulers": [
|
"editor.rulers": [116],
|
||||||
116
|
|
||||||
],
|
|
||||||
// cSpell settings for custom dictionary
|
// cSpell settings for custom dictionary
|
||||||
"cSpell.enabled": true,
|
"cSpell.enabled": true,
|
||||||
"cSpell.caseSensitive": false,
|
"cSpell.caseSensitive": false,
|
||||||
@ -55,8 +53,12 @@
|
|||||||
"custom": true
|
"custom": true
|
||||||
},
|
},
|
||||||
"[markdown]": {
|
"[markdown]": {
|
||||||
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint",
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
"editor.formatOnSave": true,
|
},
|
||||||
"editor.formatOnPaste": true,
|
"[json]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[jsonc]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,8 +11,7 @@ variables:
|
|||||||
- &publish_repos 'ocram85/plugin-gitea-package,gitea.ocram85.com/plugins/gitea-package'
|
- &publish_repos 'ocram85/plugin-gitea-package,gitea.ocram85.com/plugins/gitea-package'
|
||||||
#- &publish_repos 'gitea.ocram85.com/plugins/gitea-package'
|
#- &publish_repos 'gitea.ocram85.com/plugins/gitea-package'
|
||||||
# logins for deployment targets
|
# logins for deployment targets
|
||||||
- publish_logins: &publish_logins
|
- publish_logins: &publish_logins # Default DockerHub login
|
||||||
# Default DockerHub login
|
|
||||||
- registry: https://index.docker.io/v1/
|
- registry: https://index.docker.io/v1/
|
||||||
username:
|
username:
|
||||||
from_secret: docker_user
|
from_secret: docker_user
|
||||||
@ -35,18 +34,23 @@ steps:
|
|||||||
#when:
|
#when:
|
||||||
# path: "Dockerfile"
|
# path: "Dockerfile"
|
||||||
|
|
||||||
lint-markdown:
|
#lint-markdown:
|
||||||
image: davidanson/markdownlint-cli2:v0.17.1
|
# image: davidanson/markdownlint-cli2:v0.17.1
|
||||||
commands:
|
# commands:
|
||||||
- "markdownlint-cli2 *.{md,markdown}"
|
# - "markdownlint-cli2 *.{md,markdown}"
|
||||||
when:
|
# when:
|
||||||
path: "*.{md,markdown}"
|
# path: "*.{md,markdown}"
|
||||||
|
|
||||||
lint-editorconfig:
|
lint-editorconfig:
|
||||||
depends_on: []
|
depends_on: []
|
||||||
image: docker.io/mstruebing/editorconfig-checker:v3.1.2
|
image: woodpeckerci/plugin-editorconfig-checker:latest
|
||||||
when:
|
pull: true
|
||||||
event: pull_request
|
settings:
|
||||||
|
verbose: true
|
||||||
|
|
||||||
|
lint-prettier:
|
||||||
|
depends_on: []
|
||||||
|
image: woodpeckerci/plugin-prettier:1.3.0
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: *build_plugin
|
image: *build_plugin
|
||||||
@ -100,7 +104,7 @@ steps:
|
|||||||
from_secret: RENOVATE_TOKEN
|
from_secret: RENOVATE_TOKEN
|
||||||
base_url: https://gitea.ocram85.com
|
base_url: https://gitea.ocram85.com
|
||||||
title: ${CI_COMMIT_TAG}
|
title: ${CI_COMMIT_TAG}
|
||||||
note: "> :bulb: **Note:** See [CHANGELOG.md](src/branch/master/CHANGELOG.md) for recent changes."
|
note: '> :bulb: **Note:** See [CHANGELOG.md](src/branch/master/CHANGELOG.md) for recent changes.'
|
||||||
when:
|
when:
|
||||||
event: [tag]
|
event: [tag]
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
19
.woodpecker/release-hepler.yml
Normal file
19
.woodpecker/release-hepler.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
depends_on:
|
||||||
|
- ci
|
||||||
|
- test-image
|
||||||
|
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
branch:
|
||||||
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
- event: manual
|
||||||
|
evaluate: TASK == "release-helper"
|
||||||
|
|
||||||
|
steps:
|
||||||
|
release-helper:
|
||||||
|
image: woodpeckerci/plugin-ready-release-go:3.1.3
|
||||||
|
settings:
|
||||||
|
debug: true
|
||||||
|
git_email: noreply@ocram85.com
|
||||||
|
forge_token:
|
||||||
|
from_secret: ci_token
|
@ -4,7 +4,6 @@ when:
|
|||||||
branch:
|
branch:
|
||||||
- ${CI_REPO_DEFAULT_BRANCH}
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &build_plugin 'gitea.ocram85.com/plugins/gitea-package:next'
|
- &build_plugin 'gitea.ocram85.com/plugins/gitea-package:next'
|
||||||
- &default_settings
|
- &default_settings
|
||||||
@ -12,15 +11,15 @@ variables:
|
|||||||
from_secret: gitea_user
|
from_secret: gitea_user
|
||||||
password:
|
password:
|
||||||
from_secret: gitea_passwd
|
from_secret: gitea_passwd
|
||||||
owner: "plugins"
|
owner: 'plugins'
|
||||||
package_name: "dummy_package"
|
package_name: 'dummy_package'
|
||||||
package_version: "0.1.0"
|
package_version: '0.1.0'
|
||||||
file_source: "./README.md"
|
file_source: './README.md'
|
||||||
file_name: "readme.md"
|
file_name: 'readme.md'
|
||||||
#update: "true"
|
#update: "true"
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- "ci"
|
- ci
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
default:
|
default:
|
||||||
@ -28,7 +27,7 @@ steps:
|
|||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
<<: *default_settings
|
<<: *default_settings
|
||||||
update: "true"
|
update: 'true'
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
@ -38,8 +37,8 @@ steps:
|
|||||||
pull: true
|
pull: true
|
||||||
settings:
|
settings:
|
||||||
<<: *default_settings
|
<<: *default_settings
|
||||||
update: "true"
|
update: 'true'
|
||||||
debug: "true"
|
debug: 'true'
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
@ -50,7 +49,7 @@ steps:
|
|||||||
failure: ignore
|
failure: ignore
|
||||||
settings:
|
settings:
|
||||||
<<: *default_settings
|
<<: *default_settings
|
||||||
debug: "true"
|
debug: 'true'
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
55
CHANGELOG.md
55
CHANGELOG.md
@ -1,44 +1,49 @@
|
|||||||
<!-- markdownlint-disable MD041 -->
|
<!-- markdownlint-disable MD041 -->
|
||||||
|
|
||||||
## [v0.3.1](https://gitea.ocram85.com/plugins/gitea-package/releases/tag/v0.3.1) - 2025-01-17
|
## [v0.3.1](https://gitea.ocram85.com/plugins/gitea-package/releases/tag/v0.3.1) - 2025-01-17
|
||||||
|
|
||||||
* 🤖 DEPENDENCIES
|
- 🤖 DEPENDENCIES
|
||||||
* Chore(deps): update docker.io/mstruebing/editorconfig-checker docker tag to v3.1.2 (#22)
|
- Chore(deps): update docker.io/mstruebing/editorconfig-checker docker tag to v3.1.2 (#22)
|
||||||
* Chore(deps): update davidanson/markdownlint-cli2 docker tag to v0.17.1 (#21)
|
- Chore(deps): update davidanson/markdownlint-cli2 docker tag to v0.17.1 (#21)
|
||||||
* Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5 (#20)
|
- Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5 (#20)
|
||||||
* Chore(deps): update curlimages/curl docker tag to v8.11.1 (#19)
|
- Chore(deps): update curlimages/curl docker tag to v8.11.1 (#19)
|
||||||
|
|
||||||
<!-- markdownlint-disable MD041 -->
|
<!-- markdownlint-disable MD041 -->
|
||||||
|
|
||||||
## [v0.3.0](https://gitea.ocram85.com/plugins/gitea-package/releases/tag/v0.3.0) - 2024-09-09
|
## [v0.3.0](https://gitea.ocram85.com/plugins/gitea-package/releases/tag/v0.3.0) - 2024-09-09
|
||||||
|
|
||||||
* 🤖 DEPENDENCIES
|
- 🤖 DEPENDENCIES
|
||||||
* Chore(deps): update davidanson/markdownlint-cli2 docker tag to v0.14.0 (#17)
|
- Chore(deps): update davidanson/markdownlint-cli2 docker tag to v0.14.0 (#17)
|
||||||
* Chore(deps): update curlimages/curl docker tag to v8.9.1 (#16)
|
- Chore(deps): update curlimages/curl docker tag to v8.9.1 (#16)
|
||||||
* Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4.2.0 (#15)
|
- Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4.2.0 (#15)
|
||||||
|
|
||||||
<!-- markdownlint-disable MD041 -->
|
<!-- markdownlint-disable MD041 -->
|
||||||
|
|
||||||
## [v0.2.0](https://gitea.ocram85.com/plugins/gitea-package/releases/tag/v0.2.0) - 2024-07-09
|
## [v0.2.0](https://gitea.ocram85.com/plugins/gitea-package/releases/tag/v0.2.0) - 2024-07-09
|
||||||
|
|
||||||
* 🤖 DEPENDENCIES
|
- 🤖 DEPENDENCIES
|
||||||
* Chore(deps): update docker.io/mstruebing/editorconfig-checker docker tag to v3.0.3 (#13)
|
- Chore(deps): update docker.io/mstruebing/editorconfig-checker docker tag to v3.0.3 (#13)
|
||||||
* Chore(deps): update curlimages/curl docker tag to v8.8.0 (#12)
|
- Chore(deps): update curlimages/curl docker tag to v8.8.0 (#12)
|
||||||
|
|
||||||
<!-- markdownlint-disable MD041 -->
|
<!-- markdownlint-disable MD041 -->
|
||||||
|
|
||||||
## [v0.1.1](https://gitea.ocram85.com/plugins/gitea-package/releases/tag/v0.1.1) - 2024-05-17
|
## [v0.1.1](https://gitea.ocram85.com/plugins/gitea-package/releases/tag/v0.1.1) - 2024-05-17
|
||||||
|
|
||||||
* 🛠️ ENHANCEMENTS
|
- 🛠️ ENHANCEMENTS
|
||||||
* Extend text output (#10)
|
- Extend text output (#10)
|
||||||
* 📦 BUILD
|
- 📦 BUILD
|
||||||
* Add linter + renovate (#6)
|
- Add linter + renovate (#6)
|
||||||
* 🤖 DEPENDENCIES
|
- 🤖 DEPENDENCIES
|
||||||
* Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4 (#8)
|
- Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4 (#8)
|
||||||
|
|
||||||
<!-- markdownlint-disable MD041 -->
|
<!-- markdownlint-disable MD041 -->
|
||||||
|
|
||||||
## [v0.1.0](https://gitea.ocram85.com/plugins/gitea-package/releases/tag/v0.1.0) - 2024-05-14
|
## [v0.1.0](https://gitea.ocram85.com/plugins/gitea-package/releases/tag/v0.1.0) - 2024-05-14
|
||||||
|
|
||||||
* 🐛 BUGFIXES
|
- 🐛 BUGFIXES
|
||||||
* Fix logo size (#4)
|
- Fix logo size (#4)
|
||||||
* ✨ FEATURES
|
- ✨ FEATURES
|
||||||
* Add upload command (#3)
|
- Add upload command (#3)
|
||||||
* Migrate content (#1)
|
- Migrate content (#1)
|
||||||
* ⚙️ META
|
- ⚙️ META
|
||||||
* Update Gitea meta files (#2)
|
- Update Gitea meta files (#2)
|
||||||
|
18
docs.md
18
docs.md
@ -18,7 +18,7 @@ For details about the features and limits of the _Generic Package Registry_ thei
|
|||||||
## Settings
|
## Settings
|
||||||
|
|
||||||
| Settings Name | Default | Description |
|
| Settings Name | Default | Description |
|
||||||
| ------------- | ------- | ------------------------- |
|
| ----------------- | ------- | ------------------------------------------- |
|
||||||
| `user` | _none_ | Gitea user for basic auth |
|
| `user` | _none_ | Gitea user for basic auth |
|
||||||
| `password` | _none_ | Password for basic auth |
|
| `password` | _none_ | Password for basic auth |
|
||||||
| `debug` | _none_ | Enables debug output if it's set to `true`. |
|
| `debug` | _none_ | Enables debug output if it's set to `true`. |
|
||||||
@ -39,7 +39,7 @@ when:
|
|||||||
- ${CI_REPO_DEFAULT_BRANCH}
|
- ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- "ci"
|
- 'ci'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
next:
|
next:
|
||||||
@ -51,13 +51,13 @@ steps:
|
|||||||
from_secret: gitea_user
|
from_secret: gitea_user
|
||||||
password:
|
password:
|
||||||
from_secret: gitea_passwd
|
from_secret: gitea_passwd
|
||||||
debug: "true"
|
debug: 'true'
|
||||||
owner: "plugins"
|
owner: 'plugins'
|
||||||
package_name: "dummy_package"
|
package_name: 'dummy_package'
|
||||||
package_version: "0.1.0"
|
package_version: '0.1.0'
|
||||||
file_source: "./README.md"
|
file_source: './README.md'
|
||||||
file_name: "readme.md"
|
file_name: 'readme.md'
|
||||||
update: "true"
|
update: 'true'
|
||||||
when:
|
when:
|
||||||
event: pull_request
|
event: pull_request
|
||||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
67
release-conifg.ts
Normal file
67
release-conifg.ts
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
export default {
|
||||||
|
skipLabels: [
|
||||||
|
// FIXME: ignoring a label prevents processing the full PR!
|
||||||
|
//'build_pr_images',
|
||||||
|
// ignore issue labels
|
||||||
|
'duplicate',
|
||||||
|
'help wanted',
|
||||||
|
'invalid',
|
||||||
|
'question',
|
||||||
|
'wontfix',
|
||||||
|
],
|
||||||
|
changeTypes: [
|
||||||
|
{
|
||||||
|
title: '💥 Breaking changes',
|
||||||
|
labels: ['breaking'],
|
||||||
|
bump: 'major',
|
||||||
|
weight: 4,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '✨ Features',
|
||||||
|
labels: ['feature'],
|
||||||
|
bump: 'minor',
|
||||||
|
weight: 3,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '🛠️ Enhancement',
|
||||||
|
labels: ['enhancement'],
|
||||||
|
bump: 'minor',
|
||||||
|
weight: 2,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '🐛 Bug Fixes',
|
||||||
|
labels: ['bug'],
|
||||||
|
bump: 'patch',
|
||||||
|
weight: 1,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '🤖 Dependency',
|
||||||
|
labels: ['renovate', 'dependency'],
|
||||||
|
bump: 'patch',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '📚 Documentation',
|
||||||
|
labels: ['docs'],
|
||||||
|
bump: 'patch',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '📦 Build',
|
||||||
|
labels: ['pipeline'],
|
||||||
|
bump: 'patch',
|
||||||
|
weight: -1,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '⚙️ Meta',
|
||||||
|
labels: ['meta'],
|
||||||
|
bump: 'patch',
|
||||||
|
weight: -2,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '🔖 Misc',
|
||||||
|
labels: ['misc'],
|
||||||
|
bump: 'patch',
|
||||||
|
default: true,
|
||||||
|
weight: -3,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
@ -5,8 +5,6 @@
|
|||||||
},
|
},
|
||||||
"woodpecker": {
|
"woodpecker": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"fileMatch": [
|
"fileMatch": ["^.woodpecker\/.*.yml$"]
|
||||||
"^.woodpecker\/.*.yml$"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user