osmith has uploaded this change for review.
jobs/ttcn3-testsuites-testenv: _cache -> cache
Now that the directory structure of osmo-ttcn3-hacks gets cloned to
$WORKSPACE/src/osmo-ttcn3-hacks instead of $WORKSPACE, we don't need to
add an underscore to the cache dir anymore to visually separate it from
the other directories. The workspace now looks like this:
cache/
logs/
src/
Change-Id: I1bb85a8ad299b4bb1ecd1b9285b3ebec48220330
---
M jobs/ttcn3-testsuites-testenv.yml
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/92/43492/1
diff --git a/jobs/ttcn3-testsuites-testenv.yml b/jobs/ttcn3-testsuites-testenv.yml
index e9a5756..35af150 100644
--- a/jobs/ttcn3-testsuites-testenv.yml
+++ b/jobs/ttcn3-testsuites-testenv.yml
@@ -665,7 +665,7 @@
# Examples:
# * …/podman/var-cache-apt-debian-trixie/archives/partial
# * …/podman/var-lib-apt-debian-trixie/lists/partial
- for i in _cache/podman/var-*-apt-*/*/partial; do
+ for i in cache/podman/var-*-apt-*/*/partial; do
if [ -e "$i" ]; then
podman run \
--rm \
@@ -676,7 +676,7 @@
fi
done
- rm -rf logs _cache src/osmo-ttcn3-hacks/.linux
+ rm -rf logs cache src/osmo-ttcn3-hacks/.linux
if [ "$KERNEL" != "none" ]; then
mv linux src/osmo-ttcn3-hacks/.linux
@@ -699,7 +699,7 @@
if ! src/osmo-ttcn3-hacks/testenv.py run \
{testsuite} \
--podman \
- --cache "$PWD"/_cache \
+ --cache "$PWD"/cache \
--ccache ~/ccache/testenv \
--log-dir "$PWD"/logs \
$TESTENV_ARGS; then
@@ -709,7 +709,7 @@
# Free up space from downloaded apt packages, build artifacts etc.
# The osmo-ttcn3-hacks deps dir and ccache are persistent.
if [ "$RC" = 0 ]; then
- rm -rf _cache src
+ rm -rf cache src
fi
uptime | grep --color=always -o "load.*"
To view, visit change 43492. To unsubscribe, or for help writing mail filters, visit settings.