-
Notifications
You must be signed in to change notification settings - Fork 580
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'kubernetes-sigs:main' into return-set-of-issues-when-ng…
…-in-degraded-state
- Loading branch information
Showing
381 changed files
with
31,778 additions
and
8,211 deletions.
There are no files selected for viewing
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,57 @@ | ||
name: Add or remove maintainer | ||
description: To be used when making changes to project maintainers. | ||
labels: ["kind/support"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Use this form to make changes to the maintainers of CAPA | ||
- type: input | ||
id: github_handle | ||
attributes: | ||
label: GitHub handle | ||
description: The GitHub handle of the maintainer that changes will be made to. | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: action | ||
attributes: | ||
label: Action | ||
description: What action is being performed to the maintainers | ||
options: | ||
- Add | ||
- Remove | ||
validations: | ||
required: true | ||
- type: input | ||
id: merge_date | ||
attributes: | ||
label: Merge date | ||
description: Enter the date when the changes can merge. The date should be 7 days or after the next CAPA office hours (whichever is longer) | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reason | ||
attributes: | ||
label: Reason for change | ||
description: What is the reason this change is being made | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: tasks | ||
attributes: | ||
label: 🖱️Tasks | ||
value: | | ||
```[tasklist] | ||
## Tasks to be done | ||
- [ ] Update **cluster-api-aws-maintainers** section in [OWNER_ALIASES](https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/OWNERS_ALIASES) in CAPA repo | ||
- [ ] Create a PR with the change and add `/hold` | ||
- [ ] Announce the change in the CAPA slack channel | ||
- [ ] Add PSA in the notes doc for the next CAPA office hours | ||
- [ ] After the lazy consensus review period remove the hold | ||
- [ ] Update **cluster-api-provider-aws-maintainers** team in [this file](https://github.com/kubernetes/org/blob/main/config/kubernetes-sigs/sig-cluster-lifecycle/teams.yaml) | ||
- [ ] Update **approvers** for CAPA jobs [here](https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes-sigs/cluster-api-provider-aws/OWNERS) | ||
- [ ] Update **approvers** from CAPA image promotion [here](https://github.com/kubernetes/k8s.io/blob/main/registry.k8s.io/images/k8s-staging-cluster-api-aws/OWNERS) | ||
- [ ] Update **k8s-infra-staging-cluster-api-aws@kubernetes.io** [here](https://github.com/kubernetes/k8s.io/blob/main/groups/sig-cluster-lifecycle/groups.yaml) | ||
- [ ] Update **sig-cluster-lifecycle-cluster-api-aws-alerts@kubernetes.io** [here](https://github.com/kubernetes/k8s.io/blob/main/groups/sig-cluster-lifecycle/groups.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,53 @@ | ||
name: Add or remove reviewer | ||
description: To be used when making changes to project reviewers. See [contributing guide(https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/CONTRIBUTING.md)] for details of the projects ladder. | ||
labels: ["kind/support"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Use this form to make changes to the reviewers of CAPA | ||
- type: input | ||
id: github_handle | ||
attributes: | ||
label: GitHub handle | ||
description: The GitHub handle of the reviewer that changes will be made to. | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: action | ||
attributes: | ||
label: Action | ||
description: What action is being performed to the reviewers | ||
options: | ||
- Add | ||
- Remove | ||
validations: | ||
required: true | ||
- type: input | ||
id: merge_date | ||
attributes: | ||
label: Merge date | ||
description: Enter the date when the changes can merge. The date should be 7 days or after the next CAPA office hours (whichever is longer) | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reason | ||
attributes: | ||
label: Reason for change | ||
description: What is the reason this change is being made | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: tasks | ||
attributes: | ||
label: 🖱️Tasks | ||
value: | | ||
```[tasklist] | ||
## Tasks to be done | ||
- [ ] Update **cluster-api-aws-reviewers** section in [OWNER_ALIASES](https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/main/OWNERS_ALIASES) in CAPA repo | ||
- [ ] Create a PR with the change and add `/hold` | ||
- [ ] Announce the change in the CAPA slack channel | ||
- [ ] Add PSA in the notes doc for the next CAPA office hours | ||
- [ ] After the lazy consensus review period remove the hold | ||
- [ ] Update **reviewers** for CAPA jobs [here](https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes-sigs/cluster-api-provider-aws/OWNERS) | ||
``` |
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
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
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: PR golangci-lint | ||
|
||
on: | ||
pull_request: | ||
types: [opened, edited, synchronize, reopened] | ||
|
||
# Remove all permissions from GITHUB_TOKEN except metadata. | ||
permissions: {} | ||
|
||
jobs: | ||
golangci: | ||
name: lint | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
working-directory: | ||
- "" | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4.1.1 | ||
- name: Calculate go version | ||
id: vars | ||
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT | ||
- name: Set up Go | ||
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # tag=v5.0.0 | ||
with: | ||
go-version: ${{ steps.vars.outputs.go_version }} | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # tag=v6.0.1 | ||
with: | ||
version: v1.56.1 | ||
args: --out-format=colored-line-number | ||
working-directory: ${{matrix.working-directory}} |
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
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,38 @@ | ||
name: release | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
permissions: | ||
contents: write # required to write to github release. | ||
|
||
jobs: | ||
release: | ||
name: Create draft release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.22' | ||
- name: Set version info | ||
run: | | ||
echo "VERSION=${GITHUB_REF_NAME}" >> $GITHUB_ENV | ||
echo "PREVIOUS_VERSION=$(git describe --abbrev=0 2> /dev/null)" >> $GITHUB_ENV | ||
echo "RELEASE_BRANCH=release-$(echo ${GITHUB_REF_NAME} | grep -Eo '[0-9]\.[0-9]+')" >> $GITHUB_ENV | ||
echo "RELEASE_TAG=${GITHUB_REF_NAME}" >> $GITHUB_ENV | ||
- name: Run release | ||
run: | | ||
echo "Version is: $VERSION" | ||
echo "Previous version is: $PREVIOUS_VERSION" | ||
echo "Release branch is: $RELEASE_BRANCH" | ||
echo "Release tag is: $RELEASE_TAG" | ||
make release | ||
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 |
---|---|---|
|
@@ -57,6 +57,7 @@ junit.*.xml | |
.DS_Store | ||
|
||
.tiltbuild | ||
dist | ||
|
||
# test results | ||
_artifacts | ||
|
Oops, something went wrong.