-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '8.9' into update-version-next-8.9.1
- Loading branch information
Showing
14 changed files
with
892 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,34 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json | ||
name: "fleet server package mbp" | ||
steps: | ||
- label: ":pipeline: test step" | ||
command: echo "test-pipeline" | ||
env: | ||
REPO: 'fleet-server' | ||
JOB_GCS_BUCKET: 'fleet-ci-artifacts' | ||
SETUP_GVM_VERSION: 'v0.3.0' | ||
|
||
- group: "test group" | ||
steps: | ||
- group: "Package and Publish" | ||
key: "package-publish" | ||
steps: | ||
- label: "step1 of the group" | ||
command: echo "step1 of the group" | ||
- label: "Package Ubuntu-20 x86_64" | ||
key: "package-x86-64" | ||
command: ".buildkite/scripts/package.sh {{matrix.type}}" | ||
agents: | ||
provider: "gcp" | ||
image: "family/core-ubuntu-2004" | ||
matrix: | ||
setup: | ||
type: | ||
- "snapshot" | ||
- "staging" | ||
|
||
- label: "step2 of the group" | ||
command: echo "step2 of the group" | ||
- label: "Package Ubuntu-20 aarch64" | ||
key: "package-arm" | ||
command: ".buildkite/scripts/package.sh {{matrix.type}}" | ||
agents: | ||
provider: "aws" | ||
image: "core-ubuntu-2004-aarch64" | ||
matrix: | ||
setup: | ||
type: | ||
- "snapshot" | ||
- "staging" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
source .buildkite/scripts/common.sh | ||
|
||
VERSION=$(awk '/const DefaultVersion/{print $NF}' version/version.go | tr -d '"') | ||
PLATFORM_TYPE=$(uname -m) | ||
MATRIX_TYPE="$1" | ||
INFRA_REPO="https://github.com/repos/elastic/infra/contents" | ||
|
||
if [[ ${BUILDKITE_BRANCH} == "main" && ${MATRIX_TYPE} == "staging" ]]; then | ||
echo "INFO: staging artifacts for the main branch are not required." | ||
exit 0 | ||
fi | ||
|
||
PLATFORMS="" | ||
PACKAGES="" | ||
if [[ ${PLATFORM_TYPE} == "arm" || ${PLATFORM_TYPE} == "aarch64" ]]; then | ||
PLATFORMS="linux/arm64" | ||
PACKAGES="docker" | ||
fi | ||
|
||
add_bin_path | ||
with_go | ||
with_mage | ||
|
||
if [[ ${MATRIX_TYPE} == "staging" ]]; then | ||
make release | ||
else | ||
make SNAPSHOT=true release | ||
fi | ||
|
||
google_cloud_auth | ||
upload_mbp_packages_to_gcp_bucket "build/distributions/" "${MATRIX_TYPE}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ELASTICSEARCH_VERSION=8.9.0-0032a096-SNAPSHOT | ||
ELASTICSEARCH_VERSION=8.9.0-164e5e60-SNAPSHOT | ||
ELASTICSEARCH_USERNAME=elastic | ||
ELASTICSEARCH_PASSWORD=changeme | ||
TEST_ELASTICSEARCH_HOSTS=localhost:9200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.