File tree Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 1+ FROM docker.io/library/e2e-extension as ext
2+ FROM ghcr.io/linuxsuren/api-testing:master
3+
4+ WORKDIR /workspace
5+ COPY . .
6+ COPY --from=ext /usr/local/bin/atest-store-orm /usr/local/bin/atest-store-orm
7+
8+ CMD [ "/workspace/entrypoint.sh" ]
Original file line number Diff line number Diff line change 11version : ' 3.1'
22services :
33 testing :
4- image : ghcr.io/linuxsuren/api-testing:master
4+ build :
5+ context : .
6+ dockerfile : Dockerfile
57 depends_on :
68 mysql :
79 condition : service_healthy
10+ extension :
11+ condition : service_started
812 volumes :
913 - type : volume
1014 source : cache
@@ -18,10 +22,6 @@ services:
1822 args :
1923 - " GO_BUILDER=ghcr.io/linuxsuren/library/golang:1.20"
2024 - " BASE_IMAGE=ghcr.io/linuxsuren/library/alpine:3.12"
21- volumes :
22- - type : volume
23- source : cache
24- target : /var/data
2525 mysql :
2626 image : mysql:8.2.0
2727 command : --default-authentication-plugin=mysql_native_password
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ mkdir -p /root/.config/atest
66mkdir -p /var/data
77
88echo " start to run server"
9- nohup atest server
9+ nohup atest server&
1010cmd=" atest run -p test-suite.yaml"
1111
1212echo " start to run testing: $cmd "
13- kind=orm target=postgres:5432 driver=postgres $cmd
13+ kind=orm target=mysql:3306 driver=mysql $cmd
1414
1515cat /root/.config/atest/stores.yaml
You can’t perform that action at this time.
0 commit comments