sober-wang commented on pull request #128:
URL: https://github.com/apache/apisix-docker/pull/128#issuecomment-781284917


   > > I know your mean's. But can you help me ,how to create a test cases in 
CI.
   > 
   > Hi @sober-wang , you could try login via curl and then see if `docker 
logs` contains relevant logs, please refer to 
https://github.com/apache/apisix-dashboard/blob/8e1854704d5545f7574fb69fe2710f19871279fd/.github/workflows/backend-unit-test.yml#L55-L61
 for example.
   > 
   > BTW: I checked out your code in my local MacOS, but unfortunately I was 
not able to see continuous logs output via `docker logs`. Of course, perhaps 
there's something wrong with my environment. 😄 So additional checks in CI would 
be better.
   
   maybe , you should do something look like this
   ```shell
   cd  apisix-docker/centos
   docker build -t newapisix-image:20210218 
   docker run -d -p 9080:9080 --name=newapisix newapisix-image:20210218
   # next used 
   docker logs newapisix 
   # you'll see the apisix logs in stdout
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to