Skip to content

Commit d19695e

Browse files
committed
open sourcing helm-teller
0 parents  commit d19695e

33 files changed

Lines changed: 2819 additions & 0 deletions
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug encountered
4+
labels: kind/bug
5+
---
6+
7+
## Expected Behavior
8+
<!--- Tell us what should happen -->
9+
10+
## Current Behavior
11+
<!--- Tell us what happens instead of the expected behavior -->
12+
13+
## Possible Solution
14+
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
15+
16+
## Steps to Reproduce
17+
<!--- Steps to reproduce this bug. Include the command line with flags-->
18+
1.
19+
2.
20+
3.
21+
4.
22+
23+
## Context
24+
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
25+
26+
27+
## Specifications
28+
- Version:
29+
- Platform:
30+
- Helm version:
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: "\U0001F680 Feature Request"
3+
about: Suggest a new feature
4+
labels: "type/enhancement"
5+
---
6+
7+
## Feature Request
8+
9+
**Is your feature request related to a problem? Please describe.**
10+
<!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] -->
11+
12+
**Describe the solution you'd like**
13+
<!-- A clear and concise description of what you want to happen. -->
14+
15+
**Describe alternatives you've considered**
16+
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
17+
18+
**Teachability, Documentation, Adoption, Migration Strategy**
19+
<!-- If you can, explain how users will be able to use this and possibly write out a version the docs. -->
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: "Pull Request"
3+
about: Create pull request
4+
---
5+
6+
## Description
7+
<!--- Describe your changes in detail -->
8+
9+
## Motivation and Context
10+
<!--- Why is this change required? What problem does it solve? -->
11+
<!--- If it fixes an open issue, please link to the issue here. -->
12+
13+
## How Has This Been Tested?
14+
<!--- Please describe in detail how you tested your changes. -->
15+
<!--- Include details of your testing environment, and the tests you ran to -->
16+
<!--- see how your change affects other areas of the code, etc. -->

.github/workflows/ci.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
name: Build
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest, macos-latest]
16+
go: ['1.17']
17+
env:
18+
VERBOSE: 1
19+
20+
steps:
21+
- name: Set up Go
22+
uses: actions/setup-go@v2
23+
with:
24+
go-version: ${{ matrix.go }}
25+
26+
- name: Checkout code
27+
uses: actions/checkout@v2
28+
29+
- name: golangci-lint
30+
uses: golangci/golangci-lint-action@v2
31+
with:
32+
version: v1.44.2
33+
args: --timeout 5m0s
34+
35+
- name: Formatting
36+
run: |
37+
make fmt
38+
39+
- name: Test
40+
run: |
41+
make test

.github/workflows/release.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Release
2+
on:
3+
push:
4+
tags:
5+
- 'v*.*.*'
6+
- 'v*.*.*-rc*'
7+
jobs:
8+
goreleaser:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
14+
- name: Set up Go
15+
uses: actions/setup-go@v2
16+
with:
17+
go-version: 1.17
18+
19+
- name: GoReleaser
20+
uses: goreleaser/goreleaser-action@v2
21+
with:
22+
version: v1.5.0
23+
args: release --rm-dist
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
If you prefer the allow list template instead of the deny list, see community template:
2+
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
3+
#
4+
# Binaries for programs and plugins
5+
*.exe
6+
*.exe~
7+
*.dll
8+
*.so
9+
*.dylib
10+
11+
# Test binary, built with `go test -c`
12+
*.test
13+
14+
# Output of the go coverage tool, specifically when used with LiteIDE
15+
*.out
16+
17+
# Dependency directories (remove the comment below to include it)
18+
# vendor/
19+
20+
# Go workspace file
21+
go.work
22+
23+
#custom
24+
.vscode
25+
cover.out
26+
dist/

.goreleaser.yaml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#before:
2+
builds:
3+
- env:
4+
- CGO_ENABLED=0
5+
goos:
6+
- darwin
7+
- linux
8+
- windows
9+
goarch:
10+
- amd64
11+
- arm
12+
- arm64
13+
goarm:
14+
- "6"
15+
- "7"
16+
ldflags:
17+
- -s -w -X helm-teller/cmd.version={{.Version}} -X helm-teller/cmd.commit={{.Commit}}
18+
archives:
19+
- id: helm-teller
20+
format: tar.gz
21+
files:
22+
- LICENSE
23+
- plugin.yaml
24+
25+
checksum:
26+
name_template: 'checksums.txt'
27+
28+
# brews:
29+
# - name: helm-teller
30+
# tap:
31+
# owner: spectralops
32+
# name: homebrew-tap
33+
# token: "{{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}"
34+
# description: Helm plugin for pull secrets and configuration time when you deploy a helm chart.
35+
# homepage: https://github.com/spectralops/helm-teller
36+
# license: "MIT"
37+
38+
changelog:
39+
sort: asc
40+
filters:
41+
exclude:
42+
- '^docs:'
43+
- '^test:'

0 commit comments

Comments
 (0)