diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 9fe66cc..385c680 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -19,6 +19,6 @@ jobs: registry_username: ${{ secrets.QUAY_IMAGE_SCLORG_BUILDER_USERNAME }} registry_token: ${{ secrets.QUAY_IMAGE_SCLORG_BUILDER_TOKEN }} dockerfile: Dockerfile.daily-tests - tag: "0.6.0" + tag: "0.6.1" image_name: "upstream-daily-tests" quay_application_token: ${{ secrets.QUAY_IMAGE_SCLORG_UPDATE_DESC }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8df16d3..0000000 --- a/.travis.yml +++ /dev/null @@ -1,4 +0,0 @@ -language: shell -os: linux -script: - - make shellcheck diff --git a/Dockerfile.daily-tests b/Dockerfile.daily-tests index bc5faab..2a0dcdb 100644 --- a/Dockerfile.daily-tests +++ b/Dockerfile.daily-tests @@ -2,7 +2,7 @@ FROM quay.io/fedora/fedora:42 ENV SHARED_DIR="/var/ci-scripts" \ VERSION="42" \ - RELEASE_UPSTREAM="0.6.0" \ + RELEASE_UPSTREAM="0.6.1" \ UPSTREAM_TMT_REPO="https://github.com/sclorg/sclorg-testing-farm" \ UPSTREAM_TMT_DIR="sclorg-testing-farm" \ HOME="/home/nightly" \ diff --git a/Makefile b/Makefile index 7268d9f..e5c2a06 100644 --- a/Makefile +++ b/Makefile @@ -7,4 +7,4 @@ shellcheck: ./run-shellcheck.sh `git ls-files *.sh` build_images: - podman build -t quay.io/sclorg/upstream-daily-tests:0.6.0 -f Dockerfile.daily-tests . + podman build -t quay.io/sclorg/upstream-daily-tests:0.6.1 -f Dockerfile.daily-tests . diff --git a/show_logs.py b/show_logs.py index b5f8677..9f48367 100644 --- a/show_logs.py +++ b/show_logs.py @@ -13,7 +13,6 @@ def __init__(self): self.cwd = os.getcwd() def iter_results_in_directory(self): - """Yield all files in the given directory.""" success_tests = [] failed_tests = [] for item in DAILY_REPORTS_DIR.iterdir(): @@ -23,8 +22,10 @@ def iter_results_in_directory(self): success_tests.append(item.name) else: failed_tests.append(item.name) - print(f"Success tests in {DAILY_REPORTS_DIR} are: {success_tests}") - print(f"Failed tests in {DAILY_REPORTS_DIR} are: {failed_tests}") + print(f"Success tests in {DAILY_REPORTS_DIR} are:") + print("\n".join(success_tests)) + print(f"Failed tests in {DAILY_REPORTS_DIR} are:") + print("\n".join(failed_tests)) def iter_over_executed_tests(self): """Yield all executed tests in the given directory.""" @@ -34,7 +35,7 @@ def iter_over_executed_tests(self): if item.is_file(): executed_tests.append(item.name) print("Executed tests are:") - print(executed_tests.split("\n")) + print("\n".join(executed_tests)) def print_report(self): print("Daily SCL Tests Reports:")