[Fleet] Update docker image of registry used in integration tests#101911
[Fleet] Update docker image of registry used in integration tests#101911jfsiii merged 7 commits intoelastic:masterfrom jfsiii:use-staging-registry
Conversation
|
@elasticmachine merge upstream |
Version 0.11.0 was only available on snapshot & staging for a short time. It was removed from both of those in May and was never promoted to production https://github.com/elastic/package-storage/pulls?q=is%3Apr+0.11.0+system+is%3Aclosed elastic/package-storage#914 elastic/package-storage#1247 elastic/package-storage#1248
Chose a recent one from https://container-library.elastic.co/r/package-registry/distribution. I'm not sure if it's the latest
|
@elasticmachine merge upstream |
|
Pinging @elastic/fleet (Team:Fleet) |
|
@ruflin @jen-huang I updated this PR to include a change ae88300 which allows people to override the default image with a specific one using an env variable I can drop it and move to a separate PR if you would like to discuss it, but I added it here to make things faster if it's a 👍🏻 |
jen-huang
left a comment
There was a problem hiding this comment.
Love the env var enhancement. 🚀 on happy CI
| // It should be updated any time there is a new Docker image published for the Snapshot Distribution of the Package Registry. | ||
| export const dockerImage = | ||
| 'docker.elastic.co/package-registry/distribution:b6a53ac9300333a4a45f3f7d350c9aed72061a66'; | ||
| process.env.FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE || |
There was a problem hiding this comment.
could you document this in our README? https://github.com/elastic/kibana/blob/master/x-pack/plugins/fleet/README.md#api-integration-tests
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: cc @jfsiii |
…astic#101911) ## Summary * Use a more recent Docker image for package registry used in integration/API tests. * [New image](https://container-library.elastic.co/r/package-registry/distribution:fc104ac437370d80518e24da6d0b84370edf0c0c) is from Jun-14 [old image](https://container-library.elastic.co/r/package-registry/distribution:b6a53ac9300333a4a45f3f7d350c9aed72061a66) is from Apr-14 * Add support for using a custom Docker registry using `FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE` env var * e.g. `production` tag ``` FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE='docker.elastic.co/package-registry/distribution:production' FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner ``` or a personal one ``` FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE='docker.elastic.co/employees/jfsiii/package-registry-distribution:kb90454' FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner ``` - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…01911) (#102560) ## Summary * Use a more recent Docker image for package registry used in integration/API tests. * [New image](https://container-library.elastic.co/r/package-registry/distribution:fc104ac437370d80518e24da6d0b84370edf0c0c) is from Jun-14 [old image](https://container-library.elastic.co/r/package-registry/distribution:b6a53ac9300333a4a45f3f7d350c9aed72061a66) is from Apr-14 * Add support for using a custom Docker registry using `FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE` env var * e.g. `production` tag ``` FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE='docker.elastic.co/package-registry/distribution:production' FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner ``` or a personal one ``` FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE='docker.elastic.co/employees/jfsiii/package-registry-distribution:kb90454' FLEET_PACKAGE_REGISTRY_PORT=12345 yarn test:ftr:runner ``` - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios Co-authored-by: John Schulz <john.schulz@elastic.co>
|
Being able to use an environment variable to change the version of the registry is great! Thanks. |
…ets-tab * 'master' of github.com:elastic/kibana: (93 commits) [ML] Remove blank job definition as it is unused and out-of-sync with Elasticsearch (elastic#102506) [Lens] Fix wrong error detection on transition to Top values operation (elastic#102384) [ML] Anomaly detection job custom_settings improvements (elastic#102099) [Cases] Route: Get all alerts attach to a case (elastic#101878) Fixes wrong list exception type when creating endpoint event filters list (elastic#102522) remove search bar that's not working yet (elastic#102550) Migrated Ingest Node Pipeline Functional Tests to use test_user (elastic#102409) [Maps] clean up feature editing name space to avoid conflicts with layer settings editing (elastic#102516) [canvas] Refactor Storybook from bespoke to standard configuration (elastic#101962) [Security Solution] adds wrapSequences method (RAC) (elastic#102106) [FTR] Stabilize SSLP functional tests (elastic#102553) [K8] Added `Inter` font files for new theme (elastic#102359) [Workplace Search] Convert Groups pages to new page template (elastic#102449) [DOC] Add experimental disclaimer to rollup jobs (elastic#95624) [Security Solution][Endpoint] Suppress some of the jest console.error noise created by endpoint list middelware (elastic#102535) [Fleet] Improve performance of Fleet setup (elastic#102219) [Alerting] Add event log entry when a rule starts executing (elastic#102001) [Fleet] Update docker image of registry used in integration tests (elastic#101911) [Asset Management] Osquery telemetry updates (elastic#100754) Converts saved object tagging to new management layout (elastic#102284) ... # Conflicts: # x-pack/plugins/fleet/kibana.json
Summary
FLEET_PACKAGE_REGISTRY_DOCKER_IMAGEenv varproductiontag