Skip to content

Commit

Permalink
(refactor): docker-compose-test services rename from pye310 -> pye3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Falldog committed Jan 29, 2022
1 parent 2a3b536 commit 0ad1f4b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
3 changes: 1 addition & 2 deletions bin/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ cd "${REPO_ROOT}"

build() {
ver=$1
ver_wo_dot=`echo "${ver}" | sed -e "s/\.//g"` # "3.6" -> "36"
service="pye${ver_wo_dot}"
service="pye${ver}"

docker-compose -f docker-compose-test.yml build ${service}
}
Expand Down
18 changes: 9 additions & 9 deletions docker-compose-test.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
version: '3.3'

services:
pye36:
pye3.6:
build:
context: .
dockerfile: ./docker/Dockerfile
args:
PY_VER: 3.6
PY_VER: "3.6"
image: falldog/pyconcrete-tester:3.6

pye37:
pye3.7:
build:
context: .
dockerfile: ./docker/Dockerfile
args:
PY_VER: 3.7
PY_VER: "3.7"
image: falldog/pyconcrete-tester:3.7

pye38:
pye3.8:
build:
context: .
dockerfile: ./docker/Dockerfile
args:
PY_VER: 3.8
PY_VER: "3.8"
image: falldog/pyconcrete-tester:3.8

pye39:
pye3.9:
build:
context: .
dockerfile: ./docker/Dockerfile
args:
PY_VER: 3.9
PY_VER: "3.9"
image: falldog/pyconcrete-tester:3.9

pye310:
pye3.10:
build:
context: .
dockerfile: ./docker/Dockerfile
Expand Down

0 comments on commit 0ad1f4b

Please sign in to comment.