2020-07-10 19:31:44 +00:00
|
|
|
# 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:
|
2020-07-10 19:38:25 +00:00
|
|
|
docker-default:
|
2020-07-10 19:31:44 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Test Quickstart (defaults)
|
|
|
|
run: |
|
|
|
|
./generate-Dockerfile.sh
|
|
|
|
./start-local.sh -p 8848
|
2020-07-10 19:38:25 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|