forked from elastic/ml-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_es_tests_aarch64.yml.sh
More file actions
executable file
·57 lines (56 loc) · 2.63 KB
/
run_es_tests_aarch64.yml.sh
File metadata and controls
executable file
·57 lines (56 loc) · 2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0 and the following additional limitation. Functionality enabled by the
# files subject to the Elastic License 2.0 may only be used in production when
# invoked by an Elasticsearch process with a license key installed that permits
# use of machine learning features. You may not use this file except in
# compliance with the Elastic License 2.0 and the foregoing additional
# limitation.
cat <<EOL
steps:
- label: "Java :java: Multi-Node Tests for aarch64 :hammer:"
key: "java_multinode_tests_aarch64"
command:
- 'sudo rpm --import https://yum.corretto.aws/corretto.key'
- 'sudo curl -L -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo'
- 'sudo dnf install -y java-21-amazon-corretto-devel'
- 'buildkite-agent artifact download "build/*" . --step build_test_linux-aarch64-RelWithDebInfo'
- '.buildkite/scripts/steps/run_es_tests.sh || (cd ../elasticsearch && find x-pack -name logs | xargs tar cvzf logs.tgz && buildkite-agent artifact upload logs.tgz && false)'
depends_on: "build_test_linux-aarch64-RelWithDebInfo"
agents:
provider: aws
instanceType: m6g.2xlarge
imagePrefix: core-almalinux-8-aarch64
diskSizeGb: 100
diskName: '/dev/xvda'
env:
IVY_REPO: "../ivy"
GRADLE_JVM_OPTS: "-Dorg.gradle.jvmargs=-Xmx16g"
ES_TEST_SUITE: "javaRestTest"
notify:
- github_commit_status:
context: "Java Multi-Node Tests for aarch64"
- label: "Java :java: YAML REST Tests for aarch64 :hammer:"
key: "java_yaml_rest_tests_aarch64"
command:
- 'sudo rpm --import https://yum.corretto.aws/corretto.key'
- 'sudo curl -L -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo'
- 'sudo dnf install -y java-21-amazon-corretto-devel'
- 'buildkite-agent artifact download "build/*" . --step build_test_linux-aarch64-RelWithDebInfo'
- '.buildkite/scripts/steps/run_es_tests.sh || (cd ../elasticsearch && find x-pack -name logs | xargs tar cvzf logs.tgz && buildkite-agent artifact upload logs.tgz && false)'
depends_on: "build_test_linux-aarch64-RelWithDebInfo"
agents:
provider: aws
instanceType: m6g.2xlarge
imagePrefix: core-almalinux-8-aarch64
diskSizeGb: 100
diskName: '/dev/xvda'
env:
IVY_REPO: "../ivy"
GRADLE_JVM_OPTS: "-Dorg.gradle.jvmargs=-Xmx16g"
ES_TEST_SUITE: "yamlRestTest"
notify:
- github_commit_status:
context: "Java YAML REST Tests for aarch64"
EOL