Skip to content

Commit

Permalink
[fleet] add pipeline for daily package install test (#128683)
Browse files Browse the repository at this point in the history
* [fleet] add pipeline for daily package install test

* use install_all_packages script and make sure it's executable
  • Loading branch information
Spencer authored Mar 29, 2022
1 parent ecd2a50 commit c423cc5
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .buildkite/pipelines/fleet/packages_daily.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
steps:
- command: .buildkite/scripts/lifecycle/pre_build.sh
label: Pre-Build
timeout_in_minutes: 10
agents:
queue: kibana-default

- wait

- command: .buildkite/scripts/steps/build_kibana.sh
label: Build Kibana Distribution and Plugins
agents:
queue: c2-16
key: build
if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''"
timeout_in_minutes: 60

- wait

- command: .buildkite/scripts/steps/fleet/install_all_packages.sh
label: Install All Packages
agents:
queue: n2-2
key: linting
timeout_in_minutes: 90

- wait: ~
continue_on_failure: true

- label: Post-Build
command: .buildkite/scripts/lifecycle/post_build.sh
agents:
queue: kibana-default
11 changes: 11 additions & 0 deletions .buildkite/scripts/steps/fleet/install_all_packages.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

set -euo pipefail

source .buildkite/scripts/common/util.sh

.buildkite/scripts/bootstrap.sh

echo '--- Installing all packages'
cd x-pack/plugins/fleet
node scripts/install_all_packages

0 comments on commit c423cc5

Please sign in to comment.