From aa957a0f07f261cf4dd899a24d807b598211f314 Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Wed, 30 Sep 2020 21:47:31 -0600 Subject: [PATCH 1/4] testing building slim and current default. --- .github/workflows/default.yml | 28 ++++++++++++++++++++++++++++ .github/workflows/slim.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 .github/workflows/default.yml create mode 100644 .github/workflows/slim.yml diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml new file mode 100644 index 0000000..fd1dc43 --- /dev/null +++ b/.github/workflows/default.yml @@ -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 diff --git a/.github/workflows/slim.yml b/.github/workflows/slim.yml new file mode 100644 index 0000000..ca97691 --- /dev/null +++ b/.github/workflows/slim.yml @@ -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-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 From 0cd202320463e3917eb60fc096fda3a2869a7a7f Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Wed, 30 Sep 2020 21:49:57 -0600 Subject: [PATCH 2/4] delete main --- .github/workflows/main.yml | 58 -------------------------------------- 1 file changed, 58 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 7ea6e8d..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -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 - From c897f5e2380cb8f9ef912d71e3894cc6ebfde1d9 Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Wed, 30 Sep 2020 21:50:14 -0600 Subject: [PATCH 3/4] tabs --- .github/workflows/default.yml | 4 ++-- .github/workflows/slim.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index fd1dc43..10843f5 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -21,8 +21,8 @@ jobs: - name: Generate Dockerfile run: ./generate-Dockerfile.sh - - name: Build Image + - name: Build Image run: docker build -t gpu-jupyter .build/ # will take a while - - name: Quickstart Entrypoint Script + - name: Quickstart Entrypoint Script run: ./start-local.sh -p 8848 diff --git a/.github/workflows/slim.yml b/.github/workflows/slim.yml index ca97691..44c04ee 100644 --- a/.github/workflows/slim.yml +++ b/.github/workflows/slim.yml @@ -21,8 +21,8 @@ jobs: - name: Generate Dockerfile run: ./generate-Dockerfile.sh --slim - - name: Build Image + - name: Build Image run: docker build -t gpu-jupyter .build/ # will take a while - - name: Quickstart Entrypoint Script + - name: Quickstart Entrypoint Script run: ./start-local.sh -p 8848 From b66688aad9eebff6e7c99aa6f029d602bb2c1194 Mon Sep 17 00:00:00 2001 From: Michael Pilosov Date: Wed, 30 Sep 2020 21:50:53 -0600 Subject: [PATCH 4/4] change name --- .github/workflows/slim.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/slim.yml b/.github/workflows/slim.yml index 44c04ee..0ee5b7e 100644 --- a/.github/workflows/slim.yml +++ b/.github/workflows/slim.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: Docker Build (default) +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