File tree Expand file tree Collapse file tree 4 files changed +8
-19
lines changed Expand file tree Collapse file tree 4 files changed +8
-19
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
2
3
3
executors :
4
- python36 :
4
+ python3 :
5
5
docker :
6
- - image : cimg/python:3.6.15
6
+ - image : cimg/python:3.12.3
7
7
8
8
commands :
9
9
ditto-transform :
10
10
description : Run Ditto in order to transform the BASE_URL instead of http://localhost
11
11
steps :
12
12
- run :
13
- name : Install requirements.txt
14
- command : pip install --user -r requirements.txt
13
+ name : Install Ditto
14
+ command : pip install --user 'pokeapi-ditto==1.0.2'
15
15
- run :
16
16
name : Transform api-data's JSON files to have the correct BASE_URL instead of http://localhost
17
17
command : bash -x scripts/transform.sh
18
18
19
19
jobs :
20
20
test :
21
- executor : python36
21
+ executor : python3
22
22
steps :
23
23
- checkout
24
24
- ditto-transform
25
25
build-and-deploy :
26
- executor : python36
26
+ executor : python3
27
27
steps :
28
28
- checkout
29
29
- ditto-transform
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ git branch -D "$BRANCH_NAME" || true
34
34
git branch " $BRANCH_NAME "
35
35
git checkout " $BRANCH_NAME "
36
36
37
- pip install -r requirements.txt
38
- rm -r ./data
37
+ pip install ' pokeapi-ditto==1.0.2 '
38
+ rm -rf ./data
39
39
ditto clone --src-url http://localhost/ --dest-dir ./data
40
40
# (╯°□°)╯ *always* assume magikarp failed and grab it again #clowntown
41
41
ditto clone --src-url http://localhost/ --dest-dir ./data --select pokemon/129
You can’t perform that action at this time.
0 commit comments