Skip to content

Commit

Permalink
Merge branch 'main' into feat/pp-vec-v1
Browse files Browse the repository at this point in the history
  • Loading branch information
shuiyisong authored Aug 9, 2024
2 parents 35aef87 + 665b7e5 commit 41f3c27
Show file tree
Hide file tree
Showing 106 changed files with 2,907 additions and 715 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-windows-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ runs:
uses: actions/upload-artifact@v4
with:
name: sqlness-logs
path: C:\tmp\greptime-*.log
path: C:\Users\RUNNER~1\AppData\Local\Temp\sqlness*
retention-days: 3

- name: Build greptime binary
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/setup-greptimedb-cluster/with-disk.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
meta:
config: |-
configData: |-
[runtime]
global_rt_size = 4
datanode:
config: |-
configData: |-
[runtime]
global_rt_size = 4
compact_rt_size = 2
frontend:
config: |-
configData: |-
[runtime]
global_rt_size = 4
global_rt_size = 4
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
meta:
config: |-
configData: |-
[runtime]
global_rt_size = 4
[datanode]
[datanode.client]
timeout = "60s"
datanode:
config: |-
configData: |-
[runtime]
global_rt_size = 4
compact_rt_size = 2
Expand All @@ -16,7 +16,7 @@ datanode:
cache_path = "/data/greptimedb/s3cache"
cache_capacity = "256MB"
frontend:
config: |-
configData: |-
[runtime]
global_rt_size = 4
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup-greptimedb-cluster/with-minio.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
meta:
config: |-
configData: |-
[runtime]
global_rt_size = 4
[datanode]
[datanode.client]
timeout = "60s"
datanode:
config: |-
configData: |-
[runtime]
global_rt_size = 4
compact_rt_size = 2
frontend:
config: |-
configData: |-
[runtime]
global_rt_size = 4
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup-greptimedb-cluster/with-remote-wal.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
meta:
config: |-
configData: |-
[runtime]
global_rt_size = 4
Expand All @@ -13,7 +13,7 @@ meta:
[datanode.client]
timeout = "60s"
datanode:
config: |-
configData: |-
[runtime]
global_rt_size = 4
compact_rt_size = 2
Expand All @@ -23,7 +23,7 @@ datanode:
broker_endpoints = ["kafka.kafka-cluster.svc.cluster.local:9092"]
linger = "2ms"
frontend:
config: |-
configData: |-
[runtime]
global_rt_size = 4
Expand Down
62 changes: 49 additions & 13 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,18 @@ jobs:
matrix:
target: [ "fuzz_create_table", "fuzz_alter_table", "fuzz_create_database", "fuzz_create_logical_table", "fuzz_alter_logical_table", "fuzz_insert", "fuzz_insert_logical_table" ]
steps:
- name: Remove unused software
run: |
echo "Disk space before:"
df -h
[[ -d /usr/share/dotnet ]] && sudo rm -rf /usr/share/dotnet
[[ -d /usr/local/lib/android ]] && sudo rm -rf /usr/local/lib/android
[[ -d /opt/ghc ]] && sudo rm -rf /opt/ghc
[[ -d /opt/hostedtoolcache/CodeQL ]] && sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
sudo docker builder prune -a
echo "Disk space after:"
df -h
- uses: actions/checkout@v4
- uses: arduino/setup-protoc@v3
with:
Expand Down Expand Up @@ -193,6 +205,18 @@ jobs:
matrix:
target: [ "unstable_fuzz_create_table_standalone" ]
steps:
- name: Remove unused software
run: |
echo "Disk space before:"
df -h
[[ -d /usr/share/dotnet ]] && sudo rm -rf /usr/share/dotnet
[[ -d /usr/local/lib/android ]] && sudo rm -rf /usr/local/lib/android
[[ -d /opt/ghc ]] && sudo rm -rf /opt/ghc
[[ -d /opt/hostedtoolcache/CodeQL ]] && sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
sudo docker builder prune -a
echo "Disk space after:"
df -h
- uses: actions/checkout@v4
- uses: arduino/setup-protoc@v3
with:
Expand Down Expand Up @@ -285,24 +309,24 @@ jobs:
strategy:
matrix:
target: [ "fuzz_create_table", "fuzz_alter_table", "fuzz_create_database", "fuzz_create_logical_table", "fuzz_alter_logical_table", "fuzz_insert", "fuzz_insert_logical_table" ]
mode:
- name: "Disk"
minio: false
kafka: false
values: "with-disk.yaml"
- name: "Minio"
minio: true
kafka: false
values: "with-minio.yaml"
- name: "Minio with Cache"
minio: true
kafka: false
values: "with-minio-and-cache.yaml"
mode:
- name: "Remote WAL"
minio: true
kafka: true
values: "with-remote-wal.yaml"
steps:
- name: Remove unused software
run: |
echo "Disk space before:"
df -h
[[ -d /usr/share/dotnet ]] && sudo rm -rf /usr/share/dotnet
[[ -d /usr/local/lib/android ]] && sudo rm -rf /usr/local/lib/android
[[ -d /opt/ghc ]] && sudo rm -rf /opt/ghc
[[ -d /opt/hostedtoolcache/CodeQL ]] && sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
sudo docker builder prune -a
echo "Disk space after:"
df -h
- uses: actions/checkout@v4
- name: Setup Kind
uses: ./.github/actions/setup-kind
Expand Down Expand Up @@ -427,6 +451,18 @@ jobs:
kafka: true
values: "with-remote-wal.yaml"
steps:
- name: Remove unused software
run: |
echo "Disk space before:"
df -h
[[ -d /usr/share/dotnet ]] && sudo rm -rf /usr/share/dotnet
[[ -d /usr/local/lib/android ]] && sudo rm -rf /usr/local/lib/android
[[ -d /opt/ghc ]] && sudo rm -rf /opt/ghc
[[ -d /opt/hostedtoolcache/CodeQL ]] && sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
sudo docker builder prune -a
echo "Disk space after:"
df -h
- uses: actions/checkout@v4
- name: Setup Kind
uses: ./.github/actions/setup-kind
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: sqlness-logs
path: C:\tmp\greptime-*.log
path: C:\Users\RUNNER~1\AppData\Local\Temp\sqlness*
retention-days: 3

test-on-windows:
Expand Down
Loading

0 comments on commit 41f3c27

Please sign in to comment.