随笔分类 - sos-ci
https://gitlab.com/osnexus/sos-ci#
摘要:功能: 1 把cinder模块的最新提交sha提取出来写到console.log.out中 2 执行集成测试 3 把集成测试结果放到指定位置
阅读全文
摘要:sos-ci git:(master) cat -n watch-tempest-logs.sh 1 #!/bin/bash 2 3 if [ "$#" -lt 1 ]; then 4 echo "IP address of tempest machine required" 5 exit 1 6
阅读全文
摘要:从第3行到第6行,看出此脚本的执行目录是在上一层目录。 sos-ci git:(master) cat -n start-ci.sh 1 #!/bin/bash 2 3 mkdir sos-data 4 5 cd sos-ci 6 ./set-env-to-vars.sh 7 8 COUNTER=0
阅读全文
摘要:➜ sos-ci git:(master) cat -n run-on-vm-change-user.sh 1 #!/bin/bash 2 3 if [ "$EUID" -ne 0 ] 4 then echo "Please run as root" 5 exit 1 6 else 7 if [ "
阅读全文
摘要:cat -n run-docker-container.sh 1 #!/bin/bash 2 3 docker ps -a | grep sos-ci-container 4 if [ $? == 0 ]; then //如果存在 5 docker rm -f sos-ci-container //
阅读全文
摘要:sos-ci git:(master) cat -n create-template.sh 1 #!/bin/bash 2 3 ansible-playbook --extra-vars "ansible_sudo_pass=LOCALHOST_PASS" sos-ci/ansible/create
阅读全文
摘要:sos-ci git:(master) cat -n create-sos-vm.sh 1 #!/bin/bash 2 3 ansible-playbook --extra-vars "ansible_sudo_pass=LOCALHOST_PASS" sos-ci/ansible/create-s
阅读全文
摘要:1 #!/bin/bash 2 # 3 # Description: 4 # This script is for setup the jenkins dashboard. 5 # 6 # 7 # GLOBAL VARIABLES 8 # 9 if [ "$EUID" -ne 0 ] // 10 t
阅读全文