Go to file
Arvind Iyengar e9e8aef18d
Point to 2.6 branches and run make docs
2021-03-30 16:37:29 -07:00
assets Merge pull request #1059 from aiyengar2/add_hidden_to_windows_exporter 2021-03-29 19:11:34 +00:00
charts Merge pull request #1059 from aiyengar2/add_hidden_to_windows_exporter 2021-03-29 19:11:34 +00:00
released make release 2021-03-04 09:48:04 -08:00
scripts Point to 2.6 branches and run make docs 2021-03-30 16:37:29 -07:00
.gitignore Point to 2.6 branches and run make docs 2021-03-30 16:37:29 -07:00
CNAME Create CNAME 2020-07-30 10:49:03 -07:00
Makefile Bump version to v0.0.4 2021-02-08 13:38:40 -08:00
README.md Point to 2.6 branches and run make docs 2021-03-30 16:37:29 -07:00
configuration.yaml Point to 2.6 branches and run make docs 2021-03-30 16:37:29 -07:00
index.html Initial commit 2020-07-29 15:59:02 -07:00
index.yaml Merge pull request #1059 from aiyengar2/add_hidden_to_windows_exporter 2021-03-29 19:11:34 +00:00

README.md

Staging Branch

This branch contains generated assets that have not been officially released yet.

The following directory structure is expected:

assets/
  <package>/
    <chart>-<packageVersion>.tgz
  ...
charts/
  <package>
    <chart>
      <packageVersion>
        # Unarchived Helm chart
  ...

Configuration

This repository branch contains a configuration.yaml file that is used to specify how it interacts with other repository branches.

Sync

This branch syncs with the generated assets from the following branches:

To release a new version of a chart, please open the relevant PRs to one of these branches.

Merging should trigger a sync workflow on pushing to these branches.

Validate

This branch validates against the generated assets of the following branches to make sure it isn't overriding already released charts.

Before submitting any PRs, a Github Workflow will check to see if your package doesn't break any already released packages in these repository branches.

Cutting a Release

In the Staging branch, cutting a release involves moving the contents of the assets/ directory into released/assets/, deleting the contents of the charts/ directory, and updating the index.yaml to point to the new location for those assets.

This process is entirely automated via the make release command.

Once you successfully run the make release command, ensure the following is true:

  • The assets/ and charts/ directories each only have a single file contained within them: README.md
  • The released/assets/ directory has a .tgz file for each releaseCandidateVersion of a Chart that was created during this release.
  • The index.yaml and released/assets/index.yaml both are identical and the index.yaml's diff shows only two types of changes: a timestamp update or a modification of an existing URL from assets/* to released/assets/*.

No other changes are expected.

Note: these steps should be taken only after following the steps to cut a release to your Live Branch.

Makefile

Basic Commands

make pull-scripts: Pulls in the version of the charts-build-scripts indicated in scripts.

make sync: Syncs the assets in your current repository with the merged contents of all of the repository branches indicated in your configuration.yaml

make validate: Validates your current repository branch against all the repository branches indicated in your configuration.yaml

make docs: Pulls in the latest docs, scripts, etc. from the charts-build-scripts repository

make release: moves the contents of the assets/ directory into released/assets/, deletes the contents of the charts/ directory, and updates the index.yaml to point to the new location for those assets.