Skip to content

Commit

Permalink
add: github workflow for releasing
Browse files Browse the repository at this point in the history
add: big-peer chart

fix: workflow path

add: missing repos

fix: chart name

fix: things
  • Loading branch information
ChrisMcKenzie committed Sep 27, 2024
1 parent d7489a1 commit 8c192cd
Show file tree
Hide file tree
Showing 9 changed files with 20,356 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: release

on:
push:
branches:
- main

jobs:
release:
# depending on default permission settings for your org (contents being read-only or read-write for workloads), you will have to add permissions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v3

- name: add repos
run: |
helm repo add cert-manager https://charts.jetstack.io
helm repo add kafka https://strimzi.io/charts
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.DS_STORE
out
*.DS_STORE
*.out
.test/
test/
*.tgz
.template
secrets.yaml
.env
.scratch/
secret.json
!bigpeer-anywhere-0.0.1.tgz
23 changes: 23 additions & 0 deletions charts/big-peer/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
33 changes: 33 additions & 0 deletions charts/big-peer/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
dependencies:
- name: hades
repository: oci://quay.io/ditto-external
version: 1.39.0
- name: hydra-consul
repository: oci://quay.io/ditto-external
version: 0.1.0
- name: hydra-store
repository: oci://quay.io/ditto-external
version: 1.39.0
- name: hydra-subscription
repository: oci://quay.io/ditto-external
version: 1.39.0
- name: service-token-validator
repository: oci://quay.io/ditto-external
version: 0.1.1
- name: cert-manager
repository: https://charts.jetstack.io
version: v1.10.1
- name: strimzi-kafka-operator
repository: https://strimzi.io/charts
version: 0.34.0
- name: kafka
repository: oci://quay.io/ditto-external
version: 0.2.1
- name: dummy-auth-webhook
repository: oci://quay.io/ditto-external
version: 0.1.1
- name: bpam
repository: oci://quay.io/ditto-external
version: 1.0.2
digest: sha256:c901e8e709f7623e3b84235877e1194d085d96e4ea2d96798105e50633f0c13b
generated: "2024-09-26T18:04:43.752084803-05:00"
95 changes: 95 additions & 0 deletions charts/big-peer/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
apiVersion: v2
name: big-peer
description: A Helm chart for Kubernetes
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
home: https://docs.ditto.live/

# 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.0.1

# 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
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.39.0"
keywords:
- ditto
- bigpeer
sources:
- https://github.com/getditto/ditto-helm
maintainers:
- name: Ditto Live
email: [email protected]
dependencies:
# Both longhorn and minio are used for storage, longhorn seems to be more robust
- name: hades
version: "1.39.0"
repository: "oci://quay.io/ditto-external"
condition: hades.enabled
tags:
- hades
- name: hydra-consul
version: "0.1.0"
repository: "oci://quay.io/ditto-external"
condition: hydra-consul.enabled
tags:
- hydra-consul
- name: hydra-store
version: "1.39.0"
repository: "oci://quay.io/ditto-external"
condition: hydra-store.enabled
tags:
- hydra-store
- name: hydra-subscription
version: "1.39.0"
repository: "oci://quay.io/ditto-external"
condition: hydra-subscription.enabled
tags:
- hydra-subscription
- name: service-token-validator
version: "0.1.1"
repository: "oci://quay.io/ditto-external"
condition: service-token-validator.enabled
tags:
- service-token-validator
- name: cert-manager
version: "1.10.1"
repository: "https://charts.jetstack.io"
condition: cert-manager.enabled
tags:
- cert-manager
- name: strimzi-kafka-operator
version: "0.34.0"
repository: "https://strimzi.io/charts"
condition: strimzi-kafka-operator.enabled
tags:
- kafka-operator
- name: kafka
version: "0.2.1"
repository: "oci://quay.io/ditto-external"
alias: kafka
condition: kafka-cluster.enabled
tags:
- kafka
- name: dummy-auth-webhook
repository: "oci://quay.io/ditto-external"
condition: dummy-auth-webhook.enabled
version: "0.1.1"
tags:
- dummy-auth-webhook
- name: bpam
repository: "oci://quay.io/ditto-external"
condition: bpam.enabled
version: "1.0.2"
tags:
- bpam
Loading

0 comments on commit 8c192cd

Please sign in to comment.