]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Revert "build_utils: add a wrapper for tox in ceph-ansible"
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 23 Jan 2019 15:43:31 +0000 (16:43 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 23 Jan 2019 15:43:31 +0000 (16:43 +0100)
This reverts commit e5fb7805cf717aefa1640f0073430c7c7cd3b6dc.

ceph-ansible-prs/build/build
scripts/build_utils.sh

index 8149e622673c4e88ab3f0c31809b2503b1f04b5a..946e2fc2bf9c557ab5cb5cf251ef82e56387a713 100644 (file)
@@ -26,8 +26,6 @@ for scenario in $scenarios; do
 done
 popd
 
-write_exec_cmd_script
-
 # stable-3.0 doesn't have ceph-volume and therefore doesn't support LVM scenarios.
 # Rather than running a bunch of conditional steps in the pipeline to check if
 # a PR is merging into the stable-3.0 branch, we'll just pass LVM jobs.
index 80caa146eb3306f0298440eda46a4a5cb5a228ec..04977905b4ae97baebafe6f9809b3d3f7fcb006b 100644 (file)
@@ -850,19 +850,6 @@ write_collect_logs_playbook() {
 EOF
 }
 
-write_exec_cmd_script() {
-    sudo sh -c 'cat > /home/jenkins-build/bin/exec_cmd.sh << EOF
-#!/bin/bash
-
-script="$VENV"/"$1"
-
-shebang=$(head -1 "$script")
-interp=( ${shebang#\#!} )
-exec "${interp[@]}" "${@}"
-EOF'
-    sudo chmod +x /usr/local/bin/exec_cmd.sh
-}
-
 collect_ceph_logs() {
     # this is meant to be run in a testing scenario directory
     # with running vagrant vms. the ansible playbook will connect
@@ -931,4 +918,4 @@ get_nr_build_jobs() {
         n_build_jobs=$nproc
     fi
     echo $n_build_jobs
-}
\ No newline at end of file
+}