Commit 1250def Jeny Sadadia
committed
1 parent 1153064 commit 1250def Copy full SHA for 1250def
File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,12 @@ services:
8
8
9
9
api :
10
10
container_name : ' test-kernelci-api'
11
- image : ' ${KERNELCI_API_IMAGE:-kernelci/staging-api}:${KERNELCI_API_TAG:-latest}'
11
+ # image: '${KERNELCI_API_IMAGE:-kernelci/staging-api}:${KERNELCI_API_TAG:-latest}'
12
+ build :
13
+ context : ' docker/api'
14
+ args :
15
+ - REQUIREMENTS=${REQUIREMENTS:-requirements-dev.txt}
16
+ - core_rev=${CORE_REV:-main}
12
17
ports :
13
18
- ' ${API_HOST_PORT:-8001}:8000'
14
19
env_file :
@@ -50,7 +55,12 @@ services:
50
55
51
56
test :
52
57
container_name : ' kernelci-api-tests'
53
- image : ' ${KERNELCI_API_IMAGE:-kernelci/staging-api}:${KERNELCI_API_TAG:-latest}'
58
+ build :
59
+ context : ' docker/api'
60
+ args :
61
+ - REQUIREMENTS=${REQUIREMENTS:-requirements-dev.txt}
62
+ - core_rev=${CORE_REV:-main}
63
+ # image: '${KERNELCI_API_IMAGE:-kernelci/staging-api}:${KERNELCI_API_TAG:-latest}'
54
64
volumes :
55
65
- ' ./api:/home/kernelci/api'
56
66
- ' ./tests:/home/kernelci/tests'
You can’t perform that action at this time.
0 commit comments