1
0
Fork 0

shortened path names

This commit is contained in:
Christian Kühnel 2019-11-27 10:53:19 +00:00
parent 6c89adda38
commit 736af1d894
3 changed files with 5 additions and 5 deletions

View file

@ -8,8 +8,8 @@ FROM gcr.io/llvm-premerge-checks/agent-windows
# Supply your agent token via the arguement "-token <mytoken" when building the image
ARG token
ENV buildkiteAgentToken="${token}"
ENV BUILDKITE_BUILD_PATH=C:\workspace\buildkite
ENV BUILDKITE_AGENT_NAME=amd64-windows-visualstudio2017
ENV BUILDKITE_BUILD_PATH=C:\ws\bk
ENV BUILDKITE_AGENT_NAME=win-vs17
RUN powershell -NoProfile -InputFormat None -Command `
Set-ExecutionPolicy Bypass -Scope Process -Force ; `

View file

@ -32,8 +32,8 @@ ENV PYTHONIOENCODING=UTF-8
RUN powershell.exe -Command $path = $env:path + ';c:\Program Files (x86)\GnuWin32\bin;C:\Program Files\CMake\bin'; Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\' -Name Path -Value $path
# use this folder to store the worksapce'
VOLUME C:\workspace
WORKDIR C:\workspace
VOLUME C:\ws
WORKDIR C:\ws
# support long file names during git checkout
RUN git config --system core.longpaths true & `

View file

@ -29,7 +29,7 @@ If ($LastExitCode -ne 0) {
# mount a persistent workspace for experiments
New-Item -ItemType Directory -Force -Path $Env:USERPROFILE\workspace
docker run -it -v $Env:USERPROFILE\workspace:C:\workspace $IMAGE_NAME
docker run -it -v $Env:USERPROFILE\workspace:C:\ws $IMAGE_NAME
If ($LastExitCode -ne 0) {
exit
}