Skip to content

Commit c6081f5

Browse files
committed
Remove smoke-test packages from base tarball
1 parent 2cfe54e commit c6081f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.vsts.pipelines/jobs/ci-linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,9 @@ jobs:
228228
df -h
229229
$(docker.run) $(docker.tb.map) $(docker.drop.map) $(docker.tb.work) $(imageName) /bin/bash -c '
230230
mkdir -p /drop/tarball/
231+
smokeTestPackages="$(tarballName)/packages/smoke-test-packages"
231232
# Make one .tar.gz for build, another for extras necessary to smoke test:
232-
tar --numeric-owner -zcf "/drop/tarball/$(baseTarballName).tar.gz" "$(baseTarballName)"'
233+
tar --numeric-owner "--exclude=$smokeTestPackages" -zcf "/drop/tarball/$(baseTarballName).tar.gz" "$(baseTarballName)"'
233234
du -h $(rootDirectory) | sort -h | tail -n 50
234235
displayName: Copy base tarball to output
235236
condition: and(succeeded(), eq(variables['sb.baseTarball'], true))

0 commit comments

Comments
 (0)