-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from anyscale/brent/k8s
Initial Release for Kubernetes Anyscale Foundation Modules
- Loading branch information
Showing
88 changed files
with
4,387 additions
and
422 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,8 @@ | ||
|
||
# Use this file to define individuals or teams that are responsible for code in a repository. | ||
# Read more: <https://help.github.com/articles/about-codeowners/> | ||
|
||
# Order is important: the last matching pattern has the highest precedence | ||
|
||
# These owners will be the default owners for everything | ||
* @anyscale/solutionarchitects |
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,78 @@ | ||
name: Bug Report | ||
description: Issue/Bug with the Terraform Modules. Please include repro steps! | ||
title: "[bug]: " | ||
labels: ["bug", "P1", "terraform-modules"] | ||
assignees: ["brent-anyscale"] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for taking the time to file a bug report. | ||
Please make sure to search for existing issues before filing a new one. | ||
- type: textarea | ||
attributes: | ||
label: Current Behavior | ||
description: A clear description of what the bug is and how it manifests. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Expected Behavior | ||
description: A clear description of what you expected to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Steps to Reproduce | ||
description: Please explain the steps required to duplicate this issue. | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: Which module(s)? | ||
description: "Please select which module(s) this issue impacts." | ||
options: | ||
- label: Root Anyscale Module | ||
- label: anyscale-k8s-configmap | ||
- label: anyscale-k8s-helm | ||
- label: anyscale-k8s-namespace | ||
- type: dropdown | ||
attributes: | ||
label: Anyscale Terraform Module version | ||
description: What version of the modules are you using? | ||
multiple: false | ||
options: | ||
- v0.1.x | ||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: Terraform version | ||
description: What version of Terraform are you using? | ||
multiple: false | ||
options: | ||
- 1.6.x (Default) | ||
- 1.5.x | ||
- 1.4.x | ||
- 1.3.x | ||
- 1.2.x | ||
- 1.1.x | ||
- 1.0.x | ||
- Other | ||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: Is it blocking work? | ||
description: Please choose one? | ||
multiple: false | ||
options: | ||
- "no" | ||
- "yes" | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Additional Information | ||
description: List any other information that is relevant to your issue. |
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 @@ | ||
blank_issues_enabled: false |
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,54 @@ | ||
name: Feature Request | ||
description: Feature request for the Terraform Modules. | ||
title: "[Feature]: " | ||
labels: ["feature", "P1", "terraform-modules"] | ||
assignees: ["brent-anyscale"] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for taking the time to request a new feature. | ||
Please make sure to search for existing issues before filing a new one. | ||
- type: textarea | ||
attributes: | ||
label: What are you looking for? | ||
description: Please provide a detailed explanation of the new feature request you are looking for. | ||
placeholder: "Feature request!!" | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: Which module(s)? | ||
description: "Please select which module(s) this issue impacts." | ||
options: | ||
- label: Root Anyscale Module | ||
- label: anyscale-k8s-configmap | ||
- label: anyscale-k8s-helm | ||
- label: anyscale-k8s-namespace | ||
- type: dropdown | ||
attributes: | ||
label: Is it blocking work? | ||
description: Please choose one? | ||
multiple: false | ||
options: | ||
- "no" | ||
- "yes" | ||
validations: | ||
required: true | ||
- type: dropdown | ||
attributes: | ||
label: Terraform version | ||
description: What version of Terraform are you using? | ||
multiple: false | ||
options: | ||
- 1.6.x (Default) | ||
- 1.5.x | ||
- 1.4.x | ||
- 1.3.x | ||
- 1.2.x | ||
- 1.1.x | ||
- 1.0.x | ||
- Other | ||
validations: | ||
required: false |
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,28 @@ | ||
name: Security Issue | ||
description: General security issue | ||
title: '[Security]: ' | ||
labels: ["security", "P0", "terraform-modules"] | ||
assignees: ["brent-anyscale"] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for taking the time to report a security issue. | ||
If this is a critical security issue that needs to be addressed immediately, email [email protected] | ||
- type: textarea | ||
attributes: | ||
label: What is the security issue? | ||
description: Please provide a detailed explanation of the security issue. | ||
value: "<<SECURITY ISSUE>>" | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
attributes: | ||
label: Which module(s)? | ||
description: "Please select which module(s) this issue impacts." | ||
options: | ||
- label: Root Anyscale Module | ||
- label: anyscale-k8s-configmap | ||
- label: anyscale-k8s-helm | ||
- label: anyscale-k8s-namespace |
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,26 @@ | ||
## Pull request checklist | ||
|
||
Please check if your PR fulfills the following requirements: | ||
- [ ] pre-commit has been run | ||
- [ ] Tests for the changes have been added (for bug fixes / features) | ||
- [ ] All tests passing | ||
- [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features) | ||
|
||
## Pull Request Type | ||
|
||
- [ ] Bugfix | ||
- [ ] New feature | ||
- [ ] Refactoring (no functional changes) | ||
- [ ] Documentation change | ||
- [ ] Other (please describe): | ||
|
||
## Does this introduce a breaking change? | ||
- [ ] Yes | ||
- [ ] No | ||
|
||
<!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> | ||
|
||
|
||
## Other information | ||
|
||
<!-- Any other information that is important to this PR such as screenshots. --> |
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,56 @@ | ||
name-template: "v$RESOLVED_VERSION" | ||
tag-template: "v$RESOLVED_VERSION" | ||
version-template: "$MAJOR.$MINOR.$PATCH" | ||
version-resolver: | ||
major: | ||
labels: | ||
- "major" | ||
minor: | ||
labels: | ||
- "minor" | ||
- "enhancement" | ||
patch: | ||
labels: | ||
- "auto-update" | ||
- "patch" | ||
- "fix" | ||
- "bugfix" | ||
- "bug" | ||
- "hotfix" | ||
- "documentation" | ||
- "examples" | ||
- "unittests" | ||
- "github" | ||
default: "minor" | ||
|
||
categories: | ||
- title: "🚀 Enhancements" | ||
labels: | ||
- "enhancement" | ||
- "patch" | ||
- title: "🐛 Bug Fixes" | ||
labels: | ||
- "fix" | ||
- "bugfix" | ||
- "bug" | ||
- "hotfix" | ||
- title: "📚 Documentation/Examples" | ||
labels: | ||
- "documentation" | ||
- "examples" | ||
- title: "Github Chores" | ||
labels: | ||
- "github" | ||
# - title: 'Automatic Updates' | ||
# labels: | ||
# - 'auto-update' | ||
|
||
change-template: | | ||
<details> | ||
<summary>$TITLE @$AUTHOR (#$NUMBER)</summary> | ||
$BODY | ||
</details> | ||
template: | | ||
$CHANGES |
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 @@ | ||
# See https://github.com/actions/labeler for details | ||
# "dependencies" label for any changes in dependency files | ||
# Add 'repo' label to any root file changes | ||
documentation: | ||
- examples/**/* | ||
- README.md | ||
|
||
examples: | ||
- examples/**/* | ||
|
||
terraform: | ||
- "*.tf" | ||
- modules/**/* | ||
|
||
unittests: | ||
- test/**/* | ||
- modules/**/test/* | ||
|
||
github: | ||
- .github/**/* |
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 @@ | ||
name: branch-cleanup | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
cleanup-branch: | ||
name: Auto delete branch on merge | ||
runs-on: ubuntu-latest | ||
permissions: | ||
# write permission is required to create a github release | ||
contents: write | ||
steps: | ||
- uses: cloudposse/actions/github/[email protected] | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
NO_BRANCH_DELETED_EXIT_CODE: 0 |
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,44 @@ | ||
name: create-release | ||
|
||
on: | ||
push: | ||
# branches to consider in the event; optional, defaults to all | ||
branches: | ||
- main | ||
# pull_request event is required only for autolabeler | ||
pull_request: | ||
# Only following types are handled by the action, but one can default to all as well | ||
types: [closed] | ||
# pull_request_target event is required for autolabeler to support PRs from forks | ||
# pull_request_target: | ||
# types: [opened, reopened, synchronize] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
create_release: | ||
if: github.event.pull_request.merged == true | ||
permissions: | ||
# write permission is required to create a github release | ||
contents: write | ||
# write permission is required for autolabeler | ||
# otherwise, read permission is required at least | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Get PR from merged commit to main | ||
- uses: actions-ecosystem/action-get-merged-pull-request@v1 | ||
id: get-merged-pull-request | ||
with: | ||
github_token: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
# Drafts your next Release notes as Pull Requests are merged into "master" | ||
- uses: release-drafter/release-drafter@v5 | ||
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml | ||
with: | ||
publish: ${{ !contains(steps.get-merged-pull-request.outputs.labels, 'no-release') }} | ||
# prerelease: false | ||
config-name: create-release.yml | ||
env: | ||
GITHUB_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,18 @@ | ||
name: "Pull Request Labeler" | ||
on: | ||
- pull_request_target | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
add-label: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: ".github/labeler.yml" | ||
sync-labels: true |
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,23 @@ | ||
name: CI/CD Pipeline | ||
|
||
on: | ||
push: | ||
branches: [ "main", "develop" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
permissions: read-all | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
unit-tests: | ||
runs-on: ubuntu-latest | ||
name: Terraform Unit Tests | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Run unit tests | ||
run: echo "Unit tests (not active)" |
Oops, something went wrong.