mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ci] Use daily promoted EPR distribution (#205221)
https://github.com/elastic/kibana/pull/199071 introduced a daily pipeline to run acceptance tests against the latest EPR image and to promote the image if successful. This updates our tests to start using the daily promotion except when running the acceptance tests.
This commit is contained in:
parent
0b8ae3634d
commit
8ed7283104
4 changed files with 17 additions and 10 deletions
|
@ -21,7 +21,8 @@ spec:
|
|||
env:
|
||||
SLACK_NOTIFICATIONS_CHANNEL: "#kibana-operations-alerts"
|
||||
ELASTIC_SLACK_NOTIFICATIONS_ENABLED: "true"
|
||||
REPORT_FAILED_TESTS_TO_GITHUB: 'true'
|
||||
REPORT_FAILED_TESTS_TO_GITHUB: "true"
|
||||
FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE: "docker.elastic.co/package-registry/distribution:lite"
|
||||
repository: elastic/kibana
|
||||
branch_configuration: main
|
||||
default_branch: main
|
||||
|
|
|
@ -18,7 +18,11 @@ import pRetry from 'p-retry';
|
|||
const BEFORE_SETUP_TIMEOUT = 30 * 60 * 1000; // 30 minutes;
|
||||
|
||||
const DOCKER_START_TIMEOUT = 5 * 60 * 1000; // 5 minutes
|
||||
const DOCKER_IMAGE = `docker.elastic.co/package-registry/distribution:lite`;
|
||||
// This image comes from the latest successful build of https://buildkite.com/elastic/kibana-package-registry-promote
|
||||
// which is promoted after acceptance tests succeed against docker.elastic.co/package-registry/distribution:lite
|
||||
const DOCKER_IMAGE =
|
||||
process.env.FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE ||
|
||||
'docker.elastic.co/kibana-ci/package-registry-distribution:lite';
|
||||
|
||||
function firstWithTimeout(source$: Rx.Observable<any>, errorMsg: string, ms = 30 * 1000) {
|
||||
return Rx.race(
|
||||
|
|
|
@ -15,10 +15,11 @@ import {
|
|||
|
||||
const getFullPath = (relativePath: string) => path.join(path.dirname(__filename), relativePath);
|
||||
// Docker image to use for Fleet API integration tests.
|
||||
// This hash comes from the latest successful build of the Production Distribution of the Package Registry, for
|
||||
// example: https://internal-ci.elastic.co/blue/organizations/jenkins/package_storage%2Findexing-job/detail/main/1884/pipeline/147.
|
||||
// It should be updated any time there is a new package published.
|
||||
export const dockerImage = 'docker.elastic.co/package-registry/distribution:lite';
|
||||
// This image comes from the latest successful build of https://buildkite.com/elastic/kibana-package-registry-promote
|
||||
// which is promoted after acceptance tests succeed against docker.elastic.co/package-registry/distribution:lite
|
||||
export const dockerImage =
|
||||
process.env.FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE ||
|
||||
'docker.elastic.co/kibana-ci/package-registry-distribution:lite';
|
||||
|
||||
export const BUNDLED_PACKAGE_DIR = '/tmp/fleet_bundled_packages';
|
||||
|
||||
|
|
|
@ -11,10 +11,11 @@ import { services } from './services';
|
|||
import { pageObjects } from './page_objects';
|
||||
|
||||
// Docker image to use for Fleet API integration tests.
|
||||
// This hash comes from the latest successful build of the Production Distribution of the Package Registry, for
|
||||
// example: https://internal-ci.elastic.co/blue/organizations/jenkins/package_storage%2Findexing-job/detail/main/1884/pipeline/147.
|
||||
// It should be updated any time there is a new package published.
|
||||
export const dockerImage = 'docker.elastic.co/package-registry/distribution:lite';
|
||||
// This image comes from the latest successful build of https://buildkite.com/elastic/kibana-package-registry-promote
|
||||
// which is promoted after acceptance tests succeed against docker.elastic.co/package-registry/distribution:lite
|
||||
export const dockerImage =
|
||||
process.env.FLEET_PACKAGE_REGISTRY_DOCKER_IMAGE ||
|
||||
'docker.elastic.co/kibana-ci/package-registry-distribution:lite';
|
||||
|
||||
// the default export of config files must be a config provider
|
||||
// that returns an object with the projects config values
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue