Skip to content

Commit 6f91b09

Browse files
Release v0.8.1 (#258)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: David Collom <[email protected]>
1 parent 4dc2025 commit 6f91b09

File tree

6 files changed

+40
-10
lines changed

6 files changed

+40
-10
lines changed

.github/workflows/helm-docs.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Generate Helm Docs
22
on:
3+
# Allow other workflows to trigger
4+
workflow_call:
35
push:
46
paths:
57
- '!*.md'
@@ -64,4 +66,4 @@ jobs:
6466
with:
6567
github_token: ${{ secrets.GITHUB_TOKEN }}
6668
branch: ${{ github.head_ref }}
67-
repository: ${{ github.event.pull_request.head.repo.full_name }}
69+
repository: ${{ github.event.pull_request.head.repo.full_name }}

.github/workflows/release.yaml

+30-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- "release-v*"
77
tags:
8-
- "*"
8+
- "v*"
99

1010
concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}
@@ -27,27 +27,42 @@ jobs:
2727
with:
2828
value: ${{github.ref_name}}
2929
index_of_str: "release-"
30+
3031
- name: Find and Replace Helm Chart Version
3132
uses: jacobtomlinson/gha-find-replace@v3
3233
with:
3334
find: 'v(\d+)\.(\d+)\.(\d+)(-rc(\d)+)?'
3435
replace: "${{steps.release_number.outputs.substring}}"
3536
include: "deploy/charts/version-checker/Chart.yaml"
3637
regex: true
38+
3739
- name: Find and Replace Kubernetes Manifests
3840
uses: jacobtomlinson/gha-find-replace@v3
3941
with:
4042
find: 'v(\d+)\.(\d+)\.(\d+)(-rc(\d)+)?'
4143
replace: "${{steps.release_number.outputs.substring}}"
4244
include: "deploy/yaml/deploy.yaml"
4345
regex: true
46+
4447
- name: Find and Replace Makefile versions
4548
uses: jacobtomlinson/gha-find-replace@v3
4649
with:
4750
find: 'v(\d+)\.(\d+)\.(\d+)(-rc(\d)+)?'
4851
replace: "${{steps.release_number.outputs.substring}}"
4952
include: "Makefile"
5053
regex: true
54+
55+
56+
- name: Install Helm Docs
57+
uses: envoy/[email protected]
58+
with:
59+
version: 1.11.0
60+
- name: Update Helm Docs
61+
run: |
62+
set -ex
63+
cd deploy/charts/version-checker
64+
helm-docs
65+
5166
- name: Detect any Local Changes
5267
uses: dorny/paths-filter@v3
5368
id: filter
@@ -58,26 +73,39 @@ jobs:
5873
- 'Makefile'
5974
- 'deploy/yaml/deploy.yaml'
6075
- 'deploy/charts/version-checker/Chart.yaml'
76+
- 'deploy/charts/version-checker/README.md'
77+
6178
- name: Commit files
6279
if: steps.filter.outputs.versions == 'true'
6380
run: |
6481
git config --local user.email "github-actions[bot]@users.noreply.github.com"
6582
git config --local user.name "github-actions[bot]"
6683
git status
6784
git commit -a -m "Bump versions to ${{steps.release_number.outputs.substring}} "
85+
6886
- name: Push changes
6987
if: steps.filter.outputs.versions == 'true'
7088
uses: ad-m/[email protected]
7189
with:
7290
github_token: ${{ secrets.GITHUB_TOKEN }}
7391
branch: ${{ github.ref_name }}
92+
93+
- name: Build Changelog
94+
id: github_release
95+
uses: mikepenz/release-changelog-builder-action@v5
96+
97+
7498
- name: Create Release PR
7599
uses: devops-infra/[email protected]
76100
with:
77101
github_token: ${{ secrets.GITHUB_TOKEN }}
78102
target_branch: main
79103
title: "Release ${{steps.release_number.outputs.substring}}"
80-
body: "**Automated Release Pull Request**"
104+
body: |-
105+
"**Automated Release Pull Request**
106+
107+
## Change log:
108+
${{steps.github_release.outputs.changelog}}
81109
draft: false
82110
get_diff: false
83111
allow_no_diff: false

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ verify: test build ## tests and builds version-checker
2222

2323
image: ## build docker image
2424
GOARCH=$(ARCH) GOOS=linux CGO_ENABLED=0 go build -o ./bin/version-checker-linux ./cmd/.
25-
docker build -t quay.io/jetstack/version-checker:v0.8.0 .
25+
docker build -t quay.io/jetstack/version-checker:v0.8.1 .
2626

2727
clean: ## clean up created files
2828
rm -rf \

deploy/charts/version-checker/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
2-
appVersion: "v0.8.0"
3-
version: "v0.8.0"
2+
appVersion: "v0.8.1"
3+
version: "v0.8.1"
44
description: A Helm chart for version-checker
55
home: https://github.com/jetstack/version-checker
66
name: version-checker

deploy/charts/version-checker/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# version-checker
22

3-
![Version: v0.7.0](https://img.shields.io/badge/Version-v0.7.0-informational?style=flat-square) ![AppVersion: v0.7.0](https://img.shields.io/badge/AppVersion-v0.7.0-informational?style=flat-square)
3+
![Version: v0.8.1](https://img.shields.io/badge/Version-v0.8.1-informational?style=flat-square) ![AppVersion: v0.8.1](https://img.shields.io/badge/AppVersion-v0.8.1-informational?style=flat-square)
44

55
A Helm chart for version-checker
66

@@ -55,7 +55,7 @@ A Helm chart for version-checker
5555
| readinessProbe.periodSeconds | int | `3` | How often (in seconds) to perform the readinessProbe. |
5656
| replicaCount | int | `1` | Replica Count for version-checker |
5757
| resources | object | `{}` | Setup version-checkers resource requests/limits |
58-
| securityContext | object | `{}` | Set container-level security context |
58+
| securityContext | object | `{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":65534,"seccompProfile":{"type":"RuntimeDefault"}}` | Set container-level security context |
5959
| selfhosted | []{name: "", host: "", username:"", password:"", token:""}] | `[]` | Setup a number of SelfHosted Repositories and their credentials |
6060
| service.annotations | object | `{}` | Additional annotations to add to the service |
6161
| service.labels | object | `{}` | Additional labels to add to the service |
@@ -69,4 +69,4 @@ A Helm chart for version-checker
6969
| versionChecker.testAllContainers | bool | `true` | Enable/Disable the requirement for an enable.version-checker.io annotation on pods. |
7070

7171
----------------------------------------------
72-
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
72+
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)

deploy/yaml/deploy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ spec:
4949
spec:
5050
serviceAccountName: version-checker
5151
containers:
52-
- image: quay.io/jetstack/version-checker:v0.8.0
52+
- image: quay.io/jetstack/version-checker:v0.8.1
5353
imagePullPolicy: Always
5454
ports:
5555
- containerPort: 8080

0 commit comments

Comments
 (0)