Commit 14aad27c authored by hengwen's avatar hengwen

Activate tests

parent 899503ed
Pipeline #188327 canceled with stages
in 2 minutes and 40 seconds
......@@ -29,28 +29,41 @@ masterJobWindowsRestful:
only:
- master
#branchJobWindowsRpc:
# stage: windows
# script:
# - cd rpc
# - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings ..\settings.xml
# tags:
# - Windows10
# except:
# - master
#
#branchJobWindowsRestful:
# stage: windows
# script:
# - cd restful
# # TODO: we have to skip tests for now, because most tests require a running instance of zookeeper
# - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings ..\settings.xml -DskipTests
# tags:
# - Windows10
# except:
# - master
branchJobWindowsRpc:
stage: windows
script:
- cd rpc
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings ..\settings.xml
tags:
- Windows10
except:
- master
branchJobWindowsRestful:
stage: windows
script:
- cd restful
# TODO: we have to skip tests for now, because most tests require a running instance of zookeeper
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean install --settings ..\settings.xml -DskipTests
tags:
- Windows10
except:
- master
# run tests
branchJobLinux:
tags:
- docker
stage: linux
script:
- cd docker
- ./build.sh
- ./run_test.sh
except:
- master
# build, test and publish docker images
masterJobLinux:
tags:
- docker
stage: linux
......@@ -64,23 +77,5 @@ branchJobLinux:
- docker tag restful-server:latest $CI_REGISTRY_IMAGE:restful
- docker push $CI_REGISTRY_IMAGE:rpc
- docker push $CI_REGISTRY_IMAGE:restful
except:
only:
- master
# build, test and publish docker images
#masterJobLinux:
# tags:
# - docker
# stage: linux
# before_script:
# - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# script:
# - cd docker
# - ./build.sh
# - ./run_test.sh
# - docker tag rpc-server:latest $CI_REGISTRY_IMAGE:rpc
# - docker tag restful-server:latest $CI_REGISTRY_IMAGE:restful
# - docker push $CI_REGISTRY_IMAGE:rpc
# - docker push $CI_REGISTRY_IMAGE:restful
# only:
# - master
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment