This is an automated email from the ASF dual-hosted git repository.

shamrick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new e8bf02b7d1 Speed up CDN in a Box tab completion (#8041)
e8bf02b7d1 is described below

commit e8bf02b7d19b1f6b1bfed858468af495a4aee086
Author: Zach Hoffman <[email protected]>
AuthorDate: Thu Jul 18 20:43:28 2024 -0600

    Speed up CDN in a Box tab completion (#8041)
    
    Speed up CDN in a Box completion
---
 infrastructure/cdn-in-a-box/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure/cdn-in-a-box/Makefile 
b/infrastructure/cdn-in-a-box/Makefile
index 0a4e5ee7eb..2d41340d2d 100644
--- a/infrastructure/cdn-in-a-box/Makefile
+++ b/infrastructure/cdn-in-a-box/Makefile
@@ -55,7 +55,7 @@ BUILD_NUMBER := $(shell bash -c ' \
        output+=".$$(git rev-parse --short=8 HEAD)"; \
        echo "$$output"' || \
        cat $(TC_DIR)/BUILD_NUMBER)
-BUILD_ARCH   := $(shell docker run 
--name=ciab-get-$(BASE_IMAGE)-$(RHEL_VERSION)-arch --rm 
$(BASE_IMAGE):$(RHEL_VERSION) rpm --eval %_arch )
+BUILD_ARCH   := $(shell docker create 
--name=ciab-get-$(BASE_IMAGE)-$(RHEL_VERSION)-arch --rm 
$(BASE_IMAGE):$(RHEL_VERSION) rpm --eval %_arch >/dev/null 2>&1 || true && 
docker start --attach ciab-get-$(BASE_IMAGE)-$(RHEL_VERSION)-arch )
 TC_VERSION := $(shell cat "$(TC_DIR)/VERSION")
 TOMCAT_VERSION := $(shell grep '^\s*TOMCAT_VERSION=' "$(TC_DIR)/.env"  | cut 
-d= -f2)
 ATS_VERSION := $(shell $(CIAB_DIR_RELATIVE)bin/ats-version.sh)

Reply via email to