Skip to content

Commit f8c160e

Browse files
committed
ci: setup release-please
Setup release-please to automate creating new tags according to semver rules. Updated referenced versions to latest released version. Backfill changelog entries that were only on GitHub Releases.
1 parent c35d292 commit f8c160e

File tree

6 files changed

+397
-48
lines changed

6 files changed

+397
-48
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
name: release-please
6+
7+
jobs:
8+
release-please:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: google-github-actions/release-please-action@v3
12+
with:
13+
release-type: go
14+
package-name: hcloud-cloud-controller-manager
15+
16+
# These files reference the version in the OCI image tag.
17+
extra-files: |
18+
deploy/ccm.yaml
19+
deploy/ccm-networks.yaml
20+
chart/Chart.yaml

CHANGELOG.md

Lines changed: 373 additions & 44 deletions
Large diffs are not rendered by default.

chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
apiVersion: v2
22
name: hcloud-cloud-controller-manager
33
type: application
4-
version: v1.13.2
4+
version: v1.15.0 # x-release-please-version

chart/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ spec:
6666
- name: HCLOUD_METRICS_ENABLED
6767
value: "false"
6868
{{- end }}
69-
image: {{ $.Values.image.repository }}:{{ tpl $.Values.image.tag . }}
69+
image: {{ $.Values.image.repository }}:{{ tpl $.Values.image.tag . }} # x-release-please-version
7070
ports:
7171
{{- if $.Values.monitoring.enabled }}
7272
- name: metrics

deploy/ccm-networks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
secretKeyRef:
8484
name: hcloud
8585
key: network
86-
image: hetznercloud/hcloud-cloud-controller-manager:v1.13.2
86+
image: hetznercloud/hcloud-cloud-controller-manager:v1.15.0 # x-release-please-version
8787
ports:
8888
- name: metrics
8989
containerPort: 8233

deploy/ccm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ spec:
7575
valueFrom:
7676
fieldRef:
7777
fieldPath: spec.nodeName
78-
image: hetznercloud/hcloud-cloud-controller-manager:v1.13.2
78+
image: hetznercloud/hcloud-cloud-controller-manager:v1.15.0 # x-release-please-version
7979
ports:
8080
- name: metrics
8181
containerPort: 8233

0 commit comments

Comments
 (0)