diff --git a/.ci/package-testing/Jenkinsfile b/.ci/package-testing/Jenkinsfile deleted file mode 100644 index fec7dc9ea4cdc..0000000000000 --- a/.ci/package-testing/Jenkinsfile +++ /dev/null @@ -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}") - } - } -} diff --git a/test/scripts/jenkins_xpack_package_build.sh b/test/scripts/jenkins_xpack_package_build.sh deleted file mode 100755 index 86e846f720803..0000000000000 --- a/test/scripts/jenkins_xpack_package_build.sh +++ /dev/null @@ -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/" diff --git a/test/scripts/jenkins_xpack_package_deb.sh b/test/scripts/jenkins_xpack_package_deb.sh deleted file mode 100755 index 626036e8db3f5..0000000000000 --- a/test/scripts/jenkins_xpack_package_deb.sh +++ /dev/null @@ -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 diff --git a/test/scripts/jenkins_xpack_package_docker.sh b/test/scripts/jenkins_xpack_package_docker.sh deleted file mode 100755 index c9f94b2c1eb4f..0000000000000 --- a/test/scripts/jenkins_xpack_package_docker.sh +++ /dev/null @@ -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 diff --git a/test/scripts/jenkins_xpack_package_rpm.sh b/test/scripts/jenkins_xpack_package_rpm.sh deleted file mode 100755 index 08095ce48c1e5..0000000000000 --- a/test/scripts/jenkins_xpack_package_rpm.sh +++ /dev/null @@ -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