Skip to content
Permalink
Browse files

revert: "ci: use image based cache for windows BuildKite (#27990)" (#…

…28160)

This reverts commit eb1aae4.

PR Close #28160
  • Loading branch information...
filipesilva authored and alxhub committed Jan 15, 2019
1 parent 38343a2 commit 7bdf3fe41cb0c3aca33fbdace6393b4ead9324cf

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -1,17 +1,10 @@
steps:
- label: windows-test
commands:
- "yarn install --frozen-lockfile --non-interactive --network-timeout 100000"
- "yarn bazel test //tools/ts-api-guardian:all --noshow_progress"
plugins:
- docker-compose#v2.6.0:
build: windows-test
config: .buildkite/dockerfiles/docker-compose.yml
agents:
windows: true
- wait
- label: windows-update-image
branches: master
plugins:
- docker-compose#v2.6.0:
push: windows-test:gcr.io/internal-200822/angular-windows:master
config: .buildkite/dockerfiles/docker-compose.yml
- docker#v2.1.0:
image: "filipesilva/node-bazel-windows:0.0.2"
agents:
windows: true
@@ -8,8 +8,6 @@
# We recommend machine type n1-standard-16 (16 vCPUs, 60 GB memory).
# Use a recent windows boot disk with container support such as
# "Windows Server version 1803 Datacenter Core for Containers", and add a 128GB disk.
# Give it push access to the Container Registry by clicking "Set access for each API" and
# setting "Storage" to "Read Write".
# Give it a name, then click "Create".

# VM setup:
@@ -60,15 +58,6 @@ Add-Path "C:\git\bin"
Start-Sleep -s 15
Remove-Item git.exe

# Install Docker Compose 1.23.2
# https://docs.docker.com/compose/install/#install-compose
Invoke-WebRequest "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-Windows-x86_64.exe" -UseBasicParsing -OutFile $Env:ProgramFiles\docker\docker-compose.exe

# Add the gcloud Docker credential helper to the local system account (used by NSSM)
# https://cloud.google.com/container-registry/docs/advanced-authentication
gcloud auth configure-docker --quiet
Copy-Item C:\Users\angular\.docker -Destination C:\Windows\System32\config\systemprofile\ -Recurse

# Download NSSM (https://nssm.cc/) to run the BuildKite agent as a service.
Write-Host "Downloading NSSM."
Invoke-WebRequest -Uri https://nssm.cc/ci/nssm-2.24-101-g897c7ad.zip -OutFile nssm.zip

0 comments on commit 7bdf3fe

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.