Skip to content

Commit 2cf12b3

Browse files
committed
skip more OpenJ9 roles
1 parent c8a0de2 commit 2cf12b3

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

.github/workflows/build_windows.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ jobs:
3939
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
4040

4141
- name: Build container image
42-
run: docker build \
43-
-t adoptium.azurecr.io/windows2022_build_image:latest \
44-
--build-arg SOURCE_DIR=. \
45-
-f ansible/docker/Dockerfile.win2022 . \
46-
--output 'type=local,dest=C:\infrastructure'
42+
run: docker build -t adoptium.azurecr.io/windows2022_build_image:latest -f ansible/docker/Dockerfile.win2022 .
4743

4844
- name: Push container image to ACR
4945
if: github.ref == 'refs/heads/master'

ansible/docker/Dockerfile.win2022

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM mcr.microsoft.com/windows/servercore:ltsc2022
22

3+
COPY . infrastructure
4+
35
# Specify this with --build-arg PW=SomePassword
46
ARG PW=T3mp=Passwd
57

@@ -49,7 +51,7 @@ RUN net user ansible %PW% /ADD & net localgroup "Administrators" ansible /ADD &
4951
echo localhost ansible_connection=winrm > infrastructure/ansible/hosts && \
5052
cd C:\infrastructure\ansible && \
5153
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 && \
5355
net user ansible /DELETE
5456

5557
ENTRYPOINT ["C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\Common7\\Tools\\VsDevCmd.bat", "&&", "powershell.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"]

ansible/playbooks/AdoptOpenJDK_Windows_Playbook/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,19 @@
7070
- ANT # Testing
7171
- role: MSVS_2013
7272
when: ansible_architecture == "64-bit"
73-
- role: MSVS_2017 # OpenJ9
74-
when: ansible_architecture == "64-bit"
75-
- role: MSVS_2019 # OpenJ9
76-
tags: MSVS_2019
73+
# - role: MSVS_2017 # OpenJ9
74+
# when: ansible_architecture == "64-bit"
75+
# - role: MSVS_2019 # OpenJ9
76+
# tags: MSVS_2019
7777
- role: MSVS_2022
7878
tags: MSVS_2022
7979
- role: MSVS_2022_REDIST
8080
tags: MSVS_2022_REDIST
81-
- NVidia_Cuda_Toolkit # OpenJ9
81+
# - NVidia_Cuda_Toolkit # OpenJ9
8282
- NTP_TIME
83-
- Clang_64bit # OpenJ9
84-
- Clang_32bit # OpenJ9
85-
- nasm # OpenJ9
83+
# - Clang_64bit # OpenJ9
84+
# - Clang_32bit # OpenJ9
85+
# - nasm # OpenJ9
8686
- Rust # IcedTea-Web
8787
- IcedTea-Web # For Jenkins webstart
8888
- WiX # For creating installers

0 commit comments

Comments
 (0)