Skip to content

Commit

Permalink
test code added (and installation of visualstudio2022buildtools removed)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Otepka committed Jun 18, 2024
1 parent 57ddcec commit 55513a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
19 changes: 0 additions & 19 deletions ci/ssh/win_Dockerfile_template
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,6 @@ RUN $baseurl = 'https://nodejs.org/dist/latest/'; \
\
Write-Host 'Complete.'; \
\
#installing chocolatey & Visual Studio 2022 Build Tools
Write-Host 'Installing chocolatey...'; \
\
Set-ExecutionPolicy Bypass -Scope Process -Force; \
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; \
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')); \
\
Write-Host 'Complete.'; \
\
Write-Host 'Installing Visual Studio 2022 Build Tools (using chocolatey)...'; \
\
choco install visualstudio2022buildtools -y; \
\
Write-Host 'Complete.'; \
\
type C:\ProgramData\chocolatey\logs\chocolatey.log ; \
\
$env:PATH = [Environment]::GetEnvironmentVariable('PATH', [EnvironmentVariableTarget]::Machine); \
\
#add the docker host name and ip to the container hosts file (needed for the github runners since the docker host name resolution doesn't work there)
$hostsfile='C:\Windows\System32\drivers\etc\hosts'; \
$line=\"$env:docker_host_ip $env:docker_host_name\"; \
Expand Down
4 changes: 4 additions & 0 deletions hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ def initialize(self, version, build_data):
here = osp.abspath(osp.dirname(__file__))
lab_path = osp.join(here, 'ipyparallel', 'labextension')

# just for testing
print("os.environ=", os.environ)
return

if os.environ.get("IPP_DISABLE_JS") == "1":
print("Skipping js installation")
return
Expand Down

0 comments on commit 55513a3

Please sign in to comment.