mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Reuse executor
This commit is contained in:
@@ -1,4 +1,12 @@
|
|||||||
version: 2.1
|
version: 2.1
|
||||||
|
executors:
|
||||||
|
ubuntu_docker:
|
||||||
|
docker:
|
||||||
|
# Match target OS of TLJH
|
||||||
|
- image: ubuntu:18.04
|
||||||
|
working_directory: ~/repo
|
||||||
|
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
setup_venv:
|
setup_venv:
|
||||||
description: Setup hub venv
|
description: Setup hub venv
|
||||||
@@ -19,12 +27,7 @@ commands:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
unit-test:
|
unit-test:
|
||||||
docker:
|
executor: ubuntu_docker
|
||||||
# Match target OS of TLJH
|
|
||||||
- image: ubuntu:18.04
|
|
||||||
|
|
||||||
working_directory: ~/repo
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
@@ -103,12 +106,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
documentation:
|
documentation:
|
||||||
docker:
|
executor: ubuntu_docker
|
||||||
# Match target OS of TLJH
|
|
||||||
- image: ubuntu:18.04
|
|
||||||
|
|
||||||
working_directory: ~/repo
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user