Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.3] add jenkins release wrapper #1075

Merged
merged 1 commit into from
Jul 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions _beats/dev-tools/jenkins_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -euox pipefail

source ./_beats/dev-tools/common.bash && jenkins_setup

cleanup() {
rm -rf $TEMP_PYTHON_ENV
}
trap cleanup EXIT

# Run the deploy script with the appropriate version in the environment.
cd ${WORKSPACE}/src/github.com/elastic/apm-server
make SNAPSHOT=yes clean update package

ln -s ${WORKSPACE}/src/github.com/elastic/apm-server/build/upload ${WORKSPACE}/src/github.com/elastic/apm-server/build/distributions
1 change: 1 addition & 0 deletions script/update_beats.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ git clone https://github.com/elastic/beats.git ${GIT_CLONE}
# sync
rsync -crpv --delete \
--exclude=dev-tools/packer/readme.md.j2 \
--exclude=dev-tools/jenkins_release.sh \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great that you remembered this!

--include="dev-tools/***" \
--include="script/***" \
--include="testing/***" \
Expand Down