Skip to content

Implemented COPY_TABLE_TO_HISTORY_MODE #133

Implemented COPY_TABLE_TO_HISTORY_MODE

Implemented COPY_TABLE_TO_HISTORY_MODE #133

Workflow file for this run

name: Test
on:
pull_request:
types: [ opened, synchronize, reopened ]
schedule:
- cron: "0 0 * * 0"
permissions:
contents: read
jobs:
fetch-s2-versions:
runs-on: ubuntu-latest
outputs:
versions: ${{ steps.get_versions.outputs.versions }}
steps:
- name: Get supported versions of Singlestore
id: get_versions
uses: singlestore-labs/singlestore-supported-versions@main
build:
needs: fetch-s2-versions
runs-on: ubuntu-latest
strategy:
matrix:
singlestore_version: ${{ fromJson(needs.fetch-s2-versions.outputs.versions) }}
services:
singlestore:
image: ghcr.io/singlestore-labs/singlestoredb-dev:latest
ports:
- "3306:3306"
env:
# if you want a free SingleStore license for your own use please visit https://www.singlestore.com/cloud-trial/
SINGLESTORE_LICENSE: ${{ secrets.SINGLESTORE_LICENSE }}
ROOT_PASSWORD: ${{ secrets.ROOT_PASSWORD }}
SINGELSTORE_VERSION: ${{ matrix.singlestore_version }}
env:
ROOT_PASSWORD: ${{ secrets.ROOT_PASSWORD }}
steps:
- uses: actions/checkout@v3
- name: Remove unnecessary pre-installed toolchains for free disk spaces
run: |
echo "=== BEFORE ==="
df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/Ruby
sudo rm -rf /opt/hostedtoolcache/Go
docker system prune -af || true
sudo apt-get clean
echo "=== AFTER ==="
df -h
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Copy common.proto file
run: wget -O src/main/proto/common.proto https://raw.githubusercontent.com/fivetran/fivetran_sdk/main/common.proto
- name: Copy destination_sdk.proto file
run: wget -O src/main/proto/destination_sdk.proto https://raw.githubusercontent.com/fivetran/fivetran_sdk/main/destination_sdk.proto
- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: build