Skip to content

Commit

Permalink
Release 30.0.7 (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
GWphua committed Aug 14, 2024
1 parent 02ebe7c commit cb03b4e
Show file tree
Hide file tree
Showing 4 changed files with 1,264 additions and 1,233 deletions.
37 changes: 34 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,44 @@ jobs:
uses: helm/[email protected]
with:
charts_dir: charts
pages_branch: main
packages_with_index: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_KEY: "${{ secrets.CR_KEY }}" # Key name used while creating key
CR_SIGN: true # Set to true to sign images
CR_SKIP_EXISTING: true
CR_SKIP_EXISTING: true # If left false, having a .tgz file in main repository will throw error.
- name: Clean-up and shift files to releases directory
run: |
mkdir -p releases/
shopt -s nullglob
files=(.cr-release-packages/druid-*)
if [ ${#files[@]} -gt 0 ]; then
mv .cr-release-packages/druid-* releases/ #Move files to releases
git add index.yaml releases/druid-*
else
echo "No files starting with 'druid-' found in .cr-release-packages/"
fi
# Remove old druid-*.tgz files from the root directory if they exist
tgz_files=(druid-*.tgz)
if [ ${#tgz_files[@]} -gt 0 ]; then
git rm -f ./druid-*.tgz
else
echo "No .tgz file to remove"
fi
# Commit and push changes if any files were staged
if git diff --cached --quiet; then
echo "No changes to commit."
else
git commit -m "Update releases directory"
git push origin main
fi
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Print directory tree for debug
run: |
sudo apt-get update && sudo apt-get install tree -y
tree -a
linter-artifacthub:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
$ helm repo add druid-helm https://asdf2014.github.io/druid-helm/

# Install chart
$ helm install my-druid druid-helm/druid --version 30.0.6
$ helm install my-druid druid-helm/druid --version 30.0.7
```


Expand Down
2 changes: 1 addition & 1 deletion charts/druid/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

apiVersion: v2
name: druid
version: 30.0.6
version: 30.0.7
appVersion: 30.0.0
description: Apache Druid is a high performance real-time analytics database.
keywords:
Expand Down
Loading

0 comments on commit cb03b4e

Please sign in to comment.