Skip to content

Commit 2f43cd7

Browse files
Merge pull request #12 from tegridy-io/renovate/mikepenz-release-changelog-builder-action-5.x
Update mikepenz/release-changelog-builder-action action to v5
2 parents ded3288 + e271905 commit 2f43cd7

File tree

10 files changed

+79
-15
lines changed

10 files changed

+79
-15
lines changed

.cruft.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/projectsyn/commodore-component-template.git",
3-
"commit": "dcae06138d227340acb8056d0d031f32d75c09b5",
3+
"commit": "98d16f99766e6c6d97322dbe42e058f0e2bf73d0",
44
"checkout": "main",
55
"context": {
66
"cookiecutter": {
@@ -13,6 +13,12 @@
1313
"add_golden": "y",
1414
"add_matrix": "y",
1515
"add_go_unit": "n",
16+
"automerge_patch": "y",
17+
"automerge_patch_v0": "n",
18+
"automerge_patch_regexp_blocklist": "",
19+
"automerge_patch_v0_regexp_allowlist": "",
20+
"automerge_minor_regexp_allowlist": "",
21+
"auto_release": "y",
1622
"copyright_holder": "VSHN AG <info@vshn.ch>",
1723
"copyright_year": "2023",
1824
"github_owner": "tegridy-io",

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
## Checklist
55

6-
- [ ] The PR has a meaningful title. It will be used to auto generate the
6+
- [ ] The PR has a meaningful title. It will be used to auto-generate the
77
changelog.
88
The PR has a meaningful description that sums up the change. It will be
99
linked in the changelog.
@@ -21,6 +21,6 @@ review the checklist.
2121
Contributors guide: ./CONTRIBUTING.md
2222
2323
Remove items that do not apply. For completed items, change [ ] to [x].
24-
These things are not required to open a PR and can be done afterwards,
24+
These things are not required to open a PR and can be done afterwards
2525
while the PR is open.
2626
-->
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Autorelease
2+
on:
3+
pull_request:
4+
types:
5+
- synchronize
6+
- labeled
7+
- unlabeled
8+
- closed
9+
10+
jobs:
11+
create-release-tag:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Create new tag
15+
uses: projectsyn/pr-label-tag-action@v1
16+
with:
17+
trigger: |
18+
Release

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
tags:
55
- v*
6+
workflow_dispatch:
67

78
jobs:
89
build:
@@ -13,7 +14,7 @@ jobs:
1314
fetch-depth: "0"
1415
- name: Build changelog from PRs with labels
1516
id: build_changelog
16-
uses: mikepenz/release-changelog-builder-action@v4
17+
uses: mikepenz/release-changelog-builder-action@v5
1718
with:
1819
configuration: ".github/changelog-configuration.json"
1920
# PreReleases still get a changelog, but the next full release gets a diff since the last full release,

.yamllint.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ rules:
66
max: 80
77
level: warning
88

9+
# Forbid octal literals until we've fully migrated to reclass-rs
10+
octal-values:
11+
forbid-implicit-octal: true
12+
forbid-explicit-octal: true
13+
14+
# Restrict truthy values to set which is parsed as boolean by reclass-rs
15+
truthy:
16+
allowed-values: ['true', 'false', 'True', 'False', 'TRUE', 'FALSE']
17+
check-keys: true
18+
919
ignore: |
1020
dependencies/
1121
helmcharts/

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
This is a [Commodore][commodore] Component for CockroachDB Operator.
44

55
This repository is part of Project Syn.
6-
For documentation on Project Syn and this component, see https://syn.tools.
6+
For documentation on Project Syn and this component, see [syn.tools](https://syn.tools).
77

88
## Documentation
99

1010
The rendered documentation for this component is available on the [Commodore Components Hub](https://hub.syn.tools/cockroach-operator).
1111

1212
Documentation for this component is written using [Asciidoc][asciidoc] and [Antora][antora].
13-
It is located in the [docs/](docs) folder.
14-
The [Divio documentation structure](https://documentation.divio.com/) is used to organize its content.
13+
It can be found in the [`docs`](docs) folder.
14+
We use the [Divio documentation structure](https://documentation.divio.com/) to organize our documentation.
1515

1616
Run the `make docs-serve` command in the root of the project, and then browse to http://localhost:2020 to see a preview of the current state of the documentation.
1717

@@ -20,7 +20,7 @@ After writing the documentation, please use the `make docs-vale` command and cor
2020
## Contributing and license
2121

2222
This library is licensed under [BSD-3-Clause](LICENSE).
23-
For information about how to contribute see [CONTRIBUTING](CONTRIBUTING.md).
23+
For information about how to contribute, see [CONTRIBUTING](CONTRIBUTING.md).
2424

2525
[commodore]: https://syn.tools/commodore/
2626
[asciidoc]: https://asciidoctor.org/

class/cockroach-operator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ parameters:
44
- input_paths:
55
- ${_base_directory}/component/app.jsonnet
66
input_type: jsonnet
7-
output_path: apps/
7+
output_path: .
88
- input_paths:
99
- ${_base_directory}/component/main.jsonnet
1010
input_type: jsonnet

class/defaults.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
parameters:
22
cockroach_operator:
3-
=_metadata: {}
3+
=_metadata:
4+
multi_tenant: true
45
namespace: syn-cockroach-operator
56

67
manifestVersion: v2.10.0

component/app.jsonnet

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ local argocd = import 'lib/argocd.libjsonnet';
55

66
local app = argocd.App('cockroach-operator', params.namespace);
77

8+
local appPath =
9+
local project = std.get(std.get(app, 'spec', {}), 'project', 'syn');
10+
if project == 'syn' then 'apps' else 'apps-%s' % project;
11+
812
{
9-
'cockroach-operator': app,
13+
['%s/cockroach-operator' % appPath]: app,
1014
}

renovate.json

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,39 @@
44
":gitSignOff",
55
":disableDependencyDashboard"
66
],
7+
"ignorePaths": [
8+
".github/**"
9+
],
10+
"labels": [
11+
"dependency"
12+
],
13+
"separateMinorPatch": true,
714
"postUpgradeTasks": {
815
"commands": [
916
"make gen-golden-all"
1017
],
11-
"fileFilters": [ "tests/golden/**" ],
18+
"fileFilters": [
19+
"tests/golden/**"
20+
],
1221
"executionMode": "update"
1322
},
14-
"suppressNotifications": [ "artifactErrors" ],
15-
"labels": [
16-
"dependency"
23+
"suppressNotifications": [
24+
"artifactErrors"
25+
],
26+
"packageRules": [
27+
{
28+
"matchUpdateTypes": [
29+
"patch",
30+
"digest"
31+
],
32+
"matchCurrentVersion": "!/^v?0\\./",
33+
"automerge": true,
34+
"platformAutomerge": false,
35+
"labels": [
36+
"dependency",
37+
"automerge",
38+
"bump:patch"
39+
]
40+
}
1741
]
1842
}

0 commit comments

Comments
 (0)