Skip to content

add additional validation for the CP Subsystem [CN-1178][CN-1180][CN-… #89

add additional validation for the CP Subsystem [CN-1178][CN-1180][CN-…

add additional validation for the CP Subsystem [CN-1178][CN-1180][CN-… #89

name: Push Hazelcast-Platform-Operator Helm chart to the repo
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "stable/hazelcast-platform-operator/**"
jobs:
publish:
runs-on: ubuntu-latest
env:
RELEASE_VERSION: ${{ github.event.inputs.RELEASE_VERSION }}
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Package operator chart and add it into index.yaml
run: |
helm package ./stable/hazelcast-platform-operator
helm package ./stable/hazelcast-platform-operator/charts/hazelcast-platform-operator-crds
aws s3 cp s3://hazelcast-charts/index.yaml .
helm repo index --url=https://hazelcast-charts.s3.amazonaws.com --merge ./index.yaml .
- name: Push operator chart and index.yaml to S3 bucket
run: |
for CHART_TGZ in *.tgz; do aws s3 cp ${CHART_TGZ} s3://hazelcast-charts; done
aws s3 cp ./index.yaml s3://hazelcast-charts