forked from wunderio/csi-rclone
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ralf Grubenmann
committed
Jan 5, 2024
1 parent
18b7ea6
commit 89553a8
Showing
15 changed files
with
51 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Publish chart | ||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
workflow_dispatch: | ||
jobs: | ||
publish-chart: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11 | ||
- uses: azure/setup-helm@v3 | ||
with: | ||
token: ${{secrets.GITHUB_TOKEN }} | ||
- name: install dependencies | ||
run: pip install chartpress | ||
- name: Publish chart and images | ||
env: | ||
DOCKER_USERNAME: ${{ secrets.RENKU_DOCKER_USERNAME }} | ||
DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }} | ||
run: | | ||
cd deploy | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Renku Bot" | ||
echo ${DOCKER_PASSWORD}|docker login -u ${DOCKER_USERNAME} --password-stdin | ||
export TAG=${echo ${GITHUB_REF} |cut -d/ -f3} | ||
helm dep update csi-rclone | ||
chartpress --tag $TAG | ||
helm lint csi-rclone | ||
chartpress --tag $TAG --push --publish-chart | ||
chartpress --tag latest --push | ||
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,14 @@ | ||
charts: | ||
- name: csi-rclone | ||
imagePrefix: renku/ | ||
resetTag: "" | ||
resetVersion: 0.1.0 | ||
repo: | ||
git: SwissDataScienceCenter/helm-charts | ||
published: https://swissdatasciencecenter.github.io/helm-charts | ||
images: | ||
csi-rclone: | ||
contextPath: ../ | ||
dockerFilePath: ../Dockerfile | ||
valuesPath: | ||
- image |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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