-
Notifications
You must be signed in to change notification settings - Fork 5
Allow to specify docker username in system testing #180
base: develop
Are you sure you want to change the base?
Allow to specify docker username in system testing #180
Conversation
|
Hey @BenjaminRueth . |
| @@ -1,4 +1,3 @@ | |||
| OPENFOAM_TAG=latest | |||
| DEALII_TAG=latest | |||
| SYSTEST_REMOTE=precice/ | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line here and below could be kept, no need to delete it. It does not influence the possibility of repo specification above.
Hi @shkodm! Thanks for the info. I did not know this. Just to make sure I understand: In this case it sounds reasonable to leave the |
Yes, exactly. From the docker docs:
Basically it is just a fallback if the variable could not be found anywhere |
system_testing.pycurrently does not allow to specify theSYSTEST_REMOTEvia--docker-username.SYSTEST_REMOTEis set via a filetests/*/.env, where the remoteSYSTEST_REMOTE = precice/is provided. This is hardcoded and causes problems, if one wants to run the systemtests on precice or adapter baseimages from a remote different thanprecice(e.g.benjaminrueth, which I'm using for development on my fork).I'm not 100% sure about the reasons for specifying
SYSTEST_REMOTEvia the.envfile. From my perspective this approach is mainly causing trouble, if I'm working on a fork. If somebody has a different perspective and knows a reason for specifyingSYSTEST_REMOTEvia the.envfile, feedback would be highly appreciated.What I tested (so far)
python3 system_testing.py --base Ubuntu1804.home -s fe-fepython3 system_testing.py --base Ubuntu1804.home -s fe-fe --docker-username benjaminruethpython3 system_testing.py --base Ubuntu1604.home -s bindings --docker-username precicepython3 system_testing.py --base Ubuntu1604.home -s bindings --docker-username benjaminrueth(does not work, since precice baseimage onbenjaminruethis outdated)python3 system_testing.py --base Ubuntu1804.home -s bindings --docker-username precicepython3 system_testing.py --base Ubuntu1804.home -s bindings --docker-username benjaminrueth