Skip to content
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
2 changes: 1 addition & 1 deletion .blazar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
# The build environment requires environment variables to be explicitly defined before they may
# be modified by the `write-build-env-var` utilty script to persist changes to an environment variable
# throughout a build
YUM_REPO_UPLOAD_OVERRIDE_CENTOS_8: ""
REPO_NAME: ""
SET_VERSION: ""
HBASE_VERSION: ""
PKG_RELEASE: ""
Expand Down
6 changes: 3 additions & 3 deletions build-scripts/prepare_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ RELEASE="hs"

if [[ "$GIT_BRANCH" = "$MAIN_BRANCH" ]]; then
SET_VERSION="${MINOR_VERSION}-hubspot-SNAPSHOT"
YUM_REPO_UPLOAD_OVERRIDE_CENTOS_8="8_hs-hbase"
REPO_NAME="AnyLinuxVersion_hs-hbase"
elif [[ "$GIT_BRANCH" != "hubspot" ]]; then
SET_VERSION="${MINOR_VERSION}-${GIT_BRANCH}-SNAPSHOT"
RELEASE="${RELEASE}~${GIT_BRANCH//[^[:alnum:]]/_}"
YUM_REPO_UPLOAD_OVERRIDE_CENTOS_8="8_hs-hbase-develop"
REPO_NAME="AnyLinuxVersion_hs-hbase-develop"
else
echo "Invalid git branch $GIT_BRANCH"
exit 1
Expand All @@ -83,7 +83,7 @@ write-build-env-var SET_VERSION "$SET_VERSION"
write-build-env-var HBASE_VERSION "$HBASE_VERSION"
write-build-env-var PKG_RELEASE "$RELEASE"
write-build-env-var FULL_BUILD_VERSION "$FULL_BUILD_VERSION"
write-build-env-var YUM_REPO_UPLOAD_OVERRIDE_CENTOS_8 "$YUM_REPO_UPLOAD_OVERRIDE_CENTOS_8"
write-build-env-var REPO_NAME "$REPO_NAME"
# Adding this value as versioninfo.version ensures we have the same value as would normally
# show up in a non-hubspot hbase build. Otherwise due to set-maven-versions we'd end up
# with 2.6-hubspot-SNAPSHOT which is not very useful as a point of reference.
Expand Down
9 changes: 5 additions & 4 deletions hbase-rpm/.blazar.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
buildpack:
name: Blazar-Buildpack-RPM
name: Buildpack-RPMs

env:
RPM_BUILD_COMMAND: ./build.sh
DISABLE_CENTOS_6_RPMS: "true"
ENABLE_CENTOS_8_RPMS: "true"
# Below variables are generated in prepare_environment.sh.
# The build environment requires environment variables to be explicitly defined before they may
# be modified by the `write-build-env-var` utilty script to persist changes to an environment variable
# throughout a build
YUM_REPO_UPLOAD_OVERRIDE_CENTOS_8: ""
REPO_NAME: ""
SET_VERSION: ""
HBASE_VERSION: ""
PKG_RELEASE: ""
FULL_BUILD_VERSION: ""
MAVEN_BUILD_ARGS: ""

enableBuildTargets:
- centos8_amd64

depends:
- hbase

Expand Down
2 changes: 1 addition & 1 deletion hubspot-client-bundles/.blazar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
# The build environment requires environment variables to be explicitly defined before they may
# be modified by the `write-build-env-var` utilty script to persist changes to an environment variable
# throughout a build
YUM_REPO_UPLOAD_OVERRIDE_CENTOS_8: ""
REPO_NAME: ""
SET_VERSION: ""
HBASE_VERSION: ""
PKG_RELEASE: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
# The build environment requires environment variables to be explicitly defined before they may
# be modified by the `write-build-env-var` utilty script to persist changes to an environment variable
# throughout a build
YUM_REPO_UPLOAD_OVERRIDE_CENTOS_8: ""
REPO_NAME: ""
SET_VERSION: ""
HBASE_VERSION: ""
PKG_RELEASE: ""
Expand Down
2 changes: 1 addition & 1 deletion hubspot-client-bundles/hbase-client-bundle/.blazar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
# The build environment requires environment variables to be explicitly defined before they may
# be modified by the `write-build-env-var` utilty script to persist changes to an environment variable
# throughout a build
YUM_REPO_UPLOAD_OVERRIDE_CENTOS_8: ""
REPO_NAME: ""
SET_VERSION: ""
HBASE_VERSION: ""
PKG_RELEASE: ""
Expand Down
2 changes: 1 addition & 1 deletion hubspot-client-bundles/hbase-mapreduce-bundle/.blazar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
# The build environment requires environment variables to be explicitly defined before they may
# be modified by the `write-build-env-var` utilty script to persist changes to an environment variable
# throughout a build
YUM_REPO_UPLOAD_OVERRIDE_CENTOS_8: ""
REPO_NAME: ""
SET_VERSION: ""
HBASE_VERSION: ""
PKG_RELEASE: ""
Expand Down