Commit 6b7a3bff authored by garciadeblas's avatar garciadeblas
Browse files

Add new env for tox to test doc publication in the FTP



The script `upload_doc.sh` has been updated to allow passing a destination
folder where to upload the content to the FTP.

A new environment `test-publish`has been added to tox.ini to testing doc
publication, making use of the updates in `upload_doc.sh`
Signed-off-by: garciadeblas's avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent d42e69a0
Pipeline #11824 failed with stages
in 22 seconds
......@@ -77,6 +77,16 @@ allowlist_externals =
rm
#######################################################################################
[testenv:test-publish]
deps = {[testenv]deps}
commands =
sh -c './upload_doc.sh test-user-guide'
allowlist_externals =
sh
rm
#######################################################################################
[testenv:publish]
deps = {[testenv]deps}
......
......@@ -5,6 +5,9 @@
source ./env
FOLDER=${1-${FOLDER}}
echo "Destination folder in the FTP: $FOLDER"
#
# Get credentias (file or interactive)
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment