Skip to content

Commit

Permalink
first porting
Browse files Browse the repository at this point in the history
Signed-off-by: dciangot <[email protected]>
  • Loading branch information
dciangot committed Aug 9, 2024
1 parent 060441b commit e201e45
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -32,5 +33,6 @@ jobs:
uses: helm/[email protected]
with:
charts_dir: ./
version: $GITHUB_REF_NAME
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
4 changes: 2 additions & 2 deletions interlink/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: interlink
description: Install interLink components and initiate your virtual node.
description: Install interLink components and initiate your virtual node.

# A chart can be either an 'application' or a 'library' chart.
#
Expand All @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.2
version: 0.2.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
92 changes: 92 additions & 0 deletions interlink/chartpress.yaml
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

0 comments on commit e201e45

Please sign in to comment.