Releases: rancher/charts-build-scripts
Releases · rancher/charts-build-scripts
v0.3.1
v0.3.0
Major changes:
- More and better docs: all docs have been rewritten and moved to the
docs/
directory. These new docs (especiallydeveloping.md
) are geared around making it far easier for new developers to understand how to work with the scripts. - Support for nested packages: instead of forcing all packages to live in
packages/PACKAGE
, you can now nest packages within folders. This feature can be used to nest versions of packages, e.g.packages/longhorn/longhorn-1.1
andpackages/longhorn/longhorn-1.2
. In addition, thePACKAGE
env var now supports preparing all packages under the path defined (e.g.PACKAGE=longhorn
would prepare both versions of longhorn in the example given above). charts/
andassets/
directories are indexed on Chart, not Package: For example, now if you preparepackages/my-longhorn/longhorn-1.1
andpackages/my-longhorn/longhorn-1.2
, both charts will be located undercharts/longhorn/VERSION
andassets/longhorn/CHART-VERSION.tgz
; the name of the package that generated the chart (e.g.my-longhorn
) will not be considered.- Moving to rancher/system-charts model for releases: Instead of using specific scripts that need to be run for a release to move contents from a dev branch to a release branch, the dev branch will simply be a fork of the release branch.
make zip
,make unzip
,make index
: to make it easier to work with charts that have already been released, utility commands have been provided to automatically dump the contents ofcharts/
intoassets/
(i.e.make zip
), dump the contents ofassets/
intocharts/
(i.e.make unzip
), or update theindex.yaml
while preserving changes such as timestamps (e.g.make index
).- Complete redesign of
make validate
and introducingrelease.yaml
: The validation process has been refactored to support the new single branch system-charts model and a newrelease.yaml
file will need to be updated every time a chart is added, updated, or modified from the perspective of the release branch. Please see the docs for more information! - Standardized
Chart.yaml
patches: Before producing a patch, the upstream chart'sChart.yaml
is standardized (e.g. orders annotations and keys alphabetically) to ensure that the patches produced are more clean.
Experimental major features:
- Local caching for GitHub-Repo-based Packages: setting
USE_CACHE=1
will ensure that any GH repo that is pulled will be cached in./.charts-build-scripts/.cache/.gitrepos/*
, which speeds upmake prepare
,make patch
, andmake charts
- Support for non-Helm sources (e.g. manifests):
package.yaml
now supports pointing to a set of manifests.
Misc updates:
make list
: a new utility command that allows you to list packages that are currently being targeted by the script, based on the contents of thePACKAGE
env varmake standardize
: a new utility command that standardizes any repository with Helm charts undercharts/
to a charts-build-scripts friendly repository. Used under the hood for the new validate process.make charts
andmake clean
do not fail if no packages are foundpackageVersions
are now enforced to be 1+./bin/charts-build-scripts validate
now supports--local
or--remote
validationmake prepare
will fail if the commit hash is invalid- Added a migration script to cherry-pick changes on Git to the
packages/
directory ./scripts/pull-scripts
is more friendly to dev builds./scripts/package-ci
can now be run from the repository root
v0.2.4
v0.2.3
v0.2.2
v0.2.1: Merge pull request #49 from aiyengar2/remove_github_workflow_from_update
Enhancements:
- Update Go to v1.16
- The
make pull-scripts
command runs faster now - The
+upstream-version
part is omitted if the upstream chart version is the same as our chart version.
New Features:
- The new
version
field in thepackage.yaml
can be used to set the chart's version, and it will override the chart's original version or packageVersion.
Fixes:
- Fix the bug where the overlay file is left in the
charts/<package-name>
directory after the file is removed from thepackages/<package-name>/generated-changes/overlay
directory
v0.2.0
Highlights:
- Cleaned up code for unused stuff and created some helper functions to reduce redundant code
- Removed
make sync
,make rebase
- Renamed
make docs
tomake template
- Heavily simplified
make validate
and removed a ton of files that were overly complex due to new requirements. See below for more details - Modified scripts and templates to document the new features
- Updated versioning for semver compliance for Helm 3.5.2
- Added a package-ci script that can be used to validate that charts-build-script changes don't break basic functionality
- Minor bugfixes