[Synthetics] Skip package installation on CI (#155854)

This commit is contained in:
Shahzad 2023-04-26 18:02:44 +02:00 committed by GitHub
parent 327b92fd5f
commit 559d928705
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,3 @@
[
"x-pack/plugins/watcher/jest.config.js",
"src/core/server/integration_tests/ui_settings/jest.integration.config.js"
"x-pack/plugins/watcher/jest.config.js"
]

View file

@ -108,6 +108,10 @@ export class SyntheticsService {
}
public async setupIndexTemplates() {
if (process.env.CI && !this.config?.manifestUrl) {
// skip installation on CI
return;
}
if (this.indexTemplateExists) {
// if already installed, don't need to reinstall
return;

View file

@ -30,9 +30,6 @@ export async function getApiIntegrationConfig({ readConfigFile }: FtrConfigProvi
'--xpack.ruleRegistry.write.enabled=true',
'--xpack.ruleRegistry.write.enabled=true',
'--xpack.ruleRegistry.write.cache.enabled=false',
'--xpack.uptime.service.password=test',
'--xpack.uptime.service.username=localKibanaIntegrationTestsUser',
'--xpack.uptime.service.devUrl=mockDevUrl',
'--monitoring_collection.opentelemetry.metrics.prometheus.enabled=true',
],
},