Merge pull request #31 from mathematicalmichael/feature/actions

building slim and current default.
This commit is contained in:
Chris 2020-10-01 13:06:19 +02:00 committed by GitHub
commit ea992d3a87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 56 additions and 58 deletions

28
.github/workflows/default.yml vendored Normal file
View File

@ -0,0 +1,28 @@
# This is a basic workflow to help you get started with Actions
name: Docker Build (default)
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master, docker-swarm ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
docker-default:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate Dockerfile
run: ./generate-Dockerfile.sh
- name: Build Image
run: docker build -t gpu-jupyter .build/ # will take a while
- name: Quickstart Entrypoint Script
run: ./start-local.sh -p 8848

View File

@ -1,58 +0,0 @@
# This is a basic workflow to help you get started with Actions
name: Docker
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master, docker-swarm ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
docker-default:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test Quickstart (defaults)
run: |
./generate-Dockerfile.sh
./start-local.sh -p 8848
docker-slim:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test Quickstart (defaults)
run: |
./generate-Dockerfile.sh --slim
./start-local.sh -p 8848
docker-nods:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test Quickstart (defaults)
run: |
./generate-Dockerfile.sh --no-datascience-notebook
./start-local.sh -p 8848
docker-noup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test Quickstart (defaults)
run: |
./generate-Dockerfile.sh --no-useful-packages
./start-local.sh -p 8848

28
.github/workflows/slim.yml vendored Normal file
View File

@ -0,0 +1,28 @@
# This is a basic workflow to help you get started with Actions
name: Docker Build (slim)
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master, docker-swarm ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
docker-slim:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate Dockerfile
run: ./generate-Dockerfile.sh --slim
- name: Build Image
run: docker build -t gpu-jupyter .build/ # will take a while
- name: Quickstart Entrypoint Script
run: ./start-local.sh -p 8848