File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,41 @@ To run the integration tests, the following prerequisites must be met:
199199.. code-block :: bash
200200
201201 tox -e py37 -- --region cn-north-1
202+
203+ **Docker Based Integration Tests **
204+
205+ Several integration tests rely on docker to push an image to ECR which is then used for training.
206+
207+ Docker Setup
208+
209+ 1. Install docker
210+ 2. set aws cred helper in docker config (~/.docker/config.json)
211+
212+ .. code-block :: javascript
213+
214+ # docker config example
215+ {
216+ " stackOrchestrator" : " swarm" ,
217+ " credsStore" : " desktop" ,
218+ " auths" : {
219+ " https://index.docker.io/v1/" : {}
220+ },
221+ " credHelpers" : {
222+ " aws_account_id.dkr.ecr.region.amazonaws.com" : " ecr-login"
223+ },
224+ " experimental" : " disabled"
225+ }
226+
227+
228+ .. code-block :: bash
229+
230+ # run only docker based tests
231+ tox -e py38 -- tests/integ -m ' docker'
232+
233+ # exclude docker based tests
234+ tox -e py38 -- tests/integ -m ' not docker'
235+
236+
202237
203238 Generate Docs
204239-------------
You can’t perform that action at this time.
0 commit comments