Browse Source

netdata/packaging: [ci skip] replace all necessary items with amd64

Pavlos Emm. Katsoulakis 5 years ago
parent
commit
9aaac360b7

+ 3 - 3
.travis/README.md

@@ -138,6 +138,6 @@ We plan to support amd64, x86 and arm64 architectures. As of June 2019 only amd6
 
 The Package deployment can be triggered manually by executing an empty commit with the following message pattern: `[Package PACKAGE_TYPE PACKAGE_ARCH] DESCRIBE_THE_REASONING_HERE`.
 Travis Yaml configuration allows the user to combine package type and architecture as necessary to regenerate the current stable release (For example tag v1.15.0 as of 4th of May 2019)
-Sample patterns to trigger building of packages for all AMD64 supported architecture:
-- '[Package AMD64 RPM]': Build & publish all amd64 available RPM packages
-- '[Package AMD64 DEB]': Build & publish all amd64 available DEB packages
+Sample patterns to trigger building of packages for all amd64 supported architecture:
+- '[Package amd64 RPM]': Build & publish all amd64 available RPM packages
+- '[Package amd64 DEB]': Build & publish all amd64 available DEB packages

+ 1 - 1
.travis/package_management/create_lxc_for_build.sh

@@ -83,7 +83,7 @@ case "${BUILD_ARCH}" in
 	.travis/package_management/configure_${PACKAGE_TYPE}_lxc_environment.py "${CONTAINER_NAME}"
 	;;
 "i386"|"amd64"|"arm64")
-	# AMD64 or i386
+	# amd64 or i386
 	echo "Creating LXC Container for ${BUILD_ARCH}.."
 	export CONTAINER_NAME="${BUILDER_NAME}-${BUILD_DISTRO}${BUILD_RELEASE}-${BUILD_ARCH}"
 	export LXC_CONTAINER_ROOT="/var/lib/lxc/${CONTAINER_NAME}/rootfs"

+ 2 - 2
.travis/package_management/functions.sh

@@ -10,7 +10,7 @@ set -e
 
 function detect_arch_from_commit {
 	case "${TRAVIS_COMMIT_MESSAGE}" in
-		"[Package AMD64"*)
+		"[Package amd64"*)
 			export BUILD_ARCH="amd64"
 			;;
 		"[Package i386"*)
@@ -24,7 +24,7 @@ function detect_arch_from_commit {
 			;;
 
 		*)
-			echo "Unknown build architecture '${BUILD_ARCH}' provided"
+			echo "Unknown build architecture in '${TRAVIS_COMMIT_MESSAGE}'. No BUILD_ARCH can be provided"
 			exit 1
 			;;
 	esac