Skip to content

Commit

Permalink
Update from template
Browse files Browse the repository at this point in the history
Template version: main (7803d07)
  • Loading branch information
Stephan Feurer committed Jan 31, 2024
1 parent e6644dd commit d6bd7af
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"template": "https://github.com/projectsyn/commodore-component-template.git",
"commit": "dcae06138d227340acb8056d0d031f32d75c09b5",
"commit": "7803d07f1d79fc8b902fcafbb336b6b0a4b57b90",
"checkout": "main",
"context": {
"cookiecutter": {
"name": "Nextcloud",
"slug": "nextcloud",
"parameter_key": "nextcloud",
"test_cases": "defaults",
"test_cases": "defaults instances",
"add_lib": "n",
"add_pp": "n",
"add_golden": "y",
Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Checklist

- [ ] The PR has a meaningful title. It will be used to auto generate the
- [ ] The PR has a meaningful title. It will be used to auto-generate the
changelog.
The PR has a meaningful description that sums up the change. It will be
linked in the changelog.
Expand All @@ -21,6 +21,6 @@ review the checklist.
Contributors guide: ./CONTRIBUTING.md
Remove items that do not apply. For completed items, change [ ] to [x].
These things are not required to open a PR and can be done afterwards,
These things are not required to open a PR and can be done afterwards
while the PR is open.
-->
2 changes: 2 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
matrix:
instance:
- defaults
- instances
defaults:
run:
working-directory: ${{ env.COMPONENT_NAME }}
Expand All @@ -48,6 +49,7 @@ jobs:
matrix:
instance:
- defaults
- instances
defaults:
run:
working-directory: ${{ env.COMPONENT_NAME }}
Expand Down
10 changes: 10 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ rules:
max: 80
level: warning

# Forbid octal literals until we've fully migrated to reclass-rs
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true

# Restrict truthy values to set which is parsed as boolean by reclass-rs
truthy:
allowed-values: ['true', 'false', 'True', 'False', 'TRUE', 'FALSE']
check-keys: true

ignore: |
dependencies/
helmcharts/
Expand Down
2 changes: 1 addition & 1 deletion Makefile.vars.mk
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ KUBENT_IMAGE ?= ghcr.io/doitintl/kube-no-trouble:latest
KUBENT_DOCKER ?= $(DOCKER_CMD) $(DOCKER_ARGS) $(root_volume) --entrypoint=/app/kubent $(KUBENT_IMAGE)

instance ?= defaults
test_instances = tests/defaults.yml
test_instances = tests/defaults.yml tests/instances.yml
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
This is a [Commodore][commodore] Component for Nextcloud.

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

## Documentation

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

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

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.

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

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

[commodore]: https://syn.tools/commodore/
[asciidoc]: https://asciidoctor.org/
Expand Down
6 changes: 5 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
":gitSignOff",
":disableDependencyDashboard"
],
"ignorePaths": [
".github/**"
],
"postUpgradeTasks": {
"commands": [
"make gen-golden-all"
Expand All @@ -14,5 +17,6 @@
"suppressNotifications": [ "artifactErrors" ],
"labels": [
"dependency"
]
],
"separateMinorPatch": true
}
Empty file.
3 changes: 3 additions & 0 deletions tests/instances.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Overwrite parameters here

# parameters: {...}

0 comments on commit d6bd7af

Please sign in to comment.