Skip to content

Commit 6951386

Browse files
authored
Merge pull request #360 from projectsyn/template-sync
Update from component template
2 parents f44f2cb + 614125c commit 6951386

6 files changed

Lines changed: 19 additions & 11 deletions

File tree

.cruft.json

Lines changed: 2 additions & 2 deletions
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": "8f2273cd8ab13c55eb0f6dd621c70c4c9e4786fd",
3+
"commit": "5ae57721558399419f867334e31d23a7f7a892ba",
44
"checkout": "main",
55
"context": {
66
"cookiecutter": {
@@ -25,7 +25,7 @@
2525
"github_name": "component-keycloak",
2626
"github_url": "https://github.com/projectsyn/component-keycloak",
2727
"_template": "https://github.com/projectsyn/commodore-component-template.git",
28-
"_commit": "8f2273cd8ab13c55eb0f6dd621c70c4c9e4786fd"
28+
"_commit": "5ae57721558399419f867334e31d23a7f7a892ba"
2929
}
3030
},
3131
"directory": null

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v5
12+
- uses: actions/checkout@v6
1313
with:
1414
fetch-depth: "0"
1515
- name: Build changelog from PRs with labels
1616
id: build_changelog
17-
uses: mikepenz/release-changelog-builder-action@v5
17+
uses: mikepenz/release-changelog-builder-action@v6
1818
with:
1919
configuration: ".github/changelog-configuration.json"
2020
# PreReleases still get a changelog, but the next full release gets a diff since the last full release,

.github/workflows/test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
- lint_yaml
1818
- lint_adoc
1919
steps:
20-
- uses: actions/checkout@v5
20+
- uses: actions/checkout@v6
2121
- name: Run ${{ matrix.command }}
2222
run: make ${{ matrix.command }}
2323
editorconfig:
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v5
26+
- uses: actions/checkout@v6
2727
- uses: snow-actions/eclint@v1.0.1
2828
with:
2929
args: 'check'
@@ -40,15 +40,15 @@ jobs:
4040
run:
4141
working-directory: ${{ env.COMPONENT_NAME }}
4242
steps:
43-
- uses: actions/checkout@v5
43+
- uses: actions/checkout@v6
4444
with:
4545
path: ${{ env.COMPONENT_NAME }}
4646
- name: Determine Go version from go.mod
4747
run: echo "GO_VERSION=$(grep "go 1." tests/go.mod | cut -d " " -f 2)" >> $GITHUB_ENV
4848
- uses: actions/setup-go@v6
4949
with:
5050
go-version: ${{ env.GO_VERSION }}
51-
- uses: actions/cache@v4
51+
- uses: actions/cache@v5
5252
with:
5353
path: ~/go/pkg/mod
5454
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -69,7 +69,7 @@ jobs:
6969
run:
7070
working-directory: ${{ env.COMPONENT_NAME }}
7171
steps:
72-
- uses: actions/checkout@v5
72+
- uses: actions/checkout@v6
7373
with:
7474
path: ${{ env.COMPONENT_NAME }}
7575
- name: Golden diff

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ format: format_jsonnet ## All-in-one formatting
4545

4646
.PHONY: format_jsonnet
4747
format_jsonnet: $(JSONNET_FILES) ## Format jsonnet files
48-
$(JSONNET_DOCKER) $(JSONNETFMT_ARGS) -- $?
48+
$(JSONNET_DOCKER) $(JSONNETFMT_ARGS) --in-place -- $?
4949

5050
.PHONY: docs-serve
5151
docs-serve: ## Preview the documentation

Makefile.vars.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ endif
3131
DOCKER_ARGS ?= run --rm -u "$$(id -u):$$(id -g)" --userns=$(DOCKER_USERNS) -w /$(COMPONENT_NAME) -e HOME="/$(COMPONENT_NAME)"
3232

3333
JSONNET_FILES ?= $(shell find . -type f -not -path './vendor/*' \( -name '*.*jsonnet' -or -name '*.libsonnet' \))
34-
JSONNETFMT_ARGS ?= --in-place --pad-arrays
34+
JSONNETFMT_ARGS ?= --pad-arrays
3535
JSONNET_IMAGE ?= ghcr.io/projectsyn/jsonnet:latest
3636
JSONNET_DOCKER ?= $(DOCKER_CMD) $(DOCKER_ARGS) $(root_volume) --entrypoint=jsonnetfmt $(JSONNET_IMAGE)
3737

tests/golden/openshift/openshift/openshift/30_k8up.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,19 @@ spec:
6363
name: ca
6464
check:
6565
schedule: 30 3 * * *
66+
volumes:
67+
- configMap:
68+
name: k8up-custom-ca
69+
name: ca
6670
prune:
6771
retention:
6872
keepDaily: 30
6973
keepLast: 20
7074
schedule: '@daily-random'
75+
volumes:
76+
- configMap:
77+
name: k8up-custom-ca
78+
name: ca
7179
---
7280
apiVersion: v1
7381
data:

0 commit comments

Comments
 (0)