File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,25 @@ steps:
2626 command :
2727 - |-
2828 make proto-lint
29+
30+ - label : " thrift compile"
31+ agents :
32+ queue : " buildkite-gcp"
33+ plugins :
34+ - kubernetes :
35+ << : *kubernetes
36+ podSpec :
37+ << : *podSpec
38+ containers :
39+ - << : *commandContainer
40+ command :
41+ - |-
42+ # Install thrift compiler
43+ apt-get update && apt-get install -y thrift-compiler
44+ # Compile all thrift files to check for syntax errors
45+ cd thrift
46+ for file in *.thrift; do
47+ echo "Compiling $file..."
48+ thrift --gen go "$file"
49+ done
50+ echo "All Thrift files compiled successfully!"
Original file line number Diff line number Diff line change @@ -1262,7 +1262,7 @@ struct FailoverEvent {
12621262 // Can be passed with the ID to fetch a specific event.
12631263 20: optional i64 (js.type = " Long" ) createdTime
12641264 30: optional FailoverType failoverType
1265- 40: optional List <ClusterFailover> clusterFailovers
1265+ 40: optional list <ClusterFailover> clusterFailovers
12661266}
12671267
12681268struct ClusterFailover {
You can’t perform that action at this time.
0 commit comments