Skip to content

Commit 6242dc6

Browse files
authored
Merge pull request #11 from jacobwolfaws/main
gh workflows for helm chart release
2 parents 2e4276e + b91435c commit 6242dc6

8 files changed

+56
-7
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Bug report
3-
about: Create a report to help us improve File Cache CSI Driver
3+
about: Create a report to help us improve Amazon File Cache CSI Driver
44
labels:
55

66
---
@@ -18,4 +18,3 @@ labels:
1818
**Environment**
1919
- Kubernetes version (use `kubectl version`):
2020
- Driver version:
21-

.github/ISSUE_TEMPLATE/enhancement-request.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ A clear and concise description of any alternative solutions or features you've
1717

1818
**Additional context**
1919
Add any other context or screenshots about the feature request here.
20-

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ A clear and concise description of any alternative solutions or features you've
1616

1717
**Additional context**
1818
Add any other context or screenshots about the feature request here.
19-

.github/ISSUE_TEMPLATE/support-request.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ If the matter is security related, please disclose it privately via https://kube
1818
<!-- DO NOT EDIT BELOW THIS LINE -->
1919

2020
/triage support
21-

.github/cr.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
release-name-template: "helm-chart-{{ .Name }}-{{ .Version }}"
2-

.github/workflows/container-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
fi
4343
export REGISTRY=$REGISTRY/$REGISTRY_ALIAS
4444
export TAG=$GIT_TAG
45-
make all-push
45+
make all-push
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release Helm Charts
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "charts/**"
9+
10+
jobs:
11+
release:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 0
18+
- name: Configure Git
19+
run: |
20+
git config user.name "$GITHUB_ACTOR"
21+
git config user.email "[email protected]"
22+
- name: Run chart-releaser
23+
uses: helm/[email protected]
24+
env:
25+
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
26+
with:
27+
config: .github/cr.yaml

.github/workflows/release.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Release
2+
on:
3+
push:
4+
# Sequence of patterns matched against refs/tags
5+
tags:
6+
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
7+
jobs:
8+
build:
9+
name: Release
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v1
14+
- name: Create Release
15+
id: create-release
16+
uses: actions/create-release@v1
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
with:
20+
tag_name: ${{ github.ref }}
21+
release_name: ${{ github.ref }}
22+
body: |
23+
Amazon File Cache CSI Driver
24+
## CHANGELOG
25+
See [CHANGELOG](https://github.com/kubernetes-sigs/aws-file-cache-csi-driver/blob/master/CHANGELOG-0.x.md) for full list of changes
26+
draft: false
27+
prerelease: false

0 commit comments

Comments
 (0)