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 <zhixiong.chi@windriver.com>
Change-Id: I0fe9f963a55c88a66ff56a82cbf4387adeedc828
This commit is contained in:
Zhixiong Chi 2022-11-08 03:50:46 -05:00
parent 32ef35931c
commit 9c07dc82e5

View File

@ -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