Skip to content

Commit a0c91d8

Browse files
committed
Remove Windows platform CI
Our examples only build WCOW images on Windows. Re-add Windows CI platform when we have LCOW examples. Signed-off-by: Aidan Delaney <[email protected]>
1 parent 242a52d commit a0c91d8

File tree

1 file changed

+0
-79
lines changed

1 file changed

+0
-79
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -51,82 +51,3 @@ jobs:
5151
run: make deploy-linux
5252
- name: Clean up
5353
run: make clean-linux
54-
build-deploy-windows:
55-
strategy:
56-
matrix:
57-
include:
58-
- os: windows-2022
59-
version: 2022
60-
runs-on: ${{ matrix.os }}
61-
steps:
62-
- uses: actions/checkout@v3
63-
- name: Determine download URL for latest pack
64-
id: pack-download-url
65-
uses: actions/github-script@v6
66-
with:
67-
github-token: ${{secrets.GITHUB_TOKEN}}
68-
result-encoding: string
69-
# FIXME: Revert back to 'getLatestRelease' when pack v0.31.0 is released
70-
script: |
71-
return github.rest.repos.getReleaseByTag({
72-
owner: "buildpacks",
73-
repo: "pack",
74-
tag: "v0.31.0-rc1"
75-
}).then(result => {
76-
return result.data.assets
77-
.filter(a => a.name.includes("windows"))
78-
.map(a => a.browser_download_url)[0];
79-
})
80-
- name: Install pack
81-
run: |
82-
curl -s -L -o pack.zip ${{ steps.pack-download-url.outputs.result }}
83-
tar -xvf pack.zip
84-
mkdir ~\.pack
85-
- name: Set Experimental
86-
run: make set-experimental
87-
- name: Build
88-
run: make build-windows-${{ matrix.version }}
89-
- uses: azure/docker-login@v1
90-
if: ${{ github.ref == 'refs/heads/main' }}
91-
with:
92-
username: cnbs
93-
password: ${{ secrets.REGISTRY_PASSWORD }}
94-
- name: Deploy
95-
if: ${{ github.ref == 'refs/heads/main' }}
96-
run: make deploy-windows-${{ matrix.version }}
97-
build-deploy-windows-packages:
98-
runs-on: windows-2022
99-
steps:
100-
- uses: actions/checkout@v3
101-
- name: Determine download URL for latest pack
102-
id: pack-download-url
103-
uses: actions/github-script@v6
104-
with:
105-
github-token: ${{secrets.GITHUB_TOKEN}}
106-
result-encoding: string
107-
script: |
108-
return github.rest.repos.getLatestRelease({
109-
owner: "buildpacks",
110-
repo: "pack"
111-
}).then(result => {
112-
return result.data.assets
113-
.filter(a => a.name.includes("windows"))
114-
.map(a => a.browser_download_url)[0];
115-
})
116-
- name: Install pack
117-
run: |
118-
curl -s -L -o pack.zip ${{ steps.pack-download-url.outputs.result }}
119-
tar -xvf pack.zip
120-
mkdir ~\.pack
121-
- name: Set Experimental
122-
run: make set-experimental
123-
- name: Build
124-
run: make build-windows-packages
125-
- uses: azure/docker-login@v1
126-
if: ${{ github.ref == 'refs/heads/main' }}
127-
with:
128-
username: cnbs
129-
password: ${{ secrets.REGISTRY_PASSWORD }}
130-
- name: Deploy
131-
if: ${{ github.ref == 'refs/heads/main' }}
132-
run: make deploy-windows-packages

0 commit comments

Comments
 (0)