@@ -16,8 +16,9 @@ RUN powershell -Command \
16
16
Write-Host 'Checksum verification succeeded!' -ForegroundColor Green; \
17
17
}"
18
18
19
- # Set up cygwin with ansible as a bootstrap, and add to system default path
20
- RUN setup-x86_64.exe --packages ansible --download --local-install --delete-orphans --site https://mirrors.kernel.org/sourceware/cygwin --local-package-dir c:\cygwin_packages --root C:\cygwin64 --wait --quiet-mode && \
19
+ # Set up cygwin with git and ansible as a bootstrap, and add to system default path
20
+ RUN setup-x86_64.exe --packages git,ansible --download --local-install --delete-orphans --site https://mirrors.kernel.org/sourceware/cygwin --local-package-dir c:\cygwin_packages --root C:\cygwin64 --wait --quiet-mode && \
21
+ c:\cygwin_packages --root C:\cygwin64 --wait --quiet-mode && \
21
22
del setup-x86_64.exe && \
22
23
setx PATH "c:\cygwin64\bin;%PATH%" && \
23
24
mkdir c:\temp
@@ -45,11 +46,12 @@ RUN PowerShell .\ConfigureRemotingForAnsible.ps1 -CertValidityDays 9999 & \
45
46
ENV TERM=dumb
46
47
47
48
RUN net user ansible %PW% /ADD & net localgroup "Administrators" ansible /ADD & net localgroup "Remote Management Users" ansible /ADD && \
49
+ C:\cygwin64\bin\git clone https://github.com/sxa/infrastructure -b wind-noant c:/infrastructure && \
48
50
sed -i -e 's/hosts: .*/hosts: localhost/' infrastructure/ansible/playbooks/AdoptOpenJDK_Windows_Playbook/main.yml && \
49
51
echo localhost ansible_connection=winrm > infrastructure/ansible/hosts && \
50
52
cd C:\infrastructure\ansible && \
51
53
C:\cygwin64\bin\python3.7m.exe /usr/bin/ansible-playbook -e git_sha=00000000 -e ansible_user=ansible -e ansible_password=%PW% -i hosts \
52
- --skip-tags=adoptopenjdk,reboot,Windows_Updates,NTP_TIME,MSVS_2013,MSVS_2017,MSVS_2019 playbooks/AdoptOpenJDK_Windows_Playbook/main.yml && \
54
+ --skip-tags=adoptopenjdk,reboot,Windows_Updates,NTP_TIME,MSVS_2013,Rust,IcedTea-Web playbooks/AdoptOpenJDK_Windows_Playbook/main.yml && \
53
55
net user ansible /DELETE
54
56
55
57
ENTRYPOINT ["C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\VsDevCmd.bat", "&&", "powershell.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"]
0 commit comments