File tree Expand file tree Collapse file tree 1 file changed +19
-19
lines changed
Expand file tree Collapse file tree 1 file changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -3,35 +3,35 @@ version: 2.1
33jobs :
44 test :
55 machine :
6- image : ubuntu-2004:2022.10.1
6+ image : ubuntu-2204:current
7+ resource_class : large
78 steps :
89 - checkout
910 - run :
1011 name : Install deps
11- command : poetry install
12+ command : |
13+ python3 -m pip install poetry
14+ poetry install
1215 - run :
1316 name : Spin up Pokeapi
1417 command : |
1518 git clone --recurse-submodules https://github.com/PokeAPI/pokeapi.git
1619 cd pokeapi
17- docker-compose up -d
18- docker-compose exec -T app python manage.py migrate --settings=config.docker-compose
19- docker-compose exec -T app sh -c 'echo "from data.v2.build import build_all; build_all()" | python manage.py shell --settings=config.docker-compose'
20+ make docker-setup
2021 cd ..
21-
22- # - run:
23- # name: Clone data
24- # command: poetry run ditto clone --dest-dir ./data
25- # - run:
26- # name: Analyze
27- # command: poetry run ditto analyze --data-dir ./data
28- # - run:
29- # name: Transform
30- # command: |
31- # poetry run ditto transform \
32- # --base-url='https://pokeapi.co' \
33- # --src-dir=./data \
34- # --dest-dir=./_gen
22+ - run :
23+ name : Clone data
24+ command : poetry run ditto clone --dest-dir ./data
25+ - run :
26+ name : Analyze
27+ command : poetry run ditto analyze --data-dir ./data
28+ - run :
29+ name : Transform
30+ command : |
31+ poetry run ditto transform \
32+ --base-url='https://pokeapi.co' \
33+ --src-dir=./data \
34+ --dest-dir=./_gen
3535
3636workflows :
3737 version : 2
You can’t perform that action at this time.
0 commit comments