Commit f159936a authored by ymir's avatar ymir

review UT & build script

parent 08a6b167
Pipeline #105004 passed with stages
in 3 minutes and 1 second
......@@ -23,15 +23,15 @@ test: # this block can be copied/past/renamed if you split tests on different bl
# code quality
- pylint --output-format=parseable neuralnetworktrainercli test > code_quality_report.txt || echo 0
- sshpass -e ssh -o stricthostkeychecking=no -p ${SSH_PORT} ${SSH_USER_NAME}@91.121.9.53 mkdir -p /home/${SSH_USER_NAME}/docker/apache_php/ci/html/pylint/neuralnetworktrainercli/${CI_BUILD_REF_NAME}
- sshpass -e scp -o stricthostkeychecking=no -P ${SSH_PORT} code_quality_report.txt ${SSH_USER_NAME}@91.121.9.53:/home/${SSH_USER_NAME}/docker/continuous_integration/apache_pip/html/pylint/neuralnetworktrainercli/${CI_BUILD_REF_NAME}
- sshpass -e scp -o stricthostkeychecking=no -P ${SSH_PORT} code_quality_report.txt ${SSH_USER_NAME}@91.121.9.53:/home/${SSH_USER_NAME}/docker/apache_php/ci/html/pylint/neuralnetworktrainercli/${CI_BUILD_REF_NAME}
# TODO : documentation
build: # this block can be copied/past/renamed if you split builds on different blocks
stage: build
script:
# tarball
- tar -czf neuralnetworktrainercli-${CI_BUILD_REF_NAME}.tar.gz neuralnetworktrainercli setup.py
- sshpass -e ssh -o stricthostkeychecking=no -p ${SSH_PORT} ${SSH_USER_NAME}@91.121.9.53 mkdir -p /home/${SSH_USER_NAME}/docker/continuous_integration/apache_pip/html/archive/neuralnetworktrainercli
- sshpass -e scp -o stricthostkeychecking=no -P ${SSH_PORT} neuralnetworktrainercli-${CI_BUILD_REF_NAME}.tar.gz ${SSH_USER_NAME}@91.121.9.53:/home/${SSH_USER_NAME}/docker/continuous_integration/apache_pip/html/archive/neuralnetworktrainercli
- sshpass -e ssh -o stricthostkeychecking=no -p ${SSH_PORT} ${SSH_USER_NAME}@91.121.9.53 mkdir -p /home/${SSH_USER_NAME}/docker/apache_php/ci/html/archive/neuralnetworktrainercli
- sshpass -e scp -o stricthostkeychecking=no -P ${SSH_PORT} neuralnetworktrainercli-${CI_BUILD_REF_NAME}.tar.gz ${SSH_USER_NAME}@91.121.9.53:/home/${SSH_USER_NAME}/docker/apache_php/ci/html/archive/neuralnetworktrainercli
deploy_development:
stage: deploy
script:
......
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