Code Monkey home page Code Monkey logo

charts's Introduction

Charts Repo Actions Demo

Example project to demo testing and hosting a chart repository with GitHub Pages and Actions.

Actions

Project Status

main supports Helm 3 only, i. e. both v1 and v2 API version charts are installable.

Chart Sources

  • charts/example-v1: Sample chart with API version v1
  • charts/example-v2: Sample chart with API version v2
  • charts/dependencies-v1: Simple chart with API version v1 to test dependencies from an external Charts repo
  • charts/dependencies-v2: Simple chart with API version v2 to test dependencies from an external Charts repo

How-To

You can automatically test and host your own chart repository with GitHub Pages and Actions by following these steps.

Steps

The prerequisites listed in the READMEs for actions above must be complete before the steps below, or your charts' initial versions won't be released.

  1. Use the main branch for all of the below, if you wish to use the Actions workflow files as-is
  2. Copy the .github/workflows files from this project to yours
  3. Add your charts to a parent directory in the project (/charts is most straightforward, as it's the default. To change this see helm/chart-testing > configuration > chart-dirs)
  4. Optional: To list your charts repo publicly on the Helm Hub, see Helm Hub > How To Add Your Helm Charts. Consider also pushing to CNCF Artifact Hub

Results

  • The Lint and Test Charts workflow uses @helm/kind-action GitHub Action to spin up a kind Kubernetes cluster, and @helm/chart-testing-action to lint and test your charts on every Pull Request and push
  • The Release Charts workflow uses @helm/chart-releaser-action to turn your GitHub project into a self-hosted Helm chart repo. It does this โ€“ during every push to main โ€“ by checking each chart in your project, and whenever there's a new chart version, creates a corresponding GitHub release named for the chart version, adds Helm chart artifacts to the release, and creates or updates an index.yaml file with metadata about those releases, which is then hosted on GitHub Pages
  • You should now be able to add your charts repo with helm repo add <owner> https://<owner>.github.io/<project>

charts's People

Contributors

ajvpot avatar renovate[bot] avatar

Watchers

 avatar

charts's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: renovate.json
Error type: Invalid JSON (parsing failed)
Message: Syntax error: expecting end of expression or separator near ":prH

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

git-submodules
.gitmodules
  • charts/temporal master@642483fa17514a5b7e0b8cd44bd8f1ae906d1dc2
github-actions
.github/workflows/lint-test.yaml
  • actions/checkout v3
  • azure/setup-helm v3
  • actions/setup-python v4
  • helm/chart-testing-action v2.3.1
  • helm/kind-action v1.10.0
.github/workflows/release.yaml
  • actions/checkout v3
  • azure/setup-helm v3
  • helm/chart-releaser-action v1.6.0
helm-values
charts/vanderbot/values.yaml
  • ghcr.io/ajvpot/vanderbot/vanderbot-2946d9cdf8c6625ee0d8369a54877e5f latest@sha256:7e027ef8c688783f357d5156f8cee51596e9c4bdb142ade7d5606281137e5f51
helmv3
charts/vanderbot/Chart.yaml
  • common 4.5.2
  • postgresql 12.1.14

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.