Skip to content

Commit

Permalink
Merge pull request #2 from aphp/dev
Browse files Browse the repository at this point in the history
Updated chart workflow release management
  • Loading branch information
kzgrzendek authored Dec 2, 2024
2 parents a67b60b + 4be34c1 commit a99b11b
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 21 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/chart-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
push:
branches:
- "dev"
tags:
- "v*.*.*"
- "main"

jobs:
lint-test:
Expand Down Expand Up @@ -147,10 +146,28 @@ jobs:
- name: Add Helm repositories
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
### DEV specific steps ###
- name: Add release suffix - DEV
if: github.ref == 'refs/heads/dev'
run: |
yq -i '.version |= . + "-dev"' charts/redcap/Chart.yaml
- name: Run chart-releaser
- name: Run chart-releaser - DEV
if: github.ref == 'refs/heads/dev'
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
skip_existing: true
mark_as_latest: false

### PROD specific steps ###
- name: Run chart-releaser - MAIN
if: github.ref == 'refs/heads/main'
uses: helm/chart-releaser-action@v1.6.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
skip_existing: true
mark_as_latest: true
36 changes: 18 additions & 18 deletions charts/redcap/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
apiVersion: v2
name: redcap
version: 1.4.0-dev.1
version: 1.4.0
appVersion: 14.5.25
kubeVersion: '>= 1.24.0-0'
description: A Helm chart to deploy REDCap on a Kubernetes cluster.
type: application
keywords:
- redcap
- eCRF
- research
- clinical
- redcap
- eCRF
- research
- clinical
home: https://www.project-redcap.org/
sources:
- https://github.com/aphp/redcap-helmchart
- https://github.com/aphp/redcap-helmchart
dependencies:
- condition: mysql.enabled
name: mysql
repository: https://charts.bitnami.com/bitnami
version: 12.0.1
- condition: audit.enabled
name: logstash
alias: audit
repository: https://charts.bitnami.com/bitnami
version: 6.3.9
- condition: mysql.enabled
name: mysql
repository: https://charts.bitnami.com/bitnami
version: 12.0.1
- condition: audit.enabled
name: logstash
alias: audit
repository: https://charts.bitnami.com/bitnami
version: 6.3.9
maintainers:
- name: kzgrzendek
email: kevin.zgrzendek@gmail.com
url: https://github.com/kzgrzendek
- name: kzgrzendek
email: kevin.zgrzendek@gmail.com
url: https://github.com/kzgrzendek
icon: https://www.lib.washington.edu/dataservices/images/REDCaplogo.jpg

0 comments on commit a99b11b

Please sign in to comment.