Skip to content

Commit a19e375

Browse files
authored
[8.x][ci] Use daily promoted EPR distribution (#205221) (#205652)
#205221
1 parent 0a97136 commit a19e375

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

x-pack/platform/plugins/shared/fleet/server/integration_tests/helpers/docker_registry_helper.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ import pRetry from 'p-retry';
1818
const BEFORE_SETUP_TIMEOUT = 30 * 60 * 1000; // 30 minutes;
1919

2020
const 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

2327
function firstWithTimeout(source$: Rx.Observable<any>, errorMsg: string, ms = 30 * 1000) {
2428
return Rx.race(

x-pack/test/fleet_api_integration/config.base.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ import {
1515

1616
const 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

2324
export const BUNDLED_PACKAGE_DIR = '/tmp/fleet_bundled_packages';
2425

x-pack/test/functional/config.base.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ import { services } from './services';
1111
import { 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

0 commit comments

Comments
 (0)