File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,21 @@ set -euo pipefail
55# Since we're into the current repo, move to the top-level
66cd ..
77
8+ echo " --- Install dependencies"
9+ lsb_release -a
10+ apt-get update -y
11+ apt-get install -y unzip
12+
813echo " --- Clone elasticsearch-js"
914git clone -v --
[email protected] :elastic/elasticsearch-js.git
10- pushd elasticsearch-js
11- git checkout $BUILDKITE_BRANCH
12- popd
15+
16+ echo " --- Clone elastic-client-generator-js"
17+ git clone -v --
[email protected] :elastic/elastic-client-generator-js.git
18+ mkdir elastic-client-generator-js/output
1319
1420echo " --- Clone Kibana"
1521git clone -v --reference /usr/local/git-references/git-github-com-elastic-kibana-git --
[email protected] :elastic/kibana.git
16- cd kibana
22+ pushd kibana
1723
1824echo " --- Install Node.js and Yarn"
1925curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
@@ -25,13 +31,17 @@ set -e
2531nvm install
2632nvm use
2733npm install --global yarn
34+ popd
2835
2936echo " --- Install elasticsearch-js"
30- pushd ../ elasticsearch-js
37+ pushd elasticsearch-js
3138npm install
39+ node .buildkite/make.mjs --task codegen main
3240npm run build
3341npm pack
3442popd
43+
44+ pushd kibana
3545yarn add ../elasticsearch-js/elastic-elasticsearch-* .tgz
3646
3747echo " --- Bootstrap Kibana"
Original file line number Diff line number Diff line change 33 cpu : " 4"
44 ephemeralStorage : 15Gi
55
6-
76steps :
87 - label : " Run Kibana type checks"
98 command : .buildkite/kibana.sh
You can’t perform that action at this time.
0 commit comments