-
Notifications
You must be signed in to change notification settings - Fork 20
SERVER-216 #112
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
Draft
cinterloper
wants to merge
97
commits into
master
Choose a base branch
from
SERVER-216
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+925
−0
Draft
SERVER-216 #112
Changes from all commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
9180daf
import build scripts
cinterloper af3504d
ubuntu and debian builds, redhat needs devel packages
cinterloper 2a00167
disable redhat for sign step
cinterloper 2fe0f4b
matrix arm/x86
cinterloper aac3cf6
debian 13 support
cinterloper 2800497
amazon linux 2023
cinterloper c3bfec2
fix amazon linux build
cinterloper 4719b0b
quote version
cinterloper 5dff088
pin shared-workflows to commit
cinterloper c3f5d47
use debugging build of shared workflows
cinterloper 3eeea4f
use main branch
cinterloper ae63909
debug
cinterloper 8f9f0ca
debug
cinterloper 75a43b9
debug shared-workflows
cinterloper 695c6cb
use shared-workflows debug branch
cinterloper d3d601c
merge
cinterloper a961faf
remove version variable setting
cinterloper 15303ad
remove VERSION usage
cinterloper f4990fb
pin to last main commit
cinterloper 00577f0
build redhat deps from source
cinterloper 184474f
macos with jfrog
cinterloper 0bd8520
fix typo
cinterloper 6f0ec38
override cmake version requirement
cinterloper 3d98640
remove version override option from --build
cinterloper 566e739
matrix bundle job
cinterloper 9451377
backport fix for mac build
cinterloper 5d957d0
update redhat build
cinterloper 062b7b2
fix redhat 9 build
cinterloper 321d78e
matrix redhat 9
cinterloper 6d9270c
fix aws el8 el9 builds
cinterloper 701be2f
matrix el8
cinterloper 372176e
use faster mirror
cinterloper 8dbf665
parallel make aws library
cinterloper b1a82c1
trigger mac build on branch
cinterloper b4e3bf2
add mac pkg makefile, change retention days to 7
cinterloper af49c9e
standardize build script to fix git version issue, disable redhat 8 d…
cinterloper 1505d22
cleanup dockerfiles
cinterloper b038918
pin to specific version of readline
cinterloper c9c0b89
Add support for Rhel 10 and remove support for Debian 11.
pvinh-spike 0046f3b
Add test for Rhel 10.
pvinh-spike 8da03f7
Fix rhel10 build issue.
pvinh-spike 8287d96
Fix rhel10 build issue.
pvinh-spike 1c8d232
Fix rhel10 build issue.
pvinh-spike 4c9405b
Fix rhel10 build issue.
pvinh-spike 25c183c
Fix rhel10 build issue.
pvinh-spike e013383
Fix rhel10 build issue.
pvinh-spike 52e42d7
Fix rhel10 build issue.
pvinh-spike d6bcd08
pin versions of fpm and redhat
cinterloper 0028ae8
Fix rhel10 build issue.
pvinh-spike 928b687
Fix rhel10 build issue.
pvinh-spike 3a5a182
Fix rhel10 build issue.
pvinh-spike cf17a5c
Fix rhel10 build issue.
pvinh-spike 3170636
Fix rhel10 build issue.
pvinh-spike da7e41a
Fix rhel10 build issue.
pvinh-spike a5a5e72
Fix rhel10 build issue.
pvinh-spike 625af64
Fix rhel10 build issue.
pvinh-spike bee2c67
Fix rhel10 build issue.
pvinh-spike 764e35f
Fix rhel10 build issue.
pvinh-spike 752e2da
Clean up.
pvinh-spike 164adcc
remove arm, not supported in private repos, meta package arch indepen…
cinterloper 896b634
Revert "remove arm, not supported in private repos, meta package arch…
cinterloper e14fa9e
prefix package name with aerospike-
cinterloper d9bf2f5
Merge remote-tracking branch 'origin/master' into SERVER-216
cinterloper 06acabc
Merge remote-tracking branch 'origin/SERVER-216' into SERVER-312
cinterloper 91d0916
disable redhat 10
cinterloper c8b6228
remove new mac build for now
cinterloper 4ab4ac9
ubi -> redhat | amazon
cinterloper d79e8cf
remove old tests
cinterloper 8fd4ac3
match rpm naming conventions
cinterloper de092ff
correct workflow file for rpm naming conventions
cinterloper ceffda5
correct rpm naming conventions
cinterloper 862b845
amazon -> amzn
cinterloper 05c99e6
correct package name
cinterloper d6d494e
Merge branch 'SERVER-216' into SERVER-312
cinterloper 8f2bad1
correct naming convention
cinterloper 4cd5bd8
add dependency
cinterloper 7e4065d
add libuv dependency
cinterloper 5e301b0
add tests
cinterloper a90e0f9
Delete .github/docker/test/test_package.sh
cinterloper 59852e3
remove source removed file
cinterloper f16541b
refactor to use server-packaging-common
cinterloper 464970f
disable debian13 and el10
cinterloper 0d5f202
update dependency
cinterloper b1328a7
execute tests that pull from jfrog in ci
cinterloper 916dd29
attempt to speed up redhat static dependency builds
cinterloper adb3ea6
update packaging common
cinterloper c3efdcb
Merge remote-tracking branch 'origin/master' into SERVER-216
cinterloper ad860c2
split compile and install functions, improve concurrency
cinterloper 3811187
fix some fpm install lines
cinterloper c98fba1
update packaging common
cinterloper 415aa42
update common
cinterloper 88302ac
update common
cinterloper 1be1992
update common
cinterloper c847370
update for renamed common repo
cinterloper 588c737
Merge remote-tracking branch 'origin/dev/SERVER-216' into dev/SERVER-216
cinterloper 81c9059
remove old module
cinterloper f2d30a6
update git common module, re-enable debian13
cinterloper File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,36 @@ | ||
| alias make='make -j8' | ||
| function build_packages(){ | ||
| if [ "$ENV_DISTRO" = "" ]; then | ||
| echo "ENV_DISTRO is not set" | ||
| return | ||
| fi | ||
| GIT_DIR=$(git rev-parse --show-toplevel) | ||
| PKG_DIR=$GIT_DIR/pkg | ||
| cd "$GIT_DIR" | ||
| git submodule update --init --recursive | ||
| export ARCH=$(uname -m) | ||
|
|
||
| if [ "$ENV_DISTRO" = "amzn2023" ] || [ "$ENV_DISTRO" = "el8" ] || [ "$ENV_DISTRO" = "el9" ]; then | ||
| make EVENT_LIB=libuv AWS_SDK_STATIC_PATH=/usr/local/lib JANSSON_STATIC_PATH=/usr/local/lib/ | ||
| else | ||
| make EVENT_LIB=libuv ZSTD_STATIC_PATH=/usr/lib/$ARCH-linux-gnu AWS_SDK_STATIC_PATH=/usr/local/lib CURL_STATIC_PATH=/usr/local/lib OPENSSL_STATIC_PATH=/usr/lib/$ARCH-linux-gnu AWS_SDK_STATIC_PATH=/usr/local/lib JANSSON_STATIC_PATH=/usr/lib/$ARCH-linux-gnu | ||
| fi | ||
|
|
||
| cd $PKG_DIR | ||
| echo "building package for $BUILD_DISTRO" | ||
|
|
||
| if [[ $ENV_DISTRO == *"ubuntu"* ]]; then | ||
| make deb | ||
| elif [[ $ENV_DISTRO == *"debian"* ]]; then | ||
| make deb | ||
| elif [[ $ENV_DISTRO == *"el"* ]]; then | ||
| make rpm | ||
| elif [[ $ENV_DISTRO == *"amzn"* ]]; then | ||
| make rpm | ||
| else | ||
| make tar | ||
| fi | ||
|
|
||
| mkdir -p /tmp/output/$ENV_DISTRO | ||
| cp -a $PKG_DIR/target/* /tmp/output/$ENV_DISTRO | ||
| } | ||
This file contains hidden or 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,12 @@ | ||
| #!/usr/bin/env bash | ||
| set -xeuo pipefail | ||
| DISTRO="$1" | ||
| env | ||
| cd local | ||
| git fetch --unshallow --tags --no-recurse-submodules | ||
| git submodule update --init | ||
| ls -laht | ||
| git branch -v | ||
| .github/packaging/common/entrypoint.sh -c -d $DISTRO | ||
| .github/packaging/common/entrypoint.sh -e -d $DISTRO | ||
| ls -laht ../dist |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look right. The same libs should be linked the same way (static vs dynamic) across all distros. For example OPENSSL_STATIC_PATH should be used in all cases. The tools package does this on the qe docker images by specifying env vars in https://github.com/citrusleaf/aerospike-tools/blob/21bdadd056a3b681bc2c2e43df4d70f119bd1cc2/.build.yml#L29 . Check the qe docker images to see how they do it but keep in mind that some environment variables are already set by that build.yml. https://github.com/citrusleaf/qe-docker/tree/master/build/aerospike-tools