| #!/bin/bash |
| |
| set -xe |
| |
| cd $WORKSPACE |
| |
| rm -rf *.sh configs |
| |
| git clone --depth 1 https://git.linaro.org/ci/job/configs.git |
| |
| if [ "$build0" = "true" ]; then |
| echo ' - "2.17"' >> configs/ldcg-python-manylinux-tensorflow/ansible/vars/vars-tf-text.yml |
| fi |
| if [ "$buildgit" = "true" ]; then |
| echo ' - "git"' >> configs/ldcg-python-manylinux-tensorflow/ansible/vars/vars-tf-text.yml |
| fi |
| if [ "$auditwheels" = "false" ]; then |
| sed -i -e '/run_audit/s/true/false/' configs/ldcg-python-manylinux-tensorflow/ansible/vars/vars-tf-text.yml |
| fi |
| |
| ansible-galaxy collection install community.docker |
| |
| cd configs/ldcg-python-manylinux-tensorflow/ansible/ |
| sed -i -e"s+/tmp/workspace+${WORKSPACE}+g" vars/vars-tf-text.yml |
| |
| ansible-playbook playbooks/build-tf-text-dual-abi.yml |