You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .ci/scripts/tests-free.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11,13 +11,13 @@ rm -rf esapi/test/xpack
11
11
12
12
echo -e "\033[34;1mINFO:\033[0m Generating the API registry\033[0m"
13
13
14
-
cd /go-elasticsearch/internal/cmd/generate||exit
14
+
cd /go-elasticsearch/internal/build||exit
15
15
go get -u golang.org/x/tools/cmd/goimports
16
16
PACKAGE_PATH=/go-elasticsearch/esapi go generate ./...
17
17
18
18
echo -e "\033[34;1mINFO:\033[0m Generating the test files\033[0m"
19
19
20
-
go run main.go apitests --output '/go-elasticsearch/esapi/test' --input '/tmp/elasticsearch/rest-api-spec/src/main/resources/rest-api-spec/test/**/*.y*ml'
20
+
go run main.go apitests --output '/go-elasticsearch/esapi/test' --input "/tmp/rest-api-spec/test/free/**/*.y*ml"
Copy file name to clipboardExpand all lines: .ci/scripts/tests-platinum.sh
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,13 @@ rm -rf rm -rf esapi/test/ml*
11
11
12
12
echo -e "\033[34;1mINFO:\033[0m Generating the API registry\033[0m"
13
13
14
-
cd /go-elasticsearch/internal/cmd/generate||exit
14
+
cd /go-elasticsearch/internal/build||exit
15
15
go get -u golang.org/x/tools/cmd/goimports
16
16
PACKAGE_PATH=/go-elasticsearch/esapi go generate ./...
17
17
18
18
echo -e "\033[34;1mINFO:\033[0m Generating the test files\033[0m"
19
19
20
-
go run main.go apitests --output '/go-elasticsearch/esapi/test/xpack' --input '/tmp/elasticsearch/x-pack/plugin/src/test/resources/rest-api-spec/test/**/*.yml'
21
-
go run main.go apitests --output '/go-elasticsearch/esapi/test/xpack' --input '/tmp/elasticsearch/x-pack/plugin/src/test/resources/rest-api-spec/test/**/**/*.yml'
20
+
go run main.go apitests --output '/go-elasticsearch/esapi/test/xpack' --input '/tmp/rest-api-spec/test/platinum/**/*.yml'
0 commit comments