Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete compilation.tar.gz after extracting for windows pipeline #25168

Merged
merged 2 commits into from
Jan 4, 2024

Conversation

kisantia
Copy link
Contributor

@kisantia kisantia commented Jan 3, 2024

The windows builds started consistently failing on the initial run over a week ago with the error "There is not enough space on the disk". This should free up space, similar to fix made a couple months ago for linux builds in #24539.

Adhoc build (with signing enabled like the nightly product build): https://mssqltools.visualstudio.com/CrossPlatBuildScripts/_build/results?buildId=219026&view=logs&j=471dc74f-2452-533b-c058-e43cd1b98abf&t=69447ecb-e768-5cc0-89bc-3e5a8b725059

@coveralls
Copy link

coveralls commented Jan 3, 2024

Pull Request Test Coverage Report for Build 7403532686

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.004%) to 41.608%

Totals Coverage Status
Change from base Build 7393413044: -0.004%
Covered Lines: 30838
Relevant Lines: 69418

💛 - Coveralls

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
@@ -28,6 +28,8 @@ steps:
. build/azure-pipelines/win32/exec.ps1
$ErrorActionPreference = "Stop"
exec { tar -xf $(Pipeline.Workspace)/compilation.tar.gz }
# Delete compiled tarball now that we've extracted the files since it takes up a lot of space
exec { rm $(Pipeline.Workspace)/compilation.tar.gz }
displayName: Extract compilation output
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tried using the ExtractFiles@1 task as VS Code does?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nvm, you'd still need to call DeleteFiles@1

@kisantia kisantia merged commit 089c207 into main Jan 4, 2024
12 checks passed
@kisantia kisantia deleted the kisantia/outOfSpace branch January 4, 2024 00:51
siyao-Siyang pushed a commit that referenced this pull request Jan 11, 2024
* delete compilation.tar.gz after extracting for windows pipeline

* Update build/azure-pipelines/win32/sql-product-build-win32.yml

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants