You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/05/07 17:31:06 UTC

[GitHub] [iotdb] HTHou commented on pull request #5416: [IOTDB-2772] Add testcontainer e2e test for newsync

HTHou commented on PR #5416:
URL: https://github.com/apache/iotdb/pull/5416#issuecomment-1120246541

   name: Sync Tests
   
   on:
     push:
       branches:
         - master
       paths-ignore:
         - 'docs/**'
     pull_request:
       branches:
         - master
         - cluster_new
       paths-ignore:
         - 'docs/**'
     # allow manually run the action:
     workflow_dispatch:
   
   concurrency:
     group: ${{ github.workflow }}-${{ github.ref }}
     cancel-in-progress: true
   
   env:
     MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
   
   jobs:
     E2E:
       runs-on: ubuntu-latest
       strategy:
         fail-fast: true
         matrix:
           case:
             - cli
       steps:
         - uses: actions/checkout@v2
   
         - uses: actions/cache@v2
           with:
             path: ~/.m2
             key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
             restore-keys: ${{ runner.os }}-m2
   
         - name: Cache Maven packages
           uses: actions/cache@v2
           with:
             path: ~/.m2
             key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
             restore-keys: ${{ runner.os }}-m2-
   
         - name: Build IoTDB server distribution zip
           run:  mvn -B clean install -pl distribution -am -DskipTests
   
         - name: Build Docker Image
           run: |
             docker build . -f docker/src/main/Dockerfile-single -t "iotdb:$GITHUB_SHA"
             docker images
   
         - name: TestContainer
           # TODO: add cluster test
           run: |
             mvn -B -T 4 integration-test -pl testcontainer -P test-sync
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org