-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Steve Hipwell <[email protected]>
- Loading branch information
1 parent
8108af0
commit 5b65e8b
Showing
5 changed files
with
27 additions
and
11 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 |
---|---|---|
|
@@ -7,6 +7,7 @@ on: | |
|
||
jobs: | ||
lint-test: | ||
if: github.repository == "kubernetes-sigs/metrics-server" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
|
@@ -36,7 +37,7 @@ jobs: | |
fi | ||
- name: Run chart-testing (lint) | ||
run: ct lint | ||
run: ct lint --check-version-increment false | ||
|
||
- name: Create Kind cluster | ||
uses: helm/[email protected] | ||
|
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
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 |
---|---|---|
|
@@ -6,9 +6,19 @@ The Metrics Server is released on an as-needed basis. The process is as follows: | |
1. At least one [OWNER](OWNERS) must LGTM this release | ||
1. A PR that bumps version hardcoded in code is created and merged | ||
1. An OWNER creates a draft GitHub release | ||
1. An OWNER creates an issue to release the corresponding Helm chart via the chart release process (below) | ||
1. An OWNER creates a release tag using `GIT_TAG=$VERSION make release-tag` and waits for [prow.k8s.io](prow.k8s.io) to build and push new images to [gcr.io/k8s-staging-metrics-server](https://gcr.io/k8s-staging-metrics-server) | ||
1. An OWNER builds the release manifests using `make release-manifests` and uploads them to Github release | ||
1. A PR in [kubernetes/k8s.io](https://github.com/kubernetes/k8s.io/blob/main/k8s.gcr.io/images/k8s-staging-metrics-server/images.yaml) is created to release images to `k8s.gcr.io` | ||
1. An OWNER publishes the GitHub release. Once published, release manifests will be automatically added to the release by CI. | ||
1. An announcement email is sent to `[email protected]` with the subject `[ANNOUNCE] metrics-server $VERSION is released` | ||
1. The release issue is closed | ||
|
||
## Chart Release Process | ||
|
||
The chart needs to be released in response to a Metrics Server release or on an as-needed basis. The process is as follows: | ||
|
||
1. An issue is proposing a new chart release | ||
1. A PR is opened to update _Chart.yaml_ with the `appVersion`, `version` (based on the release changes) and `annotations` | ||
1. The PR triggers the chart linting and testing GitHub action to validate the chart | ||
1. The PR is merged and a GitHub action releases the chart |