Standardize on 4 spaces for circle ci config indent

Previously was a mix of 2 and 4 spaces
This commit is contained in:
yuvipanda
2018-07-11 12:25:23 -07:00
parent e3ae2c3d77
commit e8c8d51490

View File

@@ -1,69 +1,68 @@
version: 2 version: 2
jobs: jobs:
unit-test: unit-test:
docker: docker:
- image: continuumio/miniconda3:4.5.4 - image: continuumio/miniconda3:4.5.4
working_directory: ~/repo working_directory: ~/repo
steps: steps:
- checkout - checkout
# Download and cache dependencies # Download and cache dependencies
- restore_cache: - restore_cache:
keys: keys:
- v1-dependencies-miniconda3-4.5.4-{{ checksum "setup.py" }}-{{ checksum "dev-requirements.txt" }} - v1-dependencies-miniconda3-4.5.4-{{ checksum "setup.py" }}-{{ checksum "dev-requirements.txt" }}
- v1-dependencies-miniconda3-4.5.4- - v1-dependencies-miniconda3-4.5.4-
- run: - run:
name: install dependencies name: install dependencies
command: | command: |
pip install -r dev-requirements.txt pip install -r dev-requirements.txt
pip install -e . pip install -e .
- save_cache: - save_cache:
paths: paths:
- /opt/conda - /opt/conda
key: v1-dependencies-miniconda3-4.5.4-{{ checksum "setup.py" }}-{{ checksum "dev-requirements.txt" }} key: v1-dependencies-miniconda3-4.5.4-{{ checksum "setup.py" }}-{{ checksum "dev-requirements.txt" }}
- run: - run:
name: run unit tests name: run unit tests
command: | command: |
py.test tests/ py.test tests/
integration-test: integration-test:
docker: docker:
- image: docker:18.05.0-ce-git - image: docker:18.05.0-ce-git
# Run full installer test
steps:
- run:
name: setup python3
command: |
apk add --no-cache python3
- setup_remote_docker steps:
- run:
name: setup python3
command: |
apk add --no-cache python3
- run: - setup_remote_docker
name: build systemd image
command: |
python3 .circleci/integration-test.py build-image
- run: - run:
name: start systemd image name: build systemd image
command: | command: |
python3 .circleci/integration-test.py start-container python3 .circleci/integration-test.py build-image
- run: - run:
name: run tljh installer name: start systemd image
command: | command: |
python3 .circleci/integration-test.py copy . /srv/src python3 .circleci/integration-test.py start-container
python3 .circleci/integration-test.py run 'python3 /srv/src/bootstrap/bootstrap.py'
- run: - run:
name: check jupyterhub is up name: run tljh installer
command: | command: |
python3 .circleci/integration-test.py run 'curl -L --fail http://127.0.0.1' python3 .circleci/integration-test.py copy . /srv/src
python3 .circleci/integration-test.py run 'python3 /srv/src/bootstrap/bootstrap.py'
- run:
name: check jupyterhub is up
command: |
python3 .circleci/integration-test.py run 'curl -L --fail http://127.0.0.1'
workflows: workflows:
version: 2 version: 2