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
5
5
# Since we're into the current repo, move to the top-level
6
6
cd ..
7
7
8
+ echo " --- Install dependencies"
9
+ lsb_release -a
10
+ apt-get update -y
11
+ apt-get install -y unzip
12
+
8
13
echo " --- Clone elasticsearch-js"
9
14
git clone -v -- git@github.com: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 -- git@github.com:elastic/elastic-client-generator-js.git
18
+ mkdir elastic-client-generator-js/output
13
19
14
20
echo " --- Clone Kibana"
15
21
git clone -v --reference /usr/local/git-references/git-github-com-elastic-kibana-git -- git@github.com:elastic/kibana.git
16
- cd kibana
22
+ pushd kibana
17
23
18
24
echo " --- Install Node.js and Yarn"
19
25
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
@@ -25,13 +31,17 @@ set -e
25
31
nvm install
26
32
nvm use
27
33
npm install --global yarn
34
+ popd
28
35
29
36
echo " --- Install elasticsearch-js"
30
- pushd ../ elasticsearch-js
37
+ pushd elasticsearch-js
31
38
npm install
39
+ node .buildkite/make.mjs --task codegen main
32
40
npm run build
33
41
npm pack
34
42
popd
43
+
44
+ pushd kibana
35
45
yarn add ../elasticsearch-js/elastic-elasticsearch-* .tgz
36
46
37
47
echo " --- Bootstrap Kibana"
Original file line number Diff line number Diff line change 3
3
cpu : " 4"
4
4
ephemeralStorage : 15Gi
5
5
6
-
7
6
steps :
8
7
- label : " Run Kibana type checks"
9
8
command : .buildkite/kibana.sh
You can’t perform that action at this time.
0 commit comments