generated from interTwin-eu/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: dciangot <[email protected]>
- Loading branch information
Showing
3 changed files
with
96 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ jobs: | |
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
pip3 install chartpress | ||
- name: Install Helm | ||
uses: azure/setup-helm@v4 | ||
|
@@ -32,5 +33,6 @@ jobs: | |
uses: helm/[email protected] | ||
with: | ||
charts_dir: ./ | ||
version: $GITHUB_REF_NAME | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
charts: | ||
# list of charts by name | ||
# each name should be the name of a Helm chart | ||
- name: interlink | ||
# Directory containing the chart, relative to chartpress.yaml. | ||
# Can be omitted if the directory is the same as the chart name. | ||
chartPath: interlink | ||
|
||
# the prefix to use for built images | ||
imagePrefix: intertwin-eu/interlink- | ||
# tag to use when resetting the chart values | ||
# with the --reset flag. It defaults to "set-by-chartpress". | ||
resetTag: latest | ||
# version to use when resetting the Chart.yaml's version field with the | ||
# --reset flag. It defaults to "0.0.1-set.by.chartpress". This is a valid | ||
# SemVer 2 version, which is required for a helm lint command to succeed. | ||
#resetVersion: 1.2.3-dev | ||
|
||
# baseVersion sets the base version for development tags, | ||
# instead of using the latest tag from `git describe`. | ||
# This gives you more control over development version tags | ||
# and lets you ensure prerelease tags are always sorted in the right order. | ||
# Only useful when publishing development releases. | ||
# Recommended together with a version-bumping tool like `tbump`. | ||
# if baseVersion is not a prerelease version (no -suffix), | ||
# the suffix `-0.dev` will be appended. | ||
# | ||
# Alternatively baseVersion can be set to "major", "minor", or "patch", then | ||
# baseVersion will be calculated based on the latest version tag from `git | ||
# describe`, but have its "major", "minor", or "patch" version increment if | ||
# the version isn't a pre-release. | ||
baseVersion: 0.0.1-0.dev | ||
|
||
# The git repo whose gh-pages contains the charts. This can be a local | ||
# path such as "." as well but if matching <organization>/<repo> will be | ||
# assumed to be a separate GitHub repository. | ||
repo: | ||
git: interTwin-eu/interlink-helm-chart | ||
published: https://intertwin-eu.github.io/interlink-helm-chart/ | ||
# Additional paths that when modified should lead to an updated Chart.yaml | ||
# version, other than the chart directory in <chart name> or any path that | ||
# influence the images of the chart. These paths should be set relative to | ||
# chartpress.yaml's directory. | ||
# paths: | ||
# - ../setup.py | ||
# - ../binderhub | ||
# images to build for this chart (optional) | ||
images: [] | ||
# binderhub: | ||
# # imageName overrides the default name of the image. The default name | ||
# # is the imagePrefix augmented with the key of this configuration. It | ||
# # would be jupyterhub/k8s-binderhub in this case. | ||
# imageName: jupyterhub/k8s-custom-image-name | ||
# # Build arguments to be passed using docker's --build-arg flag as | ||
# # --build-arg <key>=<value>. TAG and LAST_COMMIT are expandable. | ||
# buildArgs: | ||
# MY_STATIC_BUILD_ARG: "hello world" | ||
# MY_DYNAMIC_BUILD_ARG: "{TAG}-{LAST_COMMIT}" | ||
# # Build options to be passed to the docker build command. Pass a list | ||
# # of strings to be appended to the end of the build command. These are | ||
# # passed directly to the command line, so prepend each option with "--" | ||
# # like in the examples below. TAG and LAST_COMMIT are expandable. | ||
# extraBuildCommandOptions: | ||
# - --label=maintainer=octocat | ||
# - --label=ref={TAG}-{LAST_COMMIT} | ||
# - --rm | ||
# # contextPath is the path to the directory that is to be considered the | ||
# # current working directory during the build process of the Dockerfile. | ||
# # This is by default the folder of the Dockerfile. This path should be | ||
# # set relative to chartpress.yaml. | ||
# contextPath: .. | ||
# # By default, changes to the contextPath will make chartpress rebuild | ||
# # the image, but this option make that configurable. | ||
# rebuildOnContextPathChanges: false | ||
# # Path to the Dockerfile, relative to chartpress.yaml. Defaults to | ||
# # "images/<image name>/Dockerfile". | ||
# dockerfilePath: images/binderhub/Dockerfile | ||
# # Path(s) in <chart name>/values.yaml to be updated with image name and | ||
# # tag. | ||
# valuesPath: | ||
# - singleuser.image | ||
# - singleuser.profileList.0.kubespawner_override.image | ||
# # Additional paths, relative to chartpress.yaml's directory, that should | ||
# # be used to indicate that a new tag of the image is required, aside | ||
# # from the contextPath and dockerfilePath for building the image itself. | ||
# paths: | ||
# - assets | ||
# # If chartpress is used to build images for multiple architectures but | ||
# # not all of those architectures are supported by an image they can be | ||
# # skipped | ||
# skipPlatforms: | ||
# - linux/arm64 |