From dc44009c3d5ee4a91f000e5c6f63a27cebaa117d Mon Sep 17 00:00:00 2001 From: Qasim Abdullah <89213175+qasim-at-tci@users.noreply.github.com> Date: Mon, 22 May 2023 18:04:13 +0500 Subject: [PATCH 1/7] add sleep as last command within config --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 5b8af4f2e9..25ef5f6d29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,3 +16,4 @@ script: - pip3 install docker - python3 script/validate_builds.py $TRAVIS_PULL_REQUEST & - SCRIPT_PID=$!;while ps -p $SCRIPT_PID > /dev/null;do echo "$SCRIPT_PID is running"; sleep 300; done; wait $SCRIPT_PID; my_pid_status=$?; travis_terminate $my_pid_status + - sleep 10 From 90cc5acaba1dc8976a36c544a1c8f21f8a91e381 Mon Sep 17 00:00:00 2001 From: Qasim Abdullah <89213175+qasim-at-tci@users.noreply.github.com> Date: Mon, 22 May 2023 18:34:12 +0500 Subject: [PATCH 2/7] . --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 25ef5f6d29..4b04ca7751 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ before_install: - docker pull registry.access.redhat.com/ubi8/ubi:8.7 script: + - set -e - sudo apt update -y && sudo apt-get install file -y - pip3 install requests - pip3 install docker From 687ca3a6d3f1fab93db91ddd0ea703d5d91e7fed Mon Sep 17 00:00:00 2001 From: Qasim Abdullah <89213175+qasim-at-tci@users.noreply.github.com> Date: Mon, 22 May 2023 19:31:28 +0500 Subject: [PATCH 3/7] . --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 4b04ca7751..1e8f2fa11a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +# TEST RUN --- arch: ppc64le dist: focal From d71020589518ca6aae37bd457c41125ad624f464 Mon Sep 17 00:00:00 2001 From: Qasim Abdullah <89213175+qasim-at-tci@users.noreply.github.com> Date: Mon, 22 May 2023 19:46:03 +0500 Subject: [PATCH 4/7] .. --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1e8f2fa11a..8701ad2891 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,6 @@ before_install: - docker pull registry.access.redhat.com/ubi8/ubi:8.7 script: - - set -e - sudo apt update -y && sudo apt-get install file -y - pip3 install requests - pip3 install docker From bb4e654d45b2ddf7c6b0cdef42f39aa39fbd0f17 Mon Sep 17 00:00:00 2001 From: Qasim Abdullah <89213175+qasim-at-tci@users.noreply.github.com> Date: Mon, 22 May 2023 19:54:14 +0500 Subject: [PATCH 5/7] . --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8701ad2891..ec388c59b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,6 @@ script: - sudo apt update -y && sudo apt-get install file -y - pip3 install requests - pip3 install docker - - python3 script/validate_builds.py $TRAVIS_PULL_REQUEST & - - SCRIPT_PID=$!;while ps -p $SCRIPT_PID > /dev/null;do echo "$SCRIPT_PID is running"; sleep 300; done; wait $SCRIPT_PID; my_pid_status=$?; travis_terminate $my_pid_status + - python3 script/validate_builds.py $TRAVIS_PULL_REQUEST + #- SCRIPT_PID=$!;while ps -p $SCRIPT_PID > /dev/null;do echo "$SCRIPT_PID is running"; sleep 300; done; wait $SCRIPT_PID; my_pid_status=$?; travis_terminate $my_pid_status - sleep 10 From 1026cf5c9af89432b74b302affe0519836c4a27b Mon Sep 17 00:00:00 2001 From: Qasim Abdullah <89213175+qasim-at-tci@users.noreply.github.com> Date: Mon, 22 May 2023 19:57:15 +0500 Subject: [PATCH 6/7] . --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ec388c59b6..853bb13c69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,5 +16,5 @@ script: - pip3 install requests - pip3 install docker - python3 script/validate_builds.py $TRAVIS_PULL_REQUEST - #- SCRIPT_PID=$!;while ps -p $SCRIPT_PID > /dev/null;do echo "$SCRIPT_PID is running"; sleep 300; done; wait $SCRIPT_PID; my_pid_status=$?; travis_terminate $my_pid_status + - SCRIPT_PID=$!;while ps -p $SCRIPT_PID > /dev/null;do echo "$SCRIPT_PID is running"; sleep 10; done; wait $SCRIPT_PID; my_pid_status=$?; travis_terminate $my_pid_status - sleep 10 From 930d0274100666b7916581dca8c26176f2f4d3d1 Mon Sep 17 00:00:00 2001 From: Qasim Abdullah <89213175+qasim-at-tci@users.noreply.github.com> Date: Mon, 22 May 2023 19:57:56 +0500 Subject: [PATCH 7/7] . --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 853bb13c69..25ba9fe712 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,6 @@ script: - sudo apt update -y && sudo apt-get install file -y - pip3 install requests - pip3 install docker - - python3 script/validate_builds.py $TRAVIS_PULL_REQUEST + - python3 script/validate_builds.py $TRAVIS_PULL_REQUEST & - SCRIPT_PID=$!;while ps -p $SCRIPT_PID > /dev/null;do echo "$SCRIPT_PID is running"; sleep 10; done; wait $SCRIPT_PID; my_pid_status=$?; travis_terminate $my_pid_status - sleep 10