Skip to content

Commit 2a8ef1e

Browse files
committed
[TMP] Speedup workflow
1 parent 1d2406b commit 2a8ef1e

File tree

1 file changed

+5
-216
lines changed

1 file changed

+5
-216
lines changed

.github/workflows/docker.yml

+5-216
Original file line numberDiff line numberDiff line change
@@ -89,157 +89,6 @@ jobs:
8989
runsOn: ubuntu-latest
9090
needs: [x86_64-foundation]
9191

92-
aarch64-minimal:
93-
uses: ./.github/workflows/docker-build-test-upload.yml
94-
with:
95-
parentImage: base-notebook
96-
image: minimal-notebook
97-
platform: aarch64
98-
runsOn: ARM64
99-
needs: [aarch64-base]
100-
if: github.repository == 'jupyter/docker-stacks'
101-
102-
x86_64-minimal:
103-
uses: ./.github/workflows/docker-build-test-upload.yml
104-
with:
105-
parentImage: base-notebook
106-
image: minimal-notebook
107-
platform: x86_64
108-
runsOn: ubuntu-latest
109-
needs: [x86_64-base]
110-
111-
aarch64-scipy:
112-
uses: ./.github/workflows/docker-build-test-upload.yml
113-
with:
114-
parentImage: minimal-notebook
115-
image: scipy-notebook
116-
platform: aarch64
117-
runsOn: ARM64
118-
needs: [aarch64-minimal]
119-
if: github.repository == 'jupyter/docker-stacks'
120-
121-
x86_64-scipy:
122-
uses: ./.github/workflows/docker-build-test-upload.yml
123-
with:
124-
parentImage: minimal-notebook
125-
image: scipy-notebook
126-
platform: x86_64
127-
runsOn: ubuntu-latest
128-
needs: [x86_64-minimal]
129-
130-
aarch64-r:
131-
uses: ./.github/workflows/docker-build-test-upload.yml
132-
with:
133-
parentImage: minimal-notebook
134-
image: r-notebook
135-
platform: aarch64
136-
runsOn: ARM64
137-
needs: [aarch64-minimal]
138-
if: github.repository == 'jupyter/docker-stacks'
139-
140-
x86_64-r:
141-
uses: ./.github/workflows/docker-build-test-upload.yml
142-
with:
143-
parentImage: minimal-notebook
144-
image: r-notebook
145-
platform: x86_64
146-
runsOn: ubuntu-latest
147-
needs: [x86_64-minimal]
148-
149-
aarch64-julia:
150-
uses: ./.github/workflows/docker-build-test-upload.yml
151-
with:
152-
parentImage: minimal-notebook
153-
image: julia-notebook
154-
platform: aarch64
155-
runsOn: ARM64
156-
needs: [aarch64-minimal]
157-
if: github.repository == 'jupyter/docker-stacks'
158-
159-
x86_64-julia:
160-
uses: ./.github/workflows/docker-build-test-upload.yml
161-
with:
162-
parentImage: minimal-notebook
163-
image: julia-notebook
164-
platform: x86_64
165-
runsOn: ubuntu-latest
166-
needs: [x86_64-minimal]
167-
168-
aarch64-tensorflow:
169-
uses: ./.github/workflows/docker-build-test-upload.yml
170-
with:
171-
parentImage: scipy-notebook
172-
image: tensorflow-notebook
173-
platform: aarch64
174-
runsOn: ARM64
175-
needs: [aarch64-scipy]
176-
177-
x86_64-tensorflow:
178-
uses: ./.github/workflows/docker-build-test-upload.yml
179-
with:
180-
parentImage: scipy-notebook
181-
image: tensorflow-notebook
182-
platform: x86_64
183-
runsOn: ubuntu-latest
184-
needs: [x86_64-scipy]
185-
186-
aarch64-datascience:
187-
uses: ./.github/workflows/docker-build-test-upload.yml
188-
with:
189-
parentImage: scipy-notebook
190-
image: datascience-notebook
191-
platform: aarch64
192-
runsOn: ARM64
193-
needs: [aarch64-scipy]
194-
if: github.repository == 'jupyter/docker-stacks'
195-
196-
x86_64-datascience:
197-
uses: ./.github/workflows/docker-build-test-upload.yml
198-
with:
199-
parentImage: scipy-notebook
200-
image: datascience-notebook
201-
platform: x86_64
202-
runsOn: ubuntu-latest
203-
needs: [x86_64-scipy]
204-
205-
aarch64-pyspark:
206-
uses: ./.github/workflows/docker-build-test-upload.yml
207-
with:
208-
parentImage: scipy-notebook
209-
image: pyspark-notebook
210-
platform: aarch64
211-
runsOn: ARM64
212-
needs: [aarch64-scipy]
213-
if: github.repository == 'jupyter/docker-stacks'
214-
215-
x86_64-pyspark:
216-
uses: ./.github/workflows/docker-build-test-upload.yml
217-
with:
218-
parentImage: scipy-notebook
219-
image: pyspark-notebook
220-
platform: x86_64
221-
runsOn: ubuntu-latest
222-
needs: [x86_64-scipy]
223-
224-
aarch64-all-spark:
225-
uses: ./.github/workflows/docker-build-test-upload.yml
226-
with:
227-
parentImage: pyspark-notebook
228-
image: all-spark-notebook
229-
platform: aarch64
230-
runsOn: ARM64
231-
needs: [aarch64-pyspark]
232-
if: github.repository == 'jupyter/docker-stacks'
233-
234-
x86_64-all-spark:
235-
uses: ./.github/workflows/docker-build-test-upload.yml
236-
with:
237-
parentImage: pyspark-notebook
238-
image: all-spark-notebook
239-
platform: x86_64
240-
runsOn: ubuntu-latest
241-
needs: [x86_64-pyspark]
242-
24392
aarch64-images-tag-push:
24493
uses: ./.github/workflows/docker-tag-push.yml
24594
with:
@@ -250,32 +99,8 @@ jobs:
25099
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
251100
strategy:
252101
matrix:
253-
image:
254-
[
255-
docker-stacks-foundation,
256-
base-notebook,
257-
minimal-notebook,
258-
scipy-notebook,
259-
r-notebook,
260-
julia-notebook,
261-
tensorflow-notebook,
262-
datascience-notebook,
263-
pyspark-notebook,
264-
all-spark-notebook,
265-
]
266-
needs:
267-
[
268-
aarch64-foundation,
269-
aarch64-base,
270-
aarch64-minimal,
271-
aarch64-scipy,
272-
aarch64-r,
273-
aarch64-julia,
274-
aarch64-tensorflow,
275-
aarch64-datascience,
276-
aarch64-pyspark,
277-
aarch64-all-spark,
278-
]
102+
image: [docker-stacks-foundation, base-notebook]
103+
needs: [aarch64-foundation, aarch64-base]
279104
if: github.repository == 'jupyter/docker-stacks'
280105

281106
x86_64-images-tag-push:
@@ -288,32 +113,8 @@ jobs:
288113
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
289114
strategy:
290115
matrix:
291-
image:
292-
[
293-
docker-stacks-foundation,
294-
base-notebook,
295-
minimal-notebook,
296-
scipy-notebook,
297-
r-notebook,
298-
julia-notebook,
299-
tensorflow-notebook,
300-
datascience-notebook,
301-
pyspark-notebook,
302-
all-spark-notebook,
303-
]
304-
needs:
305-
[
306-
x86_64-foundation,
307-
x86_64-base,
308-
x86_64-minimal,
309-
x86_64-scipy,
310-
x86_64-r,
311-
x86_64-julia,
312-
x86_64-tensorflow,
313-
x86_64-datascience,
314-
x86_64-pyspark,
315-
x86_64-all-spark,
316-
]
116+
image: [docker-stacks-foundation, base-notebook]
117+
needs: [x86_64-foundation, x86_64-base]
317118

318119
merge-tags:
319120
uses: ./.github/workflows/docker-merge-tags.yml
@@ -324,19 +125,7 @@ jobs:
324125
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
325126
strategy:
326127
matrix:
327-
image:
328-
[
329-
docker-stacks-foundation,
330-
base-notebook,
331-
minimal-notebook,
332-
scipy-notebook,
333-
r-notebook,
334-
julia-notebook,
335-
tensorflow-notebook,
336-
datascience-notebook,
337-
pyspark-notebook,
338-
all-spark-notebook,
339-
]
128+
image: [docker-stacks-foundation, base-notebook]
340129
needs: [aarch64-images-tag-push, x86_64-images-tag-push]
341130
if: github.repository == 'jupyter/docker-stacks'
342131

0 commit comments

Comments
 (0)