From: Eduardo Ramos Testillano (eramedu) Date: Wed, 13 May 2020 23:21:21 +0000 (+0200) Subject: Allow passing arguments to ADML-HTTP docker image entrypoint X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=26c27c2b83f99e6df420addc90010eb0d4a7724e;hp=26c27c2b83f99e6df420addc90010eb0d4a7724e;p=anna.git Allow passing arguments to ADML-HTTP docker image entrypoint Modify entrypoint/cmd on adml-http image to allow provide extra arguments to the entrypoint. Also, the starter script will forward de arguments $@ towards ADML start.sh script, so parameters like 'ft' or 'st' are now possible to specify on docker run statement (ft by default). Allow parametrize the build variant in ct.sh script. In this way we could test Release or Debug variant. The ADML start.sh argument is set to 'st' to avoid trace generation and traffic log. Rebuild question is now 'n' by default. Docker tag will be suffixed with '-debug' for Debug, and unchanged for Release. In the same way, the container name is changed to to know easily what is being deployed. Anyway, nginx port will collide and then both cannot be started expect if 8074 port is changed in any of them. When configuring services in ct.sh script, we will parse the response to know the success state (true/false) in order to interrupt the component test procedure in case of fail. Also, in this script, a bug is fixed: pgrep is not being escaped, and the $(pgrep ADML) is going to be evaluated on host. ---