docs: add the instruction for upgrading CRDs and install greptimedb-o… #120
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
name: Release Charts | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
release: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Configure Git | |
run: | | |
git config user.name "$GITHUB_ACTOR" | |
git config user.email "[email protected]" | |
- name: Install Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.12.1 | |
- name: Run chart-releaser | |
uses: helm/[email protected] | |
with: | |
charts_dir: charts | |
env: | |
CR_SKIP_EXISTING: true | |
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
release-charts-to-s3: | |
needs: [ | |
release, | |
] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v2 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_CN_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_CN_SECRET_ACCESS_KEY }} | |
aws-region: ${{ vars.AWS_RELEASE_BUCKET_REGION }} | |
- name: Release charts to S3 | |
shell: bash | |
run: | | |
.github/scripts/release-charts-to-s3.sh ${{ vars.AWS_RELEASE_BUCKET }} |