Fix CI: Change tidb and cdc version to v6.5.2 #242
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TLS test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '8' | |
distribution: 'adopt' | |
cache: maven | |
- name: add host and set env | |
run: | | |
echo -e "127.0.0.1 pd \n127.0.0.1 tikv" | sudo tee -a /etc/hosts | |
git submodule update --init --recursive | |
sudo cp -r .ci/config/ /config | |
- name: build docker | |
run: docker-compose -f docker-compose-TiDB-TLS.yaml up -d | |
- name: test flink-connector-1.14 | |
run: export TLS_ENABLE=true && mvn test -am -pl flink/flink-1.14 -D test=TiKVSourceTLSTest -DfailIfNoTests=false | |
- name: test flink-connector-1.13 | |
run: export TLS_ENABLE=true && mvn test -am -pl flink/flink-1.13 -D test=TiKVSourceTLSTest -DfailIfNoTests=false |