fix: run local package registry with docker provider#1743
fix: run local package registry with docker provider#1743mdelapenya merged 1 commit intoelastic:masterfrom
Conversation
💔 Tests Failed
Expand to view the summary
Build stats
Test stats 🧪
Test errors
Expand to view the tests failures> Show only the first 10 test failures
|
(cherry picked from commit e4bf2c8)
(cherry picked from commit e4bf2c8)
|
I've just noticed that on ARM, the package-registry does not have a Docker image, so the package-registry container that is started on the ARM test suite never starts because it downloads the AMD image, which fails to start on an ARM worker. For that reason, any test suite using the local package registry (see kibana configuration) will fail |
|
I'm going to revert this commit, as it's not fixing the root cause:
|
…#1743) (elastic#1750)" This reverts commit 046f12d.
What does this PR do?
It adds the package-registry to the compose file used by the Docker provider, copying the configurations of the elastic-package profiles to current kibana configs.
Why is it important?
The elastic-package provider is starting the registry locally, but we removed it from our own implementation in #707.
In the ARM flavour of the test suite, where we cannot use elastic-package, we need to add it back, to bypass the issues we found for the staging/snapshot/production package registry and kibana's recent breaking changes, where no packages are retrieved for 8.0.
For that reason, we need the local package registry in the Docker compose.
Checklist
make unit-test), and they are passing locallymake noticein the proper directory)Related issues