Skip to content

Commit

Permalink
[ci] Remove plugin build
Browse files Browse the repository at this point in the history
The platform plugin builds were used at a time when functional tests
were, at times, run from source.

This is mostly no longer a requirement. There are two remaining cypress
scripts that I updated to use the build instead.
  • Loading branch information
jbudz committed Oct 21, 2024
1 parent fb33997 commit 90e34ed
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 31 deletions.
7 changes: 0 additions & 7 deletions .buildkite/scripts/build_kibana_plugins.sh

This file was deleted.

3 changes: 0 additions & 3 deletions .buildkite/scripts/download_build_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ if [[ "${KIBANA_BUILD_ID:-}" != "false" ]]; then
cd "$WORKSPACE"

download_artifact kibana-default.tar.gz . --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}"
download_artifact kibana-default-plugins.tar.gz . --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}"

mkdir -p "$KIBANA_BUILD_LOCATION"
tar -xzf kibana-default.tar.gz -C "$KIBANA_BUILD_LOCATION" --strip=1
Expand All @@ -24,7 +23,5 @@ if [[ "${KIBANA_BUILD_ID:-}" != "false" ]]; then
fi

cd "$KIBANA_DIR"

tar -xzf ../kibana-default-plugins.tar.gz
fi
fi
13 changes: 0 additions & 13 deletions .buildkite/scripts/post_build_kibana_plugins.sh

This file was deleted.

2 changes: 0 additions & 2 deletions .buildkite/scripts/steps/build_kibana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ set -euo pipefail

.buildkite/scripts/bootstrap.sh
.buildkite/scripts/build_kibana.sh
.buildkite/scripts/build_kibana_plugins.sh
.buildkite/scripts/post_build_kibana_plugins.sh
.buildkite/scripts/post_build_kibana.sh
4 changes: 1 addition & 3 deletions .buildkite/scripts/steps/functional/defend_workflows_burn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ set -euo pipefail

source .buildkite/scripts/steps/functional/common.sh

.buildkite/scripts/bootstrap.sh
node scripts/build_kibana_platform_plugins.js

export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
export JOB=kibana-defend-workflows-cypress

buildkite-agent meta-data set "${BUILDKITE_JOB_ID}_is_test_execution_step" 'false'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ set -euo pipefail

source .buildkite/scripts/steps/functional/common.sh

.buildkite/scripts/bootstrap.sh
node scripts/build_kibana_platform_plugins.js

export KIBANA_INSTALL_DIR=${KIBANA_BUILD_LOCATION}
export JOB=kibana-defend-workflows-serverless-cypress

buildkite-agent meta-data set "${BUILDKITE_JOB_ID}_is_test_execution_step" 'false'
Expand Down

0 comments on commit 90e34ed

Please sign in to comment.