Skip to content

feat: add wescale wesql cluster workflow #4

feat: add wescale wesql cluster workflow

feat: add wescale wesql cluster workflow #4

name: "Ubuntu Docker Cluster"
on:
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
inputs:
wescale_image_tag:
description: "WeScale Image Tag"
required: true
default: "0.3.0"
wesql_image_tag:
description: "WeSQL Server Image Tag"
required: true
default: "8.0.35-6.alpha10.20240918.g18ad68b.27"
jobs:
setup:
name: "Ubuntu Docker Cluster"
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the code
- name: Checkout code
uses: actions/checkout@v3
- name: Start MySQL Server
run: |
./examples/wesql-server/start_mysql_server.sh
- name: Compile source
timeout-minutes: 30
run: |
make failpoint-enable
make build
make failpoint-disable
- name: Start WeScale
run: |
cd ./examples/wesql-server && ./examples/wesql-server/init_single_node_cluster.sh
- name: Build and Run container
run: |
docker logs mysql-server