Reuse executor

This commit is contained in:
GeorgianaElena
2020-02-17 10:58:53 +02:00
parent 52d635d07c
commit 7dccf4bcfe

View File

@@ -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