mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[ci] Remove package testing jenkins source (#127300)
This commit is contained in:
parent
d2c9a62e15
commit
488d9398bc
5 changed files with 0 additions and 119 deletions
29
.ci/package-testing/Jenkinsfile
vendored
29
.ci/package-testing/Jenkinsfile
vendored
|
@ -1,29 +0,0 @@
|
|||
#!/bin/groovy
|
||||
library 'kibana-pipeline-library'
|
||||
kibanaLibrary.load()
|
||||
kibanaPipeline(timeoutMinutes: 120) {
|
||||
slackNotifications.onFailure {
|
||||
ciStats.trackBuild {
|
||||
workers.ci(ramDisk: false, name: "package-build", size: 'l', runErrorReporter: false) {
|
||||
withGcpServiceAccount.fromVaultSecret('secret/kibana-issues/dev/ci-artifacts-key', 'value') {
|
||||
kibanaPipeline.bash("test/scripts/jenkins_xpack_package_build.sh", "Package builds")
|
||||
}
|
||||
}
|
||||
def packageTypes = ['deb', 'docker', 'rpm']
|
||||
def workers = [:]
|
||||
packageTypes.each { type ->
|
||||
workers["package-${type}"] = {
|
||||
testPackage(type)
|
||||
}
|
||||
}
|
||||
parallel(workers)
|
||||
}
|
||||
}
|
||||
}
|
||||
def testPackage(packageType) {
|
||||
workers.ci(ramDisk: false, name: "package-${packageType}", size: 's', runErrorReporter: false) {
|
||||
withGcpServiceAccount.fromVaultSecret('secret/kibana-issues/dev/ci-artifacts-key', 'value') {
|
||||
kibanaPipeline.bash("test/scripts/jenkins_xpack_package_${packageType}.sh", "Execute package testing for ${packageType}")
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
source src/dev/ci_setup/setup_env.sh
|
||||
|
||||
export TMP=/tmp
|
||||
export TMPDIR=/tmp
|
||||
|
||||
node scripts/build --all-platforms --debug
|
||||
|
||||
gsutil -q -m cp 'target/*' "gs://ci-artifacts.kibana.dev/package-testing/$GIT_COMMIT/"
|
|
@ -1,26 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
source src/dev/ci_setup/setup_env.sh
|
||||
|
||||
mkdir -p target
|
||||
gsutil -q -m cp "gs://ci-artifacts.kibana.dev/package-testing/$GIT_COMMIT/kibana-*.deb" ./target
|
||||
|
||||
export VAGRANT_CWD=test/package
|
||||
vagrant up deb --no-provision
|
||||
|
||||
node scripts/es snapshot \
|
||||
-E network.bind_host=127.0.0.1,192.168.50.1 \
|
||||
-E discovery.type=single-node \
|
||||
--license=trial &
|
||||
while ! timeout 1 bash -c "echo > /dev/tcp/localhost/9200"; do sleep 30; done
|
||||
|
||||
vagrant provision deb
|
||||
|
||||
export TEST_BROWSER_HEADLESS=1
|
||||
export TEST_KIBANA_URL=http://elastic:changeme@192.168.50.5:5601
|
||||
export TEST_ES_URL=http://elastic:changeme@192.168.50.1:9200
|
||||
|
||||
cd x-pack
|
||||
node scripts/functional_test_runner.js --include-tag=smoke
|
|
@ -1,26 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
source src/dev/ci_setup/setup_env.sh
|
||||
|
||||
mkdir -p target
|
||||
gsutil -q -m cp "gs://ci-artifacts.kibana.dev/package-testing/$GIT_COMMIT/kibana-[0-9]*-docker-image.tar.gz" ./target
|
||||
|
||||
export VAGRANT_CWD=test/package
|
||||
vagrant up docker --no-provision
|
||||
|
||||
node scripts/es snapshot \
|
||||
-E network.bind_host=127.0.0.1,192.168.50.1 \
|
||||
-E discovery.type=single-node \
|
||||
--license=trial &
|
||||
while ! timeout 1 bash -c "echo > /dev/tcp/localhost/9200"; do sleep 30; done
|
||||
|
||||
vagrant provision docker
|
||||
|
||||
export TEST_BROWSER_HEADLESS=1
|
||||
export TEST_KIBANA_URL=http://elastic:changeme@192.168.50.7:5601
|
||||
export TEST_ES_URL=http://elastic:changeme@192.168.50.1:9200
|
||||
|
||||
cd x-pack
|
||||
node scripts/functional_test_runner.js --include-tag=smoke
|
|
@ -1,26 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
source src/dev/ci_setup/setup_env.sh
|
||||
|
||||
mkdir -p target
|
||||
gsutil -q -m cp "gs://ci-artifacts.kibana.dev/package-testing/$GIT_COMMIT/kibana-*.rpm" ./target
|
||||
|
||||
export VAGRANT_CWD=test/package
|
||||
vagrant up rpm --no-provision
|
||||
|
||||
node scripts/es snapshot \
|
||||
-E network.bind_host=127.0.0.1,192.168.50.1 \
|
||||
-E discovery.type=single-node \
|
||||
--license=trial &
|
||||
while ! timeout 1 bash -c "echo > /dev/tcp/localhost/9200"; do sleep 30; done
|
||||
|
||||
vagrant provision rpm
|
||||
|
||||
export TEST_BROWSER_HEADLESS=1
|
||||
export TEST_KIBANA_URL=http://elastic:changeme@192.168.50.6:5601
|
||||
export TEST_ES_URL=http://elastic:changeme@192.168.50.1:9200
|
||||
|
||||
cd x-pack
|
||||
node scripts/functional_test_runner.js --include-tag=smoke
|
Loading…
Add table
Add a link
Reference in a new issue