forked from jupyter/docker-stacks
-
Notifications
You must be signed in to change notification settings - Fork 1
89 lines (74 loc) · 2.17 KB
/
docker-amd64.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: Build and test amd64 Docker Images
# This workflow runs a lot quicker, than building multi-images in docker.yml
# This will allow us to conclude if things work or not far quicker,
# when we don't expect there to be any platform specific breaking change.
on:
pull_request:
paths:
- ".github/workflows/docker-amd64.yml"
- "all-spark-notebook/**"
- "base-notebook/**"
- "datascience-notebook/**"
- "minimal-notebook/**"
- "pyspark-notebook/**"
- "r-notebook/**"
- "scipy-notebook/**"
- "tensorflow-notebook/**"
- "tagging/**"
- "tests/**"
- "Makefile"
- "requirements-dev.txt"
push:
branches:
- main
- master
paths:
- ".github/workflows/docker-amd64.yml"
- "all-spark-notebook/**"
- "base-notebook/**"
- "datascience-notebook/**"
- "minimal-notebook/**"
- "pyspark-notebook/**"
- "r-notebook/**"
- "scipy-notebook/**"
- "tensorflow-notebook/**"
- "tagging/**"
- "tests/**"
- "Makefile"
- "requirements-dev.txt"
workflow_dispatch:
concurrency:
# only cancel in-progress jobs or runs for the current workflow - matches against branch & tags
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build-test-amd64-images:
name: Build and test amd64 Docker Images
runs-on: ubuntu-latest
steps:
- name: Checkout Repo ⚡️
uses: actions/checkout@v3
- name: Set Up Python 🐍
uses: actions/setup-python@v3
with:
python-version: 3.x
- name: Install Dev Dependencies 📦
run: |
pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Build Docker Images 🛠
run: make build-all
env:
# Full logs for CI build
BUILDKIT_PROGRESS: plain
- name: Run tests ✅
run: make test-all
- name: Checkout Wiki Repo 📃
uses: actions/checkout@v3
with:
repository: ${{github.repository}}.wiki
path: wiki/
- name: Create tags and manifest 🏷
run: make hook-all