Skip to content

Commit 84f8193

Browse files
committed
Run cleanup only on Intel runner
1 parent b4a07c9 commit 84f8193

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.gitlab-ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ build:
3535
- usr/bin/archive remove_nonessentials
3636
- usr/bin/archive create_tar
3737
after_script:
38-
# For persistent runners: cleanup afterwards.
39-
- |
40-
VER_DIR=$(usr/bin/config get VER_DIR)
41-
rm -rf ${VER_DIR:?}
38+
- | # cleanup for persistent Intel runner
39+
if [ "$ARCHITECTURE" = "x86_64" ]; then
40+
source jhb/etc/jhb.conf.sh
41+
rm -rf $VER_DIR
42+
fi
4243
artifacts:
4344
paths:
4445
- jhb-*.tar.xz

0 commit comments

Comments
 (0)