File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed
platform/plugins/shared/fleet/server/integration_tests/helpers Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ import pRetry from 'p-retry';
1818const BEFORE_SETUP_TIMEOUT = 30 * 60 * 1000 ; // 30 minutes;
1919
2020const DOCKER_START_TIMEOUT = 5 * 60 * 1000 ; // 5 minutes
21- const DOCKER_IMAGE = `docker.elastic.co/package-registry/distribution:lite` ;
21+ // This image comes from the latest successful build of https://buildkite.com/elastic/kibana-package-registry-promote
22+ // which is promoted after acceptance tests succeed against docker.elastic.co/package-registry/distribution:lite
23+ const DOCKER_IMAGE =
24+ process . env . FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE ||
25+ 'docker.elastic.co/kibana-ci/package-registry-distribution:lite' ;
2226
2327function firstWithTimeout ( source$ : Rx . Observable < any > , errorMsg : string , ms = 30 * 1000 ) {
2428 return Rx . race (
Original file line number Diff line number Diff line change @@ -15,10 +15,11 @@ import {
1515
1616const getFullPath = ( relativePath : string ) => path . join ( path . dirname ( __filename ) , relativePath ) ;
1717// Docker image to use for Fleet API integration tests.
18- // This hash comes from the latest successful build of the Production Distribution of the Package Registry, for
19- // example: https://internal-ci.elastic.co/blue/organizations/jenkins/package_storage%2Findexing-job/detail/main/1884/pipeline/147.
20- // It should be updated any time there is a new package published.
21- export const dockerImage = 'docker.elastic.co/package-registry/distribution:lite' ;
18+ // This image comes from the latest successful build of https://buildkite.com/elastic/kibana-package-registry-promote
19+ // which is promoted after acceptance tests succeed against docker.elastic.co/package-registry/distribution:lite
20+ export const dockerImage =
21+ process . env . FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE ||
22+ 'docker.elastic.co/kibana-ci/package-registry-distribution:lite' ;
2223
2324export const BUNDLED_PACKAGE_DIR = '/tmp/fleet_bundled_packages' ;
2425
Original file line number Diff line number Diff line change @@ -11,10 +11,11 @@ import { services } from './services';
1111import { pageObjects } from './page_objects' ;
1212
1313// Docker image to use for Fleet API integration tests.
14- // This hash comes from the latest successful build of the Production Distribution of the Package Registry, for
15- // example: https://internal-ci.elastic.co/blue/organizations/jenkins/package_storage%2Findexing-job/detail/main/1884/pipeline/147.
16- // It should be updated any time there is a new package published.
17- export const dockerImage = 'docker.elastic.co/package-registry/distribution:lite' ;
14+ // This image comes from the latest successful build of https://buildkite.com/elastic/kibana-package-registry-promote
15+ // which is promoted after acceptance tests succeed against docker.elastic.co/package-registry/distribution:lite
16+ export const dockerImage =
17+ process . env . FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE ||
18+ 'docker.elastic.co/kibana-ci/package-registry-distribution:lite' ;
1819
1920// the default export of config files must be a config provider
2021// that returns an object with the projects config values
You can’t perform that action at this time.
0 commit comments