Add testing script to parse dags in CI (#804)
* Add testing script to parse dags in CI * [testing] Add a broken dag to test CI changes * [testing] Remove testing file for CI * Update .circleci/config.yml Co-Authored-By: Sunah Suh <github@sunahsuh.com> * Address review comments Use docker caching layer and a more recent ubuntu image for the machine executor
This commit is contained in:
Родитель
b5e20c40ae
Коммит
5408fd62d1
|
@ -33,6 +33,23 @@ jobs:
|
|||
- run: find . -name *.pyc -delete
|
||||
- run: tox -e py27
|
||||
|
||||
test-environment:
|
||||
machine:
|
||||
image: ubuntu-1604:201903-01
|
||||
docker_layer_caching: true
|
||||
working_directory: ~/mozilla/telemetry-airflow
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
command: |
|
||||
docker-compose pull
|
||||
docker-compose build
|
||||
# now take ownership of the folder
|
||||
sudo chown -R 10001:10001 .
|
||||
- run:
|
||||
name: Test if dag scripts can be parsed
|
||||
command: bash bin/test-parse
|
||||
|
||||
deploy:
|
||||
docker:
|
||||
- image: docker:18.02.0-ce
|
||||
|
@ -88,6 +105,11 @@ workflows:
|
|||
tags:
|
||||
only: /.*/
|
||||
|
||||
- test-environment:
|
||||
filters:
|
||||
tags:
|
||||
only: /.*/
|
||||
|
||||
- deploy:
|
||||
requires:
|
||||
- test
|
||||
|
|
Загрузка…
Ссылка в новой задаче