Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/github_actions/helm/kind-action…
Browse files Browse the repository at this point in the history
…-1.10.0
  • Loading branch information
cheels authored Oct 8, 2024
2 parents 30dde7b + 449e774 commit 3064aa8
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/chart-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fi
- name: Install yq
uses: mikefarah/yq@v4.43.1
uses: mikefarah/yq@v4.44.3

- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -41,9 +41,10 @@ jobs:
working-directory: stable
id: update_version
run: |
HZ_REPO="hazelcast/hazelcast"
echo ${{ env.DEVOPS_GITHUB_TOKEN }} | gh auth login --with-token
HZ_REPO="hazelcast/hazelcast-mono"
MC_REPO="hazelcast/management-center"
paths=("hazelcast" "hazelcast-enterprise")
paths=("hazelcast-enterprise")
# Function to extract a specific field value from a YAML file
extract_version() {
Expand Down Expand Up @@ -156,19 +157,28 @@ jobs:
fi
echo "TITLE=$TITLE" >> $GITHUB_ENV
echo "BRANCH=$BRANCH" >> $GITHUB_ENV
PR_NUMBER=$(gh pr list --repo ${GITHUB_REPOSITORY} --search "$TITLE" --json number | jq -r '.[].number')
if [[ -z "$PR_NUMBER" ]]; then
echo "PR_EXIST=false" >> $GITHUB_OUTPUT
echo "PR_EXIST=false" >> $GITHUB_ENV
fi
- name: Commit and Push Changes
if: (steps.update_version.outputs.HZ_UPDATED == 'true' || steps.update_version.outputs.MC_UPDATED == 'true')
if: (steps.update_version.outputs.HZ_UPDATED == 'true' || steps.update_version.outputs.MC_UPDATED == 'true') && steps.title.outputs.PR_EXIST == 'false'
run: |
git config user.email "[email protected]"
git config user.name "devOpsHelm"
git fetch origin
git checkout master
git pull origin master
git checkout -b ${{ env.BRANCH }}
git add .
git commit --signoff -m "${{ env.TITLE }}"
git push -u origin ${{ env.BRANCH }}
- name: Create PR to Main Branch
if: (steps.update_version.outputs.HZ_UPDATED == 'true' || steps.update_version.outputs.MC_UPDATED == 'true')
if: (steps.update_version.outputs.HZ_UPDATED == 'true' || steps.update_version.outputs.MC_UPDATED == 'true') && steps.title.outputs.PR_EXIST == 'false'
run: |
echo ${{ env.DEVOPS_GITHUB_TOKEN }} | gh auth login --with-token
gh pr create --fill \
Expand Down
4 changes: 2 additions & 2 deletions stable/hazelcast-enterprise/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: hazelcast-enterprise
version: 5.12.0
appVersion: "5.5.0"
version: 5.12.2
appVersion: "5.5.1"
kubeVersion: ">=1.19.0-0"
description: Hazelcast is a streaming and memory-first application platform for fast, stateful, data-intensive workloads on-premises, at the edge or as a fully managed cloud service.
keywords:
Expand Down
4 changes: 2 additions & 2 deletions stable/hazelcast-enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image:
# repository is the Hazelcast image name
repository: "hazelcast/hazelcast-enterprise"
# tag is the Hazelcast image tag
tag: "5.5.0"
tag: "5.5.1"
# digest is the Hazelcast image digest that will be used only if the tag is empty
digest: ""
#
Expand Down Expand Up @@ -346,7 +346,7 @@ mancenter:
# repository is the Hazelcast Management Center image name
repository: "hazelcast/management-center"
# tag is the Hazelcast Management Center image tag
tag: "5.5.1"
tag: "5.5.2"
# digest is the Hazelcast Management Center image digest that will be used only if the tag is empty
digest: ""
#
Expand Down
2 changes: 1 addition & 1 deletion stable/hazelcast/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: hazelcast
version: 5.10.0
version: 5.10.1
appVersion: "5.5.0"
kubeVersion: ">=1.19.0-0"
description: Hazelcast is a streaming and memory-first application platform for fast, stateful, data-intensive workloads on-premises, at the edge or as a fully managed cloud service.
Expand Down
2 changes: 1 addition & 1 deletion stable/hazelcast/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ mancenter:
# repository is the Hazelcast Management Center image name
repository: "hazelcast/management-center"
# tag is the Hazelcast Management Center image tag
tag: "5.5.1"
tag: "5.5.2"
# digest is the Hazelcast Management Center image digest that will be used only if the tag is empty
digest: ""
# pullPolicy is the Docker image pull policy
Expand Down

0 comments on commit 3064aa8

Please sign in to comment.