mirror of https://git.rancher.io/charts
[dev-v2.9] Improve process (#5022)
parent
fbfd5b67ce
commit
e9c50d8007
|
@ -12,70 +12,98 @@
|
||||||
|
|
||||||
# Elemental
|
# Elemental
|
||||||
packages/elemental @rancher/elemental
|
packages/elemental @rancher/elemental
|
||||||
|
assets/elemental @rancher/elemental
|
||||||
|
|
||||||
# Fleet
|
# Fleet
|
||||||
packages/fleet @rancher/fleet
|
packages/fleet @rancher/fleet
|
||||||
|
assets/fleet @rancher/fleet
|
||||||
|
|
||||||
# Harvester
|
# Harvester
|
||||||
packages/harvester @rancher/harvester
|
packages/harvester @rancher/harvester
|
||||||
|
assets/harvester @rancher/harvester
|
||||||
|
|
||||||
# Longhorn
|
# Longhorn
|
||||||
packages/longhorn @rancher/longhorn
|
packages/longhorn @rancher/longhorn
|
||||||
packages/longhorn-crd @rancher/longhorn
|
packages/longhorn-crd @rancher/longhorn
|
||||||
|
assets/longhorn @rancher/longhorn
|
||||||
|
assets/longhorn-crd @rancher/longhorn
|
||||||
|
|
||||||
# Neuvector
|
# Neuvector
|
||||||
packages/neuvector @rancher/neuvector
|
packages/neuvector @rancher/neuvector
|
||||||
packages/neuvector-monitor @rancher/neuvector
|
packages/neuvector-monitor @rancher/neuvector
|
||||||
|
assets/neuvector @rancher/neuvector
|
||||||
|
assets/neuvector-monitor @rancher/neuvector
|
||||||
|
|
||||||
# Rancher AKS EKS GKE
|
# Rancher AKS EKS GKE
|
||||||
packages/rancher-aks-operator @rancher/highlander
|
packages/rancher-aks-operator @rancher/highlander
|
||||||
packages/rancher-eks-operator @rancher/highlander
|
packages/rancher-eks-operator @rancher/highlander
|
||||||
packages/rancher-gke-operator @rancher/highlander
|
packages/rancher-gke-operator @rancher/highlander
|
||||||
|
assets/rancher-aks-operator @rancher/highlander
|
||||||
|
assets/rancher-eks-operator @rancher/highlander
|
||||||
|
assets/rancher-gke-operator @rancher/highlander
|
||||||
|
|
||||||
|
|
||||||
# Rancher Alerting
|
# Rancher Alerting
|
||||||
packages/rancher-alerting @rancher/observation-backup
|
packages/rancher-alerting @rancher/observation-backup
|
||||||
|
assets/rancher-alerting @rancher/observation-backup
|
||||||
|
|
||||||
# Rancher Backup
|
# Rancher Backup
|
||||||
packages/rancher-backup @rancher/observation-backup
|
packages/rancher-backup @rancher/observation-backup
|
||||||
|
assets/rancher-backup @rancher/observation-backup
|
||||||
|
|
||||||
# Rancher CIS Benchmark
|
# Rancher CIS Benchmark
|
||||||
packages/rancher-cis-benchmark @rancher/infracloud-team
|
packages/rancher-cis-benchmark @rancher/infracloud-team
|
||||||
tests/rancher-cis-benchmark @rancher/infracloud-team
|
tests/rancher-cis-benchmark @rancher/infracloud-team
|
||||||
|
assets/rancher-cis-benchmark @rancher/infracloud-team
|
||||||
|
|
||||||
# Rancher CSP Adapter
|
# Rancher CSP Adapter
|
||||||
packages/rancher-csp-adapter @rancher/socket
|
packages/rancher-csp-adapter @rancher/socket
|
||||||
|
assets/rancher-csp-adapter @rancher/socket
|
||||||
|
|
||||||
# Rancher OPA Gatekeeper
|
# Rancher OPA Gatekeeper
|
||||||
packages/rancher-gatekeeper @rancher/mapps
|
packages/rancher-gatekeeper @rancher/mapps
|
||||||
|
assets/rancher-gatekeeper @rancher/mapps
|
||||||
|
|
||||||
# Rancher Istio
|
# Rancher Istio
|
||||||
packages/rancher-istio @rancher/mapps
|
packages/rancher-istio @rancher/mapps
|
||||||
tests/rancher-istio @rancher/mapps
|
tests/rancher-istio @rancher/mapps
|
||||||
|
assets/rancher-istio @rancher/mapps
|
||||||
|
|
||||||
# Rancher Logging
|
# Rancher Logging
|
||||||
packages/rancher-logging @rancher/observation-backup
|
packages/rancher-logging @rancher/observation-backup
|
||||||
|
assets/rancher-logging @rancher/observation-backup
|
||||||
|
|
||||||
# Rancher Monitoring
|
# Rancher Monitoring
|
||||||
packages/rancher-monitoring @rancher/observation-backup
|
packages/rancher-monitoring @rancher/observation-backup
|
||||||
|
assets/rancher-monitoring @rancher/observation-backup
|
||||||
|
|
||||||
# Rancher SRIOV
|
# Rancher SRIOV
|
||||||
packages/rancher-sriov @rancher/rke1-team
|
packages/rancher-sriov @rancher/rke1-team
|
||||||
packages/rancher-nfd @rancher/rke1-team
|
packages/rancher-nfd @rancher/rke1-team
|
||||||
|
assets/rancher-sriov @rancher/rke1-team
|
||||||
|
assets/rancher-nfd @rancher/rke1-team
|
||||||
|
|
||||||
# Rancher Provisioning CAPI
|
# Rancher Provisioning CAPI
|
||||||
packages/rancher-provisioning-capi @rancher/rancher-team-2-hostbusters-dev
|
packages/rancher-provisioning-capi @rancher/rancher-team-2-hostbusters-dev
|
||||||
|
assets/rancher-provisioning-capi @rancher/rancher-team-2-hostbusters-dev
|
||||||
|
|
||||||
# Rancher VSphere
|
# Rancher VSphere
|
||||||
packages/rancher-vsphere @rancher/rancher-team-2-hostbusters-dev
|
packages/rancher-vsphere @rancher/rancher-team-2-hostbusters-dev
|
||||||
|
assets/rancher-vsphere-cpi @rancher/rancher-team-2-hostbusters-dev
|
||||||
|
assets/rancher-vsphere-csi @rancher/rancher-team-2-hostbusters-dev
|
||||||
|
|
||||||
# Rancher Windows GSMA
|
# Rancher Windows GSMA
|
||||||
packages/rancher-windows-gsma @rancher/rancher-team-2-hostbusters-dev
|
packages/rancher-windows-gsma @rancher/rancher-team-2-hostbusters-dev
|
||||||
|
assets/rancher-windows-gsma @rancher/rancher-team-2-hostbusters-dev
|
||||||
|
|
||||||
# Rancher Webhook
|
# Rancher Webhook
|
||||||
packages/rancher-webhook @rancher/rancher-squad-frameworks
|
packages/rancher-webhook @rancher/rancher-squad-frameworks
|
||||||
|
assets/rancher-webhook @rancher/rancher-squad-frameworks
|
||||||
|
|
||||||
# System Upgrade Controller
|
# System Upgrade Controller
|
||||||
packages/system-upgrade-controller @rancher/rancher-team-2-hostbusters-dev
|
packages/system-upgrade-controller @rancher/rancher-team-2-hostbusters-dev
|
||||||
|
assets/system-upgrade-controller @rancher/rancher-team-2-hostbusters-dev
|
||||||
|
|
||||||
# UI Extension Operator
|
# UI Extension Operator
|
||||||
packages/ui-plugin-operator @rancher/mapps
|
packages/ui-plugin-operator @rancher/mapps
|
||||||
|
assets/ui-plugin-operator @rancher/mapps
|
|
@ -1,26 +1,40 @@
|
||||||
## Issue: <!-- link the issue or issues this PR resolves here -->
|
#### Pull Requests Rules
|
||||||
|
|
||||||
|
- `Never remove an already released chart!`
|
||||||
|
- This does not apply to RC's because they are not released.
|
||||||
|
- Each Pull Request should only modify one chart with its dependencies.
|
||||||
|
|
||||||
|
- Pull request title:
|
||||||
|
```
|
||||||
|
[dev-v2.X] <chart> <version> <action>
|
||||||
|
```
|
||||||
|
- `<action>`: 1 of (bump; remove; UnRC)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
##### Checkpoints for Chart Bumps
|
||||||
|
|
||||||
|
`release.yaml`:
|
||||||
|
- [ ] Each chart version in release.yaml DOES NOT modify an already released chart. If so, stop and modify the versions so that it releases a net-new chart.
|
||||||
|
- [ ] Each chart version in release.yaml IS exactly 1 more patch or minor version than the last released chart version. If not, stop and modify the versions so that it releases a net-new chart.
|
||||||
|
|
||||||
|
`Chart.yaml and index.yaml`:
|
||||||
|
- [ ] The `index.yaml` file has an entry for your new chart version.
|
||||||
|
- [ ] The `index.yaml` entries for each chart matches the `Chart.yaml` for each chart.
|
||||||
|
- [ ] Each chart has ALL required annotations
|
||||||
|
- kube-version annotation
|
||||||
|
- rancher-version annotation
|
||||||
|
- permits-os annotation (indicates Windows and/or Linux)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Fill the following only if required by your manager.
|
||||||
|
|
||||||
|
##### Issue: <!-- link the issue or issues this PR resolves here -->
|
||||||
<!-- If your PR depends on changes from another pr link them here and describe why they are needed in your solution section. -->
|
<!-- If your PR depends on changes from another pr link them here and describe why they are needed in your solution section. -->
|
||||||
|
|
||||||
## Problem
|
##### Solution
|
||||||
<!-- Describe the root cause of the issue you are resolving. This may include what behavior is observed and why it is not desirable. If this is a new feature describe why we need this feature and how it will be used. -->
|
|
||||||
## Solution
|
|
||||||
<!-- Describe what you changed to fix the issue. Relate your changes back to the original issue / feature and explain how this addresses the issue. -->
|
<!-- Describe what you changed to fix the issue. Relate your changes back to the original issue / feature and explain how this addresses the issue. -->
|
||||||
|
|
||||||
## Testing
|
##### QA Testing Considerations
|
||||||
<!-- Note: Confirm if the repro steps in the GitHub issue are valid, if not, please update the issue with accurate repro steps. -->
|
|
||||||
|
|
||||||
## Engineering Testing
|
|
||||||
### Manual Testing
|
|
||||||
<!-- Describe what manual testing you did (if no testing was done, explain why). -->
|
|
||||||
|
|
||||||
### Automated Testing
|
|
||||||
<!--If you added/updated unit/integration/validation tests, describe what cases they cover and do not cover. -->
|
|
||||||
|
|
||||||
## QA Testing Considerations
|
|
||||||
<!-- Highlight areas or (additional) cases that QA should test w.r.t a fresh install as well as the upgrade scenarios -->
|
<!-- Highlight areas or (additional) cases that QA should test w.r.t a fresh install as well as the upgrade scenarios -->
|
||||||
|
|
||||||
### Regressions Considerations
|
|
||||||
<!-- Dedicated section to specifically call out any areas that with higher chance of regressions caused by this change, include estimation of probability of regressions -->
|
|
||||||
|
|
||||||
## Backporting considerations
|
|
||||||
<!-- Does this change need to be backported to other versions? If so, which versions should it be backported to? -->
|
|
|
@ -23,7 +23,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "installing docker, jq, git, make, go, awk and patch through zypper"
|
echo "installing docker, jq, git, make, go, awk and patch through zypper"
|
||||||
zypper --non-interactive install docker jq git make go awk patch
|
zypper --non-interactive install docker jq git make go awk patch
|
||||||
|
|
||||||
echo "installing gh"
|
echo "installing gh"
|
||||||
mkdir -p /tmp/gh
|
mkdir -p /tmp/gh
|
||||||
curl -fsL https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_VERSION}_linux_amd64.tar.gz | tar xvzf - --strip-components=1 -C /tmp/gh
|
curl -fsL https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_VERSION}_linux_amd64.tar.gz | tar xvzf - --strip-components=1 -C /tmp/gh
|
||||||
|
@ -43,6 +42,15 @@ jobs:
|
||||||
secrets: |
|
secrets: |
|
||||||
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials username | DOCKER_USERNAME;
|
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials username | DOCKER_USERNAME;
|
||||||
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials password | DOCKER_PASSWORD;
|
secret/data/github/repo/${{ github.repository }}/dockerhub/rancher/credentials password | DOCKER_PASSWORD;
|
||||||
|
secret/data/github/repo/${{ github.repository }}/github/app-credentials appId | APP_ID ;
|
||||||
|
secret/data/github/repo/${{ github.repository }}/github/app-credentials privateKey | PRIVATE_KEY
|
||||||
|
|
||||||
|
- name: Create App Token
|
||||||
|
uses: actions/create-github-app-token@v1
|
||||||
|
id: app-token
|
||||||
|
with:
|
||||||
|
app-id: ${{ env.APP_ID }}
|
||||||
|
private-key: ${{ env.PRIVATE_KEY }}
|
||||||
|
|
||||||
- name: actions/checkout@v4
|
- name: actions/checkout@v4
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
|
@ -51,7 +59,7 @@ jobs:
|
||||||
- name: Git Checkout PR and into new branch
|
- name: Git Checkout PR and into new branch
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
run: |
|
run: |
|
||||||
echo "git global configuration"
|
echo "git global configuration"
|
||||||
git config --global --add safe.directory "$PWD"
|
git config --global --add safe.directory "$PWD"
|
||||||
|
@ -72,7 +80,9 @@ jobs:
|
||||||
- name: Release PR Validation Chekpoints
|
- name: Release PR Validation Chekpoints
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
if: contains(github.base_ref, 'release-v')
|
if: contains(github.base_ref, 'release-v')
|
||||||
run: make validate-release-charts BRANCH=${{ github.event.pull_request.base.ref }} GH_TOKEN=${{ secrets.GITHUB_TOKEN }} PR_NUMBER=${{ github.event.pull_request.number }}
|
env:
|
||||||
|
GH_TOKEN: ${{ steps.app-token.outputs.token }}
|
||||||
|
run: make validate-release-charts BRANCH=${{ github.event.pull_request.base.ref }} GH_TOKEN=${{ env.GH_TOKEN }} PR_NUMBER=${{ github.event.pull_request.number }}
|
||||||
|
|
||||||
- name: Validate index.yaml Vs assets/ dir
|
- name: Validate index.yaml Vs assets/ dir
|
||||||
continue-on-error: false
|
continue-on-error: false
|
||||||
|
|
|
@ -5,3 +5,4 @@ bin
|
||||||
.idea
|
.idea
|
||||||
.charts-build-scripts
|
.charts-build-scripts
|
||||||
*.swp
|
*.swp
|
||||||
|
.vscode
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
CHARTS_BUILD_SCRIPTS_REPO=https://github.com/rancher/charts-build-scripts.git
|
CHARTS_BUILD_SCRIPTS_REPO=https://github.com/rancher/charts-build-scripts.git
|
||||||
CHARTS_BUILD_SCRIPT_VERSION="${CHARTS_BUILD_SCRIPT_VERSION:-v1.3.5}"
|
CHARTS_BUILD_SCRIPT_VERSION="${CHARTS_BUILD_SCRIPT_VERSION:-v1.3.7}"
|
||||||
|
|
Loading…
Reference in New Issue