mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-08-19 05:27:26 +00:00
scaling: Remove tty parameter in report's generation cmd
This is in order to avoid tty-related issues in our CI systems which by default is not supporting tty. With this change we'll avoid the following faling report's generation `docker run` command. ``` the input device is not a TTY ``` Signed-off-by: Obed N Munoz <obed.n.munoz@intel.com>
This commit is contained in:
committed by
Graham Whaley
parent
b6c7cf1b8e
commit
46b3f230ee
@@ -100,7 +100,7 @@ setup() {
|
||||
}
|
||||
|
||||
run() {
|
||||
docker run -ti --rm -v ${HOSTINPUTDIR}:${GUESTINPUTDIR} -v ${HOSTOUTPUTDIR}:${GUESTOUTPUTDIR} ${extra_volumes} ${IMAGE} ${extra_command}
|
||||
docker run ${extra_opts} --rm -v ${HOSTINPUTDIR}:${GUESTINPUTDIR} -v ${HOSTOUTPUTDIR}:${GUESTOUTPUTDIR} ${extra_volumes} ${IMAGE} ${extra_command}
|
||||
ls -la ${HOSTOUTPUTDIR}/*
|
||||
}
|
||||
|
||||
@@ -113,6 +113,7 @@ main() {
|
||||
# In debug mode, run a shell instead of the default report generation
|
||||
extra_command="bash"
|
||||
extra_volumes="-v ${HOSTSCRIPTDIR}:${GUESTSCRIPTDIR}"
|
||||
extra_opts="-ti"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user