-
Notifications
You must be signed in to change notification settings - Fork 39
feat: add support for running the tests in ARM #707
Changes from all commits
b618488
17c836f
9eb92ea
e47600e
c009e8d
a880fcd
34bcaf3
f8a0d51
0cd42e0
d42766d
6663c23
33bc88e
c7193a2
8e7bf49
05ea8ce
d51a013
5a8a4ae
235e3bb
8326a23
7a8d36c
30053ab
04555b2
529fc73
ac6d3a0
fbcbdcf
b4d6601
9a20396
65d5010
610d0b8
e83517b
9d3dadb
e6c65c9
2d1dc07
855f949
5528a1b
b3c33c0
b8bdbe5
f2e57c6
99426de
6c2f21b
4906816
a14eebb
1d3770d
4cb4afa
9f4522a
e1d355b
d045f10
7142ab8
496b5ef
6bdf785
bae9a66
33deffa
73fb39f
a755f6f
7883dbb
63ca5f1
11f2d22
f8632dd
6749590
fbe8cd6
9104501
ac300e2
01cc441
2d9e29f
b31a67b
4e46490
43e9e6d
84b93b4
339a052
b4cd209
e9e39ff
52161a6
5be1485
6ed5d55
080da73
ce81c7c
72130dd
9f347d5
9ef81ca
0128c1b
bb7eea0
752594d
bd198ee
95532aa
0ece4da
aa09c0e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,13 +22,14 @@ SUITE=${1:-''} | |
| TAGS=${2:-''} | ||
| STACK_VERSION=${3:-"${BASE_VERSION}"} | ||
| BEAT_VERSION=${4:-"${BASE_VERSION}"} | ||
| GOARCH=${GOARCH:-"amd64"} | ||
|
|
||
| ## Install the required dependencies for the given SUITE | ||
| .ci/scripts/install-test-dependencies.sh "${SUITE}" | ||
|
|
||
| rm -rf outputs || true | ||
| mkdir -p outputs | ||
|
|
||
| REPORT="$(pwd)/outputs/TEST-${SUITE}" | ||
| REPORT="$(pwd)/outputs/TEST-${GOARCH}-${SUITE}" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mmm, this is set by the pipeline, within a
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://github.com/elastic/e2e-testing/pull/707/files#diff-e2a25c72a2cfde08a03b6735e6672600d998351ea4265e6b6146386aeb709e3bR17 uses that approach, that's the reason for my previous comment
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, will proceed as in that commit. Thanks!! |
||
|
|
||
| TAGS="${TAGS}" FORMAT=junit:${REPORT}.xml STACK_VERSION=${STACK_VERSION} BEAT_VERSION=${BEAT_VERSION} make --no-print-directory -C e2e/_suites/${SUITE} functional-test | ||
| TAGS="${TAGS}" FORMAT=junit:${REPORT}.xml GOARCH=${GOARCH} STACK_VERSION=${STACK_VERSION} BEAT_VERSION=${BEAT_VERSION} make --no-print-directory -C e2e/_suites/${SUITE} functional-test | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ monitoring.ui.container.elasticsearch.enabled: true | |
| xpack.encryptedSavedObjects.encryptionKey: "12345678901234567890123456789012" | ||
|
|
||
| xpack.fleet.enabled: true | ||
| xpack.fleet.registryUrl: http://package-registry:8080 | ||
| xpack.fleet.registryUrl: https://epr-staging.elastic.co | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We are moving from a local package registry to the real staging one |
||
| xpack.fleet.agents.enabled: true | ||
| xpack.fleet.agents.elasticsearch.host: http://elasticsearch:9200 | ||
| xpack.fleet.agents.fleet_server.hosts: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,30 +17,23 @@ services: | |
| - ELASTIC_USERNAME=elastic | ||
| - ELASTIC_PASSWORD=changeme | ||
| image: "docker.elastic.co/elasticsearch/elasticsearch:${stackVersion:-8.0.0-SNAPSHOT}" | ||
| platform: ${stackPlatform:-linux/amd64} | ||
| ports: | ||
| - "9200:9200" | ||
| kibana: | ||
| depends_on: | ||
| elasticsearch: | ||
| condition: service_healthy | ||
| package-registry: | ||
| condition: service_healthy | ||
| healthcheck: | ||
| test: "curl -f http://localhost:5601/login | grep kbn-injected-metadata 2>&1 >/dev/null" | ||
| retries: 600 | ||
| interval: 1s | ||
| image: "docker.elastic.co/${kibanaDockerNamespace:-kibana}/kibana:${kibanaVersion:-8.0.0-SNAPSHOT}" | ||
| platform: ${stackPlatform:-linux/amd64} | ||
| ports: | ||
| - "5601:5601" | ||
| volumes: | ||
| - ./configurations/kibana.config.yml:/usr/share/kibana/config/kibana.yml | ||
| package-registry: | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we get to an agreement to test PR versions of the package registry, then we can re-add this block again. |
||
| image: docker.elastic.co/package-registry/distribution:staging | ||
| healthcheck: | ||
| test: ["CMD", "curl", "-f", "http://localhost:8080"] | ||
| retries: 300 | ||
| interval: 1s | ||
|
|
||
| fleet-server: | ||
| image: "docker.elastic.co/beats/elastic-agent:${stackVersion:-8.0.0-SNAPSHOT}" | ||
| depends_on: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,10 @@ | ||
| version: '2.4' | ||
| services: | ||
| fleet-server-centos: | ||
| image: centos/systemd:${fleet_server_centosTag:-latest} | ||
| image: docker.elastic.co/observability-ci/centos-systemd:latest | ||
| container_name: ${fleet_server_centosContainerName} | ||
| entrypoint: "/usr/sbin/init" | ||
| platform: ${stackPlatform:-linux/amd64} | ||
| privileged: true | ||
| volumes: | ||
| - /sys/fs/cgroup:/sys/fs/cgroup:ro |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,10 @@ | ||
| version: '2.4' | ||
| services: | ||
| fleet-server-debian: | ||
| image: alehaa/debian-systemd:${fleet_server_debianTag:-stretch} | ||
| image: docker.elastic.co/observability-ci/debian-systemd:latest | ||
| container_name: ${fleet_server_debianContainerName} | ||
| entrypoint: "/sbin/init" | ||
| platform: ${stackPlatform:-linux/amd64} | ||
| privileged: true | ||
| volumes: | ||
| - /sys/fs/cgroup:/sys/fs/cgroup:ro |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's possible to override platforms at the scenario level, which will override suite's ones