[dev-v2.9] updating charts-build-scripts to 0.9.2 (#4126)

pull/3445/merge
Nicholas openSUSE Software Engineer 2024-06-26 14:11:28 -03:00 committed by GitHub
parent 1770f2d373
commit ffef4d7dad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 5 deletions

View File

@ -10,11 +10,11 @@ forward-port:
check-release-yaml:
./scripts/check-release-yaml
lifecycle-assets:
validate:
@./scripts/pull-scripts
@./bin/charts-build-scripts lifecycle-assets --branch-version=$(BRANCH_VERSION) --debugFlag=$(DEBUG) --chart=$(CHART)
@./bin/charts-build-scripts validate $(if $(filter true,$(remote)),--remote) $(if $(filter true,$(local)),--local)
TARGETS := prepare patch clean clean-cache charts list index unzip zip standardize validate template regsync check-images check-rc
TARGETS := prepare patch clean clean-cache charts list index unzip zip standardize template regsync check-images check-rc enforce-lifecycle lifecycle-status
$(TARGETS):
@./scripts/pull-scripts

View File

@ -53,4 +53,7 @@ Please see [`docs/validation.md`](validation.md) for more information on how CI
`make clean-cache`: Deletes `.charts-build-scripts/.cache`. Only used if `export USE_CACHE=1` is set, which indicates that you are using the experimental caching feature introduced in v0.3.0 of the scripts. Please see [`docs/experimental.md`](experimental.md) for more information.
`make lifecycle-assets BRANCH_VERSION=<2.X> DEBUG="<true || false>"`: Lists all assets versions and then starts to remove older versions with `make remove` enforcing the rules defined at: [New Assets Lifecycle](../README.md#new-assets-lifecycle).
`BRANCH_VERSION="<2.X>" CHART="<some_chart>" DEBUG="<true || false>" make enforce-lifecycle`: Lists all assets versions and then starts to remove older versions with `make remove` enforcing the rules defined at: [New Assets Lifecycle](../README.md#new-assets-lifecycle).
If run without specifying `CHART=`, will enforce lifecycle rules in all charts.
`BRANCH_VERSION="<2.x>" CHART="<some_chart>" make lifecycle-status`: Analyzes the state of the current branch, analyzes the state of the official development and production branches for the given branch version, saves everything to logs on `logs/` folder.

View File

@ -2,4 +2,4 @@
set -e
CHARTS_BUILD_SCRIPTS_REPO=https://github.com/rancher/charts-build-scripts.git
CHARTS_BUILD_SCRIPT_VERSION="${CHARTS_BUILD_SCRIPT_VERSION:-v0.8.1}"
CHARTS_BUILD_SCRIPT_VERSION="${CHARTS_BUILD_SCRIPT_VERSION:-v0.9.2}"