Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add v0.6.0 case to CICD #2411

Merged
merged 184 commits into from
Sep 6, 2022
Merged
Show file tree
Hide file tree
Changes from 171 commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
b78e917
modify batch version
wuyou10206 Mar 17, 2022
cda97ef
standalone 01
KaidoWang Mar 22, 2022
0717702
standalone java sdk,python sdk and offline python sdk
KaidoWang Apr 13, 2022
fdf0f05
modify auto deploy
wuyou10206 Apr 18, 2022
a4e4f40
add diff debug case
wuyou10206 May 27, 2022
be6a947
window union cluster
Jun 7, 2022
d38bf09
v0.5.0 long window and disk table
Jun 20, 2022
b748b21
python deployment
Jun 20, 2022
1a4b880
Merge branch 'test/v0.5.0' into test/v0.5.0-wkd
Jun 20, 2022
396bf6f
Changes
wuyou10206 Jun 23, 2022
a43ddb5
Merge remote-tracking branch 'origin/test/v0.5.0-wkd' into test/v0.5.0
wuyou10206 Jun 23, 2022
bfd9dda
high availability disk table insert
Jun 23, 2022
9f390d6
last code
Jun 27, 2022
65ed7a8
last code, longwindowTest
Jun 27, 2022
b6559e5
Merge branch 'test/v0.5.0-wkd' into test/v0.5.0
wuyou10206 Jul 4, 2022
7924f6a
last code, longwindowTest
Jul 4, 2022
bd7077e
Changes
wuyou10206 Jul 4, 2022
e19d7f7
Merge branch 'test/v0.5.0-wkd' into test/v0.5.0
wuyou10206 Jul 4, 2022
619a83e
add openmldb deploy
wuyou10206 Jul 5, 2022
3b20e18
modify name from fedb to openMLDB
wuyou10206 Jul 5, 2022
1170cda
Deploy compatible mac
wuyou10206 Jul 5, 2022
bc6fd0e
Optimize the structure
wuyou10206 Jul 5, 2022
3a52ec0
Optimize the structure
wuyou10206 Jul 5, 2022
19f22c9
Optimize the structure
wuyou10206 Jul 6, 2022
455d0d9
add ns operator
wuyou10206 Jul 7, 2022
358a0f7
add ns operator
wuyou10206 Jul 7, 2022
e4b799f
add ns operator
wuyou10206 Jul 7, 2022
986a0eb
add ns operator
wuyou10206 Jul 7, 2022
36ad5aa
add ns operator
wuyou10206 Jul 9, 2022
1243eaf
add ns operator
wuyou10206 Jul 9, 2022
f4f5e90
add ns operator
wuyou10206 Jul 9, 2022
930acf7
add ns operator
wuyou10206 Jul 10, 2022
3cd756e
add ns operator
wuyou10206 Jul 10, 2022
10daf93
add ns operator
wuyou10206 Jul 10, 2022
7bb9ed6
add ns operator
wuyou10206 Jul 10, 2022
09a266d
add ns operator
wuyou10206 Jul 11, 2022
6390314
add ns operator
wuyou10206 Jul 11, 2022
fa7bebc
add ns operator
wuyou10206 Jul 11, 2022
803acbb
add ns operator
wuyou10206 Jul 11, 2022
17a4509
add ns operator
wuyou10206 Jul 11, 2022
be18281
add ns operator
wuyou10206 Jul 12, 2022
c4f9ead
add ns operator
wuyou10206 Jul 12, 2022
807e015
add ns operator
wuyou10206 Jul 12, 2022
baa79fe
add ns operator
wuyou10206 Jul 12, 2022
e240d22
add ns operator
wuyou10206 Jul 12, 2022
fa53ba6
add ns operator
wuyou10206 Jul 12, 2022
588941b
add ns operator
wuyou10206 Jul 12, 2022
da25cc9
add ns operator
wuyou10206 Jul 12, 2022
00e99f9
add ns operator
wuyou10206 Jul 13, 2022
6a739d2
add ns operator
wuyou10206 Jul 13, 2022
c6ebc77
add ns operator
wuyou10206 Jul 13, 2022
c0efd5d
add ns operator
wuyou10206 Jul 13, 2022
b7261ec
add ns operator
wuyou10206 Jul 13, 2022
66b238f
add ns operator
wuyou10206 Jul 13, 2022
9a75908
add ns operator
wuyou10206 Jul 13, 2022
85eb46d
add ns operator
wuyou10206 Jul 13, 2022
40ab5ff
add ns operator
wuyou10206 Jul 13, 2022
1c9ca1f
add ns operator
wuyou10206 Jul 13, 2022
4cfac34
add ns operator
wuyou10206 Jul 14, 2022
39e55b4
add ns operator
wuyou10206 Jul 15, 2022
f5e01b2
add ns operator
wuyou10206 Jul 15, 2022
0d51e4b
add ns operator
wuyou10206 Jul 15, 2022
7b5991d
add ns operator
wuyou10206 Jul 15, 2022
4f91f40
add ns operator
wuyou10206 Jul 15, 2022
737fa75
add ns operator
wuyou10206 Jul 18, 2022
8dce78d
add ns operator
wuyou10206 Jul 18, 2022
09160f7
add ns operator
wuyou10206 Jul 18, 2022
a758cc3
add ns operator
wuyou10206 Jul 19, 2022
88dcd99
add ns operator
wuyou10206 Jul 19, 2022
1a9f5cc
add ns operator
wuyou10206 Jul 19, 2022
8080636
add ns operator
wuyou10206 Jul 19, 2022
f485632
add ns operator
wuyou10206 Jul 19, 2022
ba9d1f4
add ns operator
wuyou10206 Jul 19, 2022
6aaee07
add ns operator
wuyou10206 Jul 19, 2022
22bce46
add ns operator
wuyou10206 Jul 19, 2022
8a90467
Merge branch 'main' into test/v0.5.0
wuyou10206 Jul 19, 2022
c156bab
add ns operator
wuyou10206 Jul 20, 2022
5815700
add ns operator
wuyou10206 Jul 21, 2022
8856c62
add ns operator
wuyou10206 Jul 21, 2022
be09dfe
add ns operator
wuyou10206 Jul 21, 2022
8d98f7d
add ns operator
wuyou10206 Jul 21, 2022
d6931d2
Compatible with disk table
wuyou10206 Jul 23, 2022
a8d38e1
support create index by sdk
wuyou10206 Jul 25, 2022
189e8f2
modify cicd
wuyou10206 Jul 26, 2022
462a4bf
modify cicd
wuyou10206 Jul 26, 2022
cbdea3b
support create index by sdk
wuyou10206 Jul 26, 2022
e8681e8
modify cicd
wuyou10206 Jul 26, 2022
d25024a
Merge branch 'main' into test/v0.5.0
wuyou10206 Jul 26, 2022
4bee139
modify cicd
wuyou10206 Jul 26, 2022
7fde215
modify cicd
wuyou10206 Jul 26, 2022
0e5523d
support create index by sdk
wuyou10206 Jul 26, 2022
8623975
modify cicd
wuyou10206 Jul 26, 2022
9b80330
deploy
wuyou10206 Jul 26, 2022
a98854b
deploy
wuyou10206 Jul 26, 2022
9294699
modify cicd
wuyou10206 Jul 26, 2022
19a498c
modify cicd
wuyou10206 Jul 26, 2022
5537d85
modify cicd
wuyou10206 Jul 26, 2022
ebaccfc
modify cicd
wuyou10206 Jul 27, 2022
792e8ba
modify cicd
wuyou10206 Jul 27, 2022
4cb353a
modify cicd
wuyou10206 Jul 27, 2022
f6da6e9
deploy
wuyou10206 Jul 27, 2022
3835615
modify cicd
wuyou10206 Jul 27, 2022
9cce07c
deploy
wuyou10206 Jul 28, 2022
82ea52f
modify cicd
wuyou10206 Jul 28, 2022
4452c5c
deploy
wuyou10206 Jul 28, 2022
fc8cfef
modify cicd
wuyou10206 Jul 28, 2022
e602880
deploy
wuyou10206 Jul 28, 2022
28d88ae
modify cicd
wuyou10206 Jul 28, 2022
374aa34
deploy
wuyou10206 Jul 28, 2022
0c81a66
modify cicd
wuyou10206 Jul 28, 2022
f45f1bd
support deploy executor
wuyou10206 Jul 28, 2022
8c5ad53
support deploy executor
wuyou10206 Jul 28, 2022
db2d33b
support deploy executor
wuyou10206 Jul 28, 2022
66ce4e0
deploy
wuyou10206 Jul 29, 2022
dea5fb3
deploy
wuyou10206 Jul 29, 2022
f53b62a
modify case
wuyou10206 Aug 1, 2022
26c02b6
deploy
wuyou10206 Aug 2, 2022
6621487
support kafka
wuyou10206 Aug 3, 2022
2c5f071
test kafka
wuyou10206 Aug 3, 2022
ce36bcc
support kafka
wuyou10206 Aug 3, 2022
ec2de71
support kafka
wuyou10206 Aug 4, 2022
7fdf034
support kafka
wuyou10206 Aug 5, 2022
3d853cd
modify case
wuyou10206 Aug 10, 2022
c1d88c8
deploy
wuyou10206 Aug 10, 2022
a69fc6f
add long window case
wuyou10206 Aug 16, 2022
9ca61e7
add upgrade test
wuyou10206 Aug 16, 2022
73389d8
add upgrade test
wuyou10206 Aug 16, 2022
70b2ec6
add upgrade test
wuyou10206 Aug 17, 2022
a4ea194
add upgrade test
wuyou10206 Aug 17, 2022
0120342
Merge branch 'main' into test/v0.6.0
wuyou10206 Aug 17, 2022
a0188c4
add Missing files
wuyou10206 Aug 17, 2022
67e48dd
add log config
wuyou10206 Aug 17, 2022
652dfa7
change version
wuyou10206 Aug 17, 2022
d83b28e
add common config
wuyou10206 Aug 17, 2022
bb1810b
support upgrade test
wuyou10206 Aug 17, 2022
2c8b49d
support upgrade test
wuyou10206 Aug 18, 2022
1a60094
support upgrade test
wuyou10206 Aug 18, 2022
2256fa0
support upgrade test
wuyou10206 Aug 18, 2022
94bc741
support upgrade test
wuyou10206 Aug 18, 2022
22abf64
support upgrade test
wuyou10206 Aug 18, 2022
33f6095
support upgrade test
wuyou10206 Aug 21, 2022
b3d1dfc
support upgrade test
wuyou10206 Aug 21, 2022
2b6c9e0
support upgrade test
wuyou10206 Aug 21, 2022
0afbbfb
support upgrade test
wuyou10206 Aug 22, 2022
e188d35
support upgrade test
wuyou10206 Aug 22, 2022
0e2f5ee
support upgrade test
wuyou10206 Aug 22, 2022
6e81fe2
modify deploy
wuyou10206 Aug 25, 2022
7373a57
modify deploy
wuyou10206 Aug 25, 2022
240ef37
modify deploy
wuyou10206 Aug 25, 2022
994b738
modify deploy
wuyou10206 Aug 25, 2022
088b04c
modify case path
wuyou10206 Aug 27, 2022
63264c4
Merge branch 'main' into test/v0.6.0
wuyou10206 Aug 27, 2022
ec5de3a
update case
wuyou10206 Aug 28, 2022
100f7fe
support upgrade test
wuyou10206 Aug 29, 2022
8010a65
support upgrade test
wuyou10206 Aug 29, 2022
b23365d
support upgrade test
wuyou10206 Aug 29, 2022
294787a
support upgrade test
wuyou10206 Aug 29, 2022
4055c33
support upgrade test
wuyou10206 Aug 30, 2022
81220d4
Merge branch 'main' into test/v0.6.0
wuyou10206 Aug 30, 2022
0fee57c
support upgrade test
wuyou10206 Aug 30, 2022
f8e81f0
support upgrade test
wuyou10206 Aug 30, 2022
5d5c0f6
support upgrade test
wuyou10206 Aug 31, 2022
40adb4a
support upgrade test
wuyou10206 Aug 31, 2022
ae585be
support upgrade test
wuyou10206 Aug 31, 2022
28da96c
support upgrade test
wuyou10206 Aug 31, 2022
846df28
add devops cicd
wuyou10206 Aug 31, 2022
043cb45
update OpenMLDInfo
wuyou10206 Aug 31, 2022
8fe93aa
add devops cicd
wuyou10206 Sep 1, 2022
3f1496e
support upgrade test
wuyou10206 Sep 1, 2022
3a4f57e
support upgrade test
wuyou10206 Sep 1, 2022
db13766
support upgrade test
wuyou10206 Sep 1, 2022
f57e3a3
Merge branch 'main' into test/v0.6.0
wuyou10206 Sep 1, 2022
eef690d
add devops cicd
wuyou10206 Sep 1, 2022
27d33cc
add devops cicd
wuyou10206 Sep 1, 2022
9f24a50
add devops cicd
wuyou10206 Sep 1, 2022
a124e17
delete a test
wuyou10206 Sep 2, 2022
d87bf5c
delete a test
wuyou10206 Sep 2, 2022
389963e
modify deploy
wuyou10206 Sep 5, 2022
06d8a16
Merge branch '4paradigm:main' into main
wuyou10206 Sep 5, 2022
e6c73bf
modify option checker
wuyou10206 Sep 5, 2022
2ec027d
Merge branch 'main' into test/v0.6.0
wuyou10206 Sep 5, 2022
afdb767
modify case
wuyou10206 Sep 5, 2022
87b5a84
modify case
wuyou10206 Sep 5, 2022
4facd29
modify case
wuyou10206 Sep 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
196 changes: 196 additions & 0 deletions .github/workflows/devops-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
name: DEVOPS-TEST

on:
workflow_dispatch:
inputs:
PRE_UPGRADE_VERSION:
description: 'version before upgrade'
required: true
default: ''
EXEC_TEST_TYPE:
description: 'Which tests need to be executed? The options are all, upgrade, node_failure, node_expansion'
required: true
default: 'all'

env:
GIT_SUBMODULE_STRATEGY: recursive
HYBRIDSE_SOURCE: local

jobs:
node-failure-test-cluster:
if: ${{ github.event.inputs.EXEC_TEST_TYPE == 'all' || github.event.inputs.EXEC_TEST_TYPE == 'node_failure' }}
runs-on: ubuntu-latest
container:
image: ghcr.io/4paradigm/hybridsql:latest
env:
OS: linux
steps:
- uses: actions/checkout@v2
- name: build jsdk and package
run: |
make configure CMAKE_INSTALL_PREFIX=openmldb-linux
make SQL_JAVASDK_ENABLE=ON && make SQL_JAVASDK_ENABLE=ON install
tar -zcvf openmldb-linux.tar.gz openmldb-linux
echo "openmldb-pkg:"
ls -al
- name: test
run: source /root/.bashrc && bash test/steps/openmldb-devops-test.sh -c test_cluster.xml -t node_failure
- name: TEST Results
if: always()
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: test/integration-test/openmldb-test-java/openmldb-devops-test/target/surefire-reports/TEST-*.xml
check_name: "node-failure-test-cluster Report"
comment_title: "node-failure-test-cluster Report"

node-failure-test-single:
if: ${{ github.event.inputs.EXEC_TEST_TYPE == 'all' || github.event.inputs.EXEC_TEST_TYPE == 'node_failure' }}
runs-on: ubuntu-latest
container:
image: ghcr.io/4paradigm/hybridsql:latest
env:
OS: linux
steps:
- uses: actions/checkout@v2
- name: build jsdk and package
run: |
make configure CMAKE_INSTALL_PREFIX=openmldb-linux
make SQL_JAVASDK_ENABLE=ON && make SQL_JAVASDK_ENABLE=ON install
tar -zcvf openmldb-linux.tar.gz openmldb-linux
echo "openmldb-pkg:"
ls -al
- name: test
run: source /root/.bashrc && bash test/steps/openmldb-devops-test.sh -c test_single.xml -t node_failure
- name: TEST Results
if: always()
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: test/integration-test/openmldb-test-java/openmldb-devops-test/target/surefire-reports/TEST-*.xml
check_name: "node-failure-test-single Report"
comment_title: "node-failure-test-single Report"

node-expansion-test-cluster:
if: ${{ github.event.inputs.EXEC_TEST_TYPE == 'all' || github.event.inputs.EXEC_TEST_TYPE == 'node_expansion' }}
runs-on: ubuntu-latest
container:
image: ghcr.io/4paradigm/hybridsql:latest
env:
OS: linux
steps:
- uses: actions/checkout@v2
- name: build jsdk and package
run: |
make configure CMAKE_INSTALL_PREFIX=openmldb-linux
make SQL_JAVASDK_ENABLE=ON && make SQL_JAVASDK_ENABLE=ON install
tar -zcvf openmldb-linux.tar.gz openmldb-linux
echo "openmldb-pkg:"
ls -al
- name: test
run: source /root/.bashrc && bash test/steps/openmldb-devops-test.sh -c test_node_expansion.xml -t node_expansion
- name: TEST Results
if: always()
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: test/integration-test/openmldb-test-java/openmldb-devops-test/target/surefire-reports/TEST-*.xml
check_name: "node-expansion-test-cluster Report"
comment_title: "node-expansion-test-cluster Report"

upgrade-test-cluster:
if: ${{ github.event.inputs.EXEC_TEST_TYPE == 'all' || github.event.inputs.EXEC_TEST_TYPE == 'upgrade' }}
runs-on: ubuntu-latest
container:
image: ghcr.io/4paradigm/hybridsql:latest
env:
OS: linux
steps:
- uses: actions/checkout@v2
- name: build jsdk and package
run: |
make configure CMAKE_INSTALL_PREFIX=openmldb-linux
make SQL_JAVASDK_ENABLE=ON && make SQL_JAVASDK_ENABLE=ON install
tar -zcvf openmldb-linux.tar.gz openmldb-linux
echo "openmldb-pkg:"
ls -al
- name: test-memory
run: source /root/.bashrc && bash test/steps/openmldb-devops-test.sh -v ${{ github.event.inputs.PRE_UPGRADE_VERSION }} -c test_upgrade.xml -t upgrade -s "memory"
- name: upgrade results
if: always()
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: test/integration-test/openmldb-test-java/openmldb-devops-test/target/surefire-reports/TEST-*.xml
check_name: "upgrade-test-cluster Report"
comment_title: "upgrade-test-cluster Report"
- name: sdk results
if: always()
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: test/integration-test/openmldb-test-java/openmldb-sdk-test/target/surefire-reports/TEST-*.xml
check_name: "java-sdk-cluster-memory-0 Report"
comment_title: "java-sdk-cluster-memory-0 Report"
upgrade-test-single:
if: ${{ github.event.inputs.EXEC_TEST_TYPE == 'all' || github.event.inputs.EXEC_TEST_TYPE == 'upgrade' }}
runs-on: ubuntu-latest
container:
image: ghcr.io/4paradigm/hybridsql:latest
env:
OS: linux
steps:
- uses: actions/checkout@v2
- name: build jsdk and package
run: |
make configure CMAKE_INSTALL_PREFIX=openmldb-linux
make SQL_JAVASDK_ENABLE=ON && make SQL_JAVASDK_ENABLE=ON install
tar -zcvf openmldb-linux.tar.gz openmldb-linux
echo "openmldb-pkg:"
ls -al
- name: test-memory
run: source /root/.bashrc && bash test/steps/openmldb-devops-test.sh -v ${{ github.event.inputs.PRE_UPGRADE_VERSION }} -c test_upgrade_single.xml -t upgrade -s "memory"
- name: upgrade results
if: always()
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: test/integration-test/openmldb-test-java/openmldb-devops-test/target/surefire-reports/TEST-*.xml
check_name: "upgrade-test-single Report"
comment_title: "upgrade-test-single Report"
- name: sdk results
if: always()
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: test/integration-test/openmldb-test-java/openmldb-sdk-test/target/surefire-reports/TEST-*.xml
check_name: "single-java-sdk-cluster-memory-0 Report"
comment_title: "single-java-sdk-cluster-memory-0 Report"
upgrade-test-cluster-SSD:
if: ${{ github.event.inputs.EXEC_TEST_TYPE == 'all' || github.event.inputs.EXEC_TEST_TYPE == 'upgrade' }}
runs-on: ubuntu-latest
container:
image: ghcr.io/4paradigm/hybridsql:latest
env:
OS: linux
steps:
- uses: actions/checkout@v2
- name: build jsdk and package
run: |
make configure CMAKE_INSTALL_PREFIX=openmldb-linux
make SQL_JAVASDK_ENABLE=ON && make SQL_JAVASDK_ENABLE=ON install
tar -zcvf openmldb-linux.tar.gz openmldb-linux
echo "openmldb-pkg:"
ls -al
- name: test-memory
run: source /root/.bashrc && bash test/steps/openmldb-devops-test.sh -v ${{ github.event.inputs.PRE_UPGRADE_VERSION }} -c test_upgrade.xml -t upgrade -s "ssd"
- name: upgrade results
if: always()
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: test/integration-test/openmldb-test-java/openmldb-devops-test/target/surefire-reports/TEST-*.xml
check_name: "upgrade-test-cluster ssd Report"
comment_title: "upgrade-test-cluster ssd Report"
- name: sdk results
if: always()
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: test/integration-test/openmldb-test-java/openmldb-sdk-test/target/surefire-reports/TEST-*.xml
check_name: "java-sdk-cluster-ssd-0 Report"
comment_title: "java-sdk-cluster-ssd-0 Report"



2 changes: 0 additions & 2 deletions .github/workflows/integration-test-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ jobs:
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: test/integration-test/openmldb-test-java/openmldb-sdk-test/target/surefire-reports/TEST-*.xml
comment_mode: "create new"
check_name: "SRC java-sdk-cluster-memory-0 Report"
comment_title: "SRC java-sdk-cluster-memory-0 Report"
- name: tar test report
Expand Down Expand Up @@ -173,7 +172,6 @@ jobs:
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: test/integration-test/openmldb-test-java/openmldb-sdk-test/target/surefire-reports/TEST-*.xml
comment_mode: "create new"
check_name: "SRC java-sdk-cluster-ssd-0 Report"
comment_title: "SRC java-sdk-cluster-ssd-0 Report"
- name: tar test report
Expand Down
Loading