Browse Source

Verbose mode for ci pipeline git fetchs

Julen Landa Alustiza 4 years ago
parent
commit
698eb40fb7

+ 1 - 1
.cico.pipeline

@@ -57,7 +57,7 @@ node('pagure') {
         }
 
         stage('Clone Test Suite') {
-            onmyduffynode "git clone --single-branch --depth 1 https://pagure.io/pagure.git"
+            onmyduffynode "GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone --single-branch --depth 1 https://pagure.io/pagure.git"
         }
 
         stage('Run Test Suite') {

+ 1 - 1
dev/containers/centos7-rpms-py2

@@ -30,7 +30,7 @@ RUN yum -y install \
     repoSpanner-bridge
 
 RUN cd / \
-    && git clone -b $BRANCH $REPO \
+    && GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone -b $BRANCH $REPO \
     && chmod +x /pagure/dev/containers/runtests_py2.sh
 
 # Install all the requirements from the spec file and replace the macro

+ 1 - 1
dev/containers/f29-rpms-py3

@@ -19,7 +19,7 @@ RUN dnf -y --enablerepo=updates-testing install \
     git
 
 RUN cd / \
-    && git clone -b $BRANCH $REPO \
+    && GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone -b $BRANCH $REPO \
     && chmod +x /pagure/dev/containers/runtests_py3.sh \
     && sed -i -e 's|\["alembic",|\["alembic-3",|' /pagure/tests/test_alembic.py
 

+ 1 - 1
dev/containers/fedora-pip-py3

@@ -22,7 +22,7 @@ RUN dnf -y install \
     glibc-langpack-en
 
 RUN cd / \
-    && git clone -b $BRANCH $REPO \
+    && GIT_TRACE=1 GIT_CURL_VERBOSE=1 git clone -b $BRANCH $REPO \
     && chmod +x /pagure/dev/containers/tox_py3.sh
 
 # Install pygit2 manually, outside of the virtualenv since it is tightly coupled

+ 1 - 1
dev/containers/runtests_py2.sh

@@ -11,7 +11,7 @@ if [ -n "$REPO" -a -n "$BRANCH" ]; then
 git remote rm proposed || true
 git gc --auto
 git remote add proposed "$REPO"
-git fetch proposed
+GIT_TRACE=1 GIT_CURL_VERBOSE=1 git fetch proposed
 git checkout origin/master
 git config --global user.email "you@example.com"
 git config --global user.name "Your Name"

+ 1 - 1
dev/containers/runtests_py3.sh

@@ -11,7 +11,7 @@ if [ -n "$REPO" -a -n "$BRANCH" ]; then
 git remote rm proposed || true
 git gc --auto
 git remote add proposed "$REPO"
-git fetch proposed
+GIT_TRACE=1 GIT_CURL_VERBOSE=1 git fetch proposed
 git checkout origin/master
 git config --global user.email "you@example.com"
 git config --global user.name "Your Name"

+ 1 - 1
dev/containers/tox_py3.sh

@@ -11,7 +11,7 @@ if [ -n "$REPO" -a -n "$BRANCH" ]; then
 git remote rm proposed || true
 git gc --auto
 git remote add proposed "$REPO"
-git fetch proposed
+GIT_TRACE=1 GIT_CURL_VERBOSE=1 git fetch proposed
 git checkout origin/master
 git config --global user.email "you@example.com"
 git config --global user.name "Your Name"

+ 1 - 1
run_ci_tests_containers.sh

@@ -10,7 +10,7 @@ if [ -n "$REPO" -a -n "$BRANCH" ]; then
 git remote rm proposed || true
 git gc --auto
 git remote add proposed "$REPO"
-git fetch proposed
+GIT_TRACE=1 GIT_CURL_VERBOSE=1 git fetch proposed
 git checkout origin/master
 git config --global user.email "you@example.com"
 git config --global user.name "Your Name"