Skip to content

E2E

E2E #161

Workflow file for this run

name: E2E
on:
schedule:
- cron: '0 2 * * 1-5'
workflow_dispatch:
inputs:
chart:
type: choice
description: Chart Name
required: true
options:
- greptimedb-cluster
- greptimedb-standalone
jobs:
e2e:
runs-on: ubuntu-latest
if: ${{ github.repository == 'GreptimeTeam/helm-charts' }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Helm
uses: azure/setup-helm@v3
with:
version: v3.12.1
- name: Create kind cluster
uses: helm/kind-action@v1
with:
wait: 120s
version: v0.29.0
kubectl_version: v1.32.0
node_image: kindest/node:v1.32.0
- name: Deploy greptimedb-cluster
if: ${{ github.event_name == 'schedule' || github.event.inputs.chart == 'greptimedb-cluster' }}
shell: bash
run: |
make e2e-greptimedb-cluster
continue-on-error: true
- name: Deploy greptimedb-standalone
if: ${{ github.event_name == 'schedule' || github.event.inputs.chart == 'greptimedb-standalone' }}
shell: bash
run: |
make e2e-greptimedb-standalone
continue-on-error: true
- name: Notify Slack
if: ${{ failure() }}
uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
payload: |
{"text": "helm-charts e2e failed. Please check: https://github.com/GreptimeTeam/helm-charts/actions/workflows/e2e.yaml"}