From 38f081cb17a018d578a718c476584278a4df4408 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Thu, 5 Dec 2024 13:04:23 -0800 Subject: [PATCH] Switch back image, debug disk size (#179) --- azure-pipelines-gitTests-template.yml | 10 ++++++++++ azure-pipelines-gitTests-tsserver-js.yml | 2 +- azure-pipelines-gitTests-tsserver-ts.yml | 2 +- azure-pipelines-gitTests.yml | 2 +- azure-pipelines-userTests.yml | 12 +++++++++++- 5 files changed, 24 insertions(+), 4 deletions(-) diff --git a/azure-pipelines-gitTests-template.yml b/azure-pipelines-gitTests-template.yml index 6bf7bad..5809bc9 100644 --- a/azure-pipelines-gitTests-template.yml +++ b/azure-pipelines-gitTests-template.yml @@ -82,11 +82,21 @@ jobs: inputs: version: '20.x' displayName: 'Install Node.js' + - script: | + du -h + du -h -i + displayName: Debugging + continueOnError: true - script: | npm ci npm run build npm install -g yarn npm install -g pnpm + export COREPACK_ENABLE_AUTO_PIN=0 + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 + export COREPACK_ENABLE_STRICT=0 + corepack enable + corepack enable npm mkdir 'RepoResults$(System.JobPositionInPhase)' node dist/checkGithubRepos ${{ parameters.ENTRYPOINT }} ${{ parameters.OLD_VERSION }} ${{ parameters.NEW_VERSION }} '$(Pipeline.Workspace)/RepoList/repos.json' $(System.TotalJobsInPhase) $(System.JobPositionInPhase) 'RepoResults$(System.JobPositionInPhase)' ${{ parameters.DIAGNOSTIC_OUTPUT }} ${{ parameters.PRNG_SEED }} displayName: 'Run TypeScript on repos' diff --git a/azure-pipelines-gitTests-tsserver-js.yml b/azure-pipelines-gitTests-tsserver-js.yml index 80daac8..cbc8c89 100644 --- a/azure-pipelines-gitTests-tsserver-js.yml +++ b/azure-pipelines-gitTests-tsserver-js.yml @@ -12,7 +12,7 @@ trigger: none pool: name: TypeScript-1ES-Large demands: - - ImageOverride -equals mariner-2.0 + - ImageOverride -equals ubuntu-22.04 extends: template: azure-pipelines-gitTests-template.yml diff --git a/azure-pipelines-gitTests-tsserver-ts.yml b/azure-pipelines-gitTests-tsserver-ts.yml index c1a751c..475e63b 100644 --- a/azure-pipelines-gitTests-tsserver-ts.yml +++ b/azure-pipelines-gitTests-tsserver-ts.yml @@ -12,7 +12,7 @@ trigger: none pool: name: TypeScript-1ES-Large demands: - - ImageOverride -equals mariner-2.0 + - ImageOverride -equals ubuntu-22.04 extends: template: azure-pipelines-gitTests-template.yml diff --git a/azure-pipelines-gitTests.yml b/azure-pipelines-gitTests.yml index 4751d87..2b8e02f 100644 --- a/azure-pipelines-gitTests.yml +++ b/azure-pipelines-gitTests.yml @@ -66,7 +66,7 @@ trigger: none pool: name: TypeScript-1ES-Large demands: - - ImageOverride -equals mariner-2.0 + - ImageOverride -equals ubuntu-22.04 variables: Codeql.Enabled: false diff --git a/azure-pipelines-userTests.yml b/azure-pipelines-userTests.yml index bcbddf5..fb794f7 100644 --- a/azure-pipelines-userTests.yml +++ b/azure-pipelines-userTests.yml @@ -63,7 +63,7 @@ trigger: none pool: name: TypeScript-1ES-Large demands: - - ImageOverride -equals mariner-2.0 + - ImageOverride -equals ubuntu-22.04 variables: Codeql.Enabled: false @@ -116,11 +116,21 @@ jobs: inputs: version: '20.x' displayName: 'Install Node.js' + - script: | + du -h + du -h -i + displayName: Debugging + continueOnError: true - script: | npm ci npm run build npm install -g yarn npm install -g pnpm + export COREPACK_ENABLE_AUTO_PIN=0 + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0 + export COREPACK_ENABLE_STRICT=0 + corepack enable + corepack enable npm mkdir 'RepoResults$(System.JobPositionInPhase)' node dist/checkUserTestRepos ${{ parameters.ENTRYPOINT }} ${{ parameters.OLD_TS_REPO_URL }} ${{ parameters.OLD_HEAD_REF }} ${{ parameters.SOURCE_ISSUE }} ${{ parameters.TOP_REPOS }} '$(Pipeline.Workspace)/RepoList/repos.json' $(System.TotalJobsInPhase) $(System.JobPositionInPhase) 'RepoResults$(System.JobPositionInPhase)' ${{ parameters.DIAGNOSTIC_OUTPUT }} ${{ parameters.PRNG_SEED }} displayName: 'Run user tests'