]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
start.sh: Copy config files more consistently
authorZack Cerza <zack@redhat.com>
Thu, 24 Mar 2022 23:09:59 +0000 (17:09 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 28 Mar 2022 21:31:40 +0000 (15:31 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
docs/docker-compose/start.sh

index 25ae832a91bd82da2a447e3bb5d0376278239458..22784dd147df3cd5641c1fd0d8fabbf7b77604a9 100755 (executable)
@@ -8,21 +8,12 @@ git clone \
   -b ${TEUTHOLOGY_BRANCH:-$(git branch --show-current)} \
   https://github.com/ceph/teuthology.git
 
-# Check for .teuthology.yaml file and copy it to teuthology
-if [ -f ".teuthology.yaml" ]; 
-then
-    cp .teuthology.yaml teuthology/.
-else
-    echo ".teuthology.yaml doesn't exists"
-    exit 1
-fi
-
-# Copy Docker file into teuthology
-cp ./Dockerfile teuthology/.
+cp .teuthology.yaml teuthology/
+cp Dockerfile teuthology/
+cp teuthology.sh teuthology/
+cp custom_conf.yaml teuthology/
 
-cp ./teuthology.sh teuthology/
 
-cp ./custom_conf.yaml teuthology/
 
 # Generate an SSH keypair to use
 SSH_PRIVKEY_PATH=$(mktemp -u /tmp/teuthology-ssh-key-XXXXXX)