From 9c07dc82e5a8e5de24c1647ffd6047cef4313ad0 Mon Sep 17 00:00:00 2001 From: Zhixiong Chi Date: Tue, 8 Nov 2022 03:50:46 -0500 Subject: [PATCH] Debian: aptly: Define the StarlingX repomgr aptly version Use the actual version instead of the origin default 'unknown' value. TestPlan: Pass: stx shell -c 'curl ${REPOMGR_URL}/api/version' Pass: Got the corect response '{"Version":"StarlingX_Master_v1.0.0"}' Depends-On: https://review.opendev.org/c/starlingx/root/+/863967 Story: 2008862 Task: 46758 Signed-off-by: Zhixiong Chi Change-Id: I0fe9f963a55c88a66ff56a82cbf4387adeedc828 --- stx/dockerfiles/stx-aptly.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/stx/dockerfiles/stx-aptly.Dockerfile b/stx/dockerfiles/stx-aptly.Dockerfile index f287cb3a9..d4e659194 100644 --- a/stx/dockerfiles/stx-aptly.Dockerfile +++ b/stx/dockerfiles/stx-aptly.Dockerfile @@ -21,6 +21,7 @@ RUN mkdir -p $GOPATH/src/github.com/aptly-dev/aptly && \ git clone https://github.com/masselstine/aptly $GOPATH/src/github.com/aptly-dev/aptly && \ cd $GOPATH/src/github.com/aptly-dev/aptly && \ go mod init && go mod download && go mod vendor && go mod verify && \ + export TRAVIS_TAG="StarlingX_Master_v1.0.0" && \ make install && \ cd $GOPATH && \ curl -O https://nginx.org/keys/nginx_signing.key && apt-key add ./nginx_signing.key