-
Notifications
You must be signed in to change notification settings - Fork 56
39 lines (31 loc) · 1012 Bytes
/
TLS-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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