-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c46d87
commit 386fbbc
Showing
17 changed files
with
675 additions
and
77 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## Global Admins | ||
* @thesuperzapper @gsemet | ||
|
||
## Airflow Chart Admins | ||
/charts/airflow @thesuperzapper @gsemet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
name: Bug Report | ||
about: Report something which is not working properly! | ||
title: '' | ||
labels: 'bug' | ||
assignees: '' | ||
--- | ||
|
||
<!-- ⚠️ BEFORE you submit an issue, please check if a similar issue already exists --> | ||
|
||
|
||
**What is the bug?** | ||
|
||
A clear description of what the bug is. | ||
|
||
|
||
**What are your Helm values?** | ||
|
||
Any relevant parts of your `custom_values.yaml` | ||
|
||
|
||
**What is your Kubernetes Version?**: | ||
|
||
```console | ||
$ kubectl version | ||
please put the output of it here | ||
``` | ||
|
||
|
||
**What is your Helm version?**: | ||
|
||
```console | ||
$ helm version | ||
please put the output of it here | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest an idea for the project! | ||
title: '' | ||
labels: 'enhancement' | ||
assignees: '' | ||
--- | ||
|
||
<!-- ⚠️ BEFORE you submit an issue, please check if a similar issue already exists --> | ||
|
||
|
||
**Is your feature request related to a problem?** | ||
|
||
Ex. I'm always frustrated when [...] | ||
|
||
|
||
**Describe the solution you'd like** | ||
|
||
What you want to happen. | ||
|
||
|
||
**Describe alternatives you've considered** | ||
|
||
Any alternative solutions or features you've considered. | ||
|
||
|
||
**Additional context** | ||
|
||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!-- ⚠️ please review https://github.com/airflow-helm/charts/tree/main/CONTRIBUTING.md --> | ||
|
||
|
||
**What issues does your PR fix?** | ||
|
||
- fixes #XXX | ||
- fixes #YYY | ||
|
||
|
||
**What does your PR do?** | ||
|
||
describe here | ||
|
||
|
||
## Checklist | ||
<!-- Place an '[x]' completed tasks --> | ||
- [ ] Commits are [signed](https://github.com/airflow-helm/charts/tree/main/CONTRIBUTING.md#sign-your-work) | ||
- [ ] Commits are [squashed](https://github.com/airflow-helm/charts/tree/main/CONTRIBUTING.md#squash-commits) (if appropriate) | ||
- [ ] Chart [version bumped](https://github.com/airflow-helm/charts/tree/main/CONTRIBUTING.md#versioning) | ||
- [ ] Passes [linting](https://github.com/airflow-helm/charts/tree/main/CONTRIBUTING.md#linting) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: "Lint and Test Charts" | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
lint-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install Helm | ||
uses: azure/setup-helm@v1 | ||
with: | ||
version: v3.4.0 | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.7 | ||
|
||
- name: Install chart-testing | ||
uses: helm/chart-testing-action@v2.0.0 | ||
|
||
- name: Run chart-testing (list-changed) | ||
id: list-changed | ||
run: | | ||
changed=$(ct list-changed) | ||
if [[ -n "$changed" ]]; then | ||
echo "::set-output name=changed::true" | ||
fi | ||
- name: Run chart-testing (lint) | ||
run: ct lint --config ct-config.yaml | ||
|
||
- name: Create kind cluster | ||
uses: helm/kind-action@v1.0.0 | ||
if: steps.list-changed.outputs.changed == 'true' | ||
|
||
- name: Run chart-testing (install) | ||
run: ct install --config ct-config.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: "Release Charts" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | ||
- name: Install Helm | ||
uses: azure/setup-helm@v1 | ||
with: | ||
version: v3.4.0 | ||
|
||
- name: Add dependency chart repos | ||
run: | | ||
helm repo add stable https://charts.helm.sh/stable | ||
- name: Run chart-releaser | ||
uses: helm/chart-releaser-action@v1.0.0 | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: "Sync README to gh-pages" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "README.md" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout (main) | ||
uses: actions/checkout@v2 | ||
|
||
- name: Copy README.md to temp | ||
run: | | ||
cp -f README.md ${{ runner.temp }}/README.md | ||
- name: Checkout (gh-pages) | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: gh-pages | ||
|
||
- name: Git Push (gh-pages) | ||
run: | | ||
cp -f ${{ runner.temp }}/README.md . | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | ||
git add README.md | ||
git commit --signoff -m "sync README.md from main branch" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
## JetBrains | ||
.idea/ | ||
*.iml | ||
*.ipr | ||
*.iws | ||
|
||
## VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
*.code-workspace | ||
.history/ | ||
|
||
## Vim | ||
[._]*.s[a-v][a-z] | ||
[._]*.sw[a-p] | ||
[._]s[a-rt-v][a-z] | ||
[._]ss[a-gi-z] | ||
[._]sw[a-p] | ||
Session.vim | ||
Sessionx.vim | ||
.netrwhist | ||
*~ | ||
[._]*.un~ | ||
|
||
## Emacs | ||
*~ | ||
\#*\# | ||
/.emacs.desktop | ||
/.emacs.desktop.lock | ||
*.elc | ||
.\#* | ||
|
||
## macOS | ||
.DS_Store | ||
.AppleDouble | ||
.LSOverride | ||
._* | ||
|
||
## Chart Dependencies | ||
**/charts/*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Contributing Guidelines | ||
|
||
Contributions are welcome via GitHub pull requests. | ||
|
||
## Requirements | ||
|
||
1. Must pass [DCO check](#sign-your-work) | ||
1. Must pass [Versioning check](#versioning) | ||
1. Must pass [Squashing check](#squash-commits) | ||
1. Must pass [Lint check](#linting) | ||
|
||
## Sign Your Work | ||
|
||
To certify you agree to the [Developer Certificate of Origin](https://developercertificate.org/) you must sign-off each commit message using `git commit --signoff`, or manually write the following: | ||
```text | ||
This is my commit message | ||
Signed-off-by: John Smith <john.smith@example.org> | ||
``` | ||
|
||
The text of the agreement is: | ||
```text | ||
Developer Certificate of Origin | ||
Version 1.1 | ||
Copyright (C) 2004, 2006 The Linux Foundation and its contributors. | ||
1 Letterman Drive | ||
Suite D4700 | ||
San Francisco, CA, 94129 | ||
Everyone is permitted to copy and distribute verbatim copies of this | ||
license document, but changing it is not allowed. | ||
Developer's Certificate of Origin 1.1 | ||
By making a contribution to this project, I certify that: | ||
(a) The contribution was created in whole or in part by me and I | ||
have the right to submit it under the open source license | ||
indicated in the file; or | ||
(b) The contribution is based upon previous work that, to the best | ||
of my knowledge, is covered under an appropriate open source | ||
license and I have the right under that license to submit that | ||
work with modifications, whether created in whole or in part | ||
by me, under the same open source license (unless I am | ||
permitted to submit under a different license), as indicated | ||
in the file; or | ||
(c) The contribution was provided directly to me by some other | ||
person who certified (a), (b) or (c) and I have not modified | ||
it. | ||
(d) I understand and agree that this project and the contribution | ||
are public and that a record of the contribution (including all | ||
personal information I submit with it, including my sign-off) is | ||
maintained indefinitely and may be redistributed consistent with | ||
this project or the open source license(s) involved. | ||
``` | ||
|
||
## Versioning | ||
|
||
The chart `version` should follow [SemVer](https://semver.org/) | ||
- If you __REMOVE/CHANGE a value__ → bump a MAJOR version | ||
- If you __ADD a value__ → bump a MINOR version | ||
- If you __fix a bug__ → bump a PATCH version | ||
|
||
## Squash Commits | ||
|
||
Unless having multiple commits makes the PR more clear, please squash your commits and force push your branch. | ||
|
||
## Linting | ||
|
||
Please ensure `ct lint` from [chart-testing](https://github.com/helm/chart-testing) succeeds. |
Oops, something went wrong.