Skip to content
Snippets Groups Projects

Update populate-depot.py

Merged Simon McVittie requested to merge wip/smcv/update-populate-depot into master
Files
4
+ 9
38
@@ -321,37 +321,7 @@ relocatable-install:production:
- _build/production/pressure-vessel-bin+src.tar.gz
when: on_success
.prepare_test: &prepare_test
- |
set -eux
PRESSURE_VESSEL=_build/production/pressure-vessel-bin.tar.gz
mkdir -p _build/depot-template/common
if [ -n "${IMAGES_DOWNLOAD_URL}" ] && [ -n "${IMAGES_DOWNLOAD_CREDENTIAL}" ]; then
python3 ./pressure-vessel/populate-depot.py \
--depot=_build/depot \
--source-dir=_build/depot-template \
--include-sdk \
--unpack-runtimes \
--credential-env IMAGES_DOWNLOAD_CREDENTIAL \
--images-uri "${IMAGES_DOWNLOAD_URL}"/steamrt-SUITE/snapshots \
--pressure-vessel "${PRESSURE_VESSEL}" \
scout \
soldier \
${NULL+}
else
python3 ./pressure-vessel/populate-depot.py \
--depot=_build/depot \
--source-dir=_build/depot-template \
--unpack-runtimes \
--pressure-vessel "${PRESSURE_VESSEL}" \
--version latest-steam-client-public-beta \
scout \
${NULL+}
fi
.i386_dependencies: &i386_dependencies
.test_dependencies: &test_dependencies
- |
set -eux
@@ -361,6 +331,7 @@ relocatable-install:production:
apt-get -y --no-install-recommends install \
libc6-i386 \
libgl1-mesa-dri:i386 \
time \
${NULL+}
.test_template:
@@ -384,8 +355,8 @@ test:debian-10:
extends: .test_template
image: debian:buster-slim
script:
- *prepare_test
- *i386_dependencies
- *test_dependencies
- ./tests/pressure-vessel/prepare-test-depots.sh
- |
set -eux
@@ -397,8 +368,8 @@ test:ubuntu-18.04:
extends: .test_template
image: ubuntu:18.04
script:
- *prepare_test
- *i386_dependencies
- *test_dependencies
- ./tests/pressure-vessel/prepare-test-depots.sh
- |
set -eux
@@ -410,8 +381,8 @@ test:ubuntu-20.04:
extends: .test_template
image: ubuntu:20.04
script:
- *prepare_test
- *i386_dependencies
- *test_dependencies
- ./tests/pressure-vessel/prepare-test-depots.sh
- |
set -eux
@@ -448,7 +419,7 @@ test:archlinux:
export PYTHONPATH="$tempdir/python-debian/lib"
script:
- *prepare_test
- ./tests/pressure-vessel/prepare-test-depots.sh
- |
set -eux
Loading