Files
tools/stx/stx-build-tools-chart/stx-builder/configmap/localrc.sample
Davlet Panech 1aab873f29 debian: define extra env vars for docker apps
Define additional environment variables required by docker image build
scripts:

- DEBIAN_SECURITY_SNAPSHOT: stable snapshot URL for the security repo
- DEBIAN_DISTRIBUTION: repo distribution ID (bullseye)

TESTS
===================

- Restart pods using stx-init-env, make sure the new env vars are
  defined in builder pod

Story: 2009897
Task: 45180

Change-Id: Ifbbb3f82983d3bb1cd8747f1cf117e2f9214e871
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
2022-04-26 10:52:05 -04:00

65 lines
1.3 KiB
Plaintext

# Release Variable
export MY_RELEASE=@MY_RELEASE@
# avoid calling your project 'build' it will break some SDEBs
export PROJECT=@PROJECT@
# uid
export MYUID=@MYUID@
# These are used in the Dockerfile, not sure where else
export MYUNAME=@MYUNAME@
export DIST=@DIST@
export STX_DIST=@STX_DIST@
export REPOMGR_TYPE=@REPOMGR_TYPE@
export GITUSER="@GITUSER@"
export GITEMAIL=@GITEMAIL@
export DEBFULLNAME="@DEBFULLNAME@"
export DEBEMAIL=@DEBEMAIL@
export PROXY=@PROXY@
export PROXYSERVER=@PROXYSERVER@
export PROXYPORT=@PROXYPORT@
export BUILD_BRANCH=@BUILDBRANCH@
export MANIFEST=@MANIFEST@
export HOSTUSERNAME=@HOSTUSERNAME@
export CENGNURL=@CENGNURL@
# CENGN_STRATEGY value: [ cengn|cengn_first|upstream|upstream_first ]
export CENGN_STRATEGY=@CENGNSTRATEGY@
if [[ x"@fetch@" == x"true" ]];then
export SOURCESLIST=/usr/local/bin/stx/@SOURCESLIST@
export DEBLIST=/usr/local/bin/stx/@DEBLIST@
export DSCLIST=/usr/local/bin/stx/@DSCLIST@
fi
export REPOMGR_URL=http://@PROJECT@-stx-repomgr:8080
export REPOMGR_DEPLOY_URL=http://@PROJECT@-stx-repomgr:80/
export BUILDER_URL=http://@PROJECT@-stx-pkgbuilder:8080/pkgbuilder/
export OSTREE_OSNAME=@OSTREE_OSNAME@
export DEBIAN_SNAPSHOT="@DEBIAN_SNAPSHOT@"
export DEBIAN_SECURITY_SNAPSHOT="@DEBIAN_SECURITY_SNAPSHOT@"
export DEBIAN_DISTRIBUTION="@DEBIAN_DISTRIBUTION@"
export MAX_CPUS=@MAX_CPUS@