Skip to content

Commit

Permalink
Stop travis runs by removing config file and update documentation
Browse files Browse the repository at this point in the history
We run our tests reliably on testing farm and we stopped our travis
subscription.
  • Loading branch information
KKoukiou committed Oct 31, 2024
1 parent 2ca0796 commit 7ac79db
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 16 deletions.
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

6 changes: 0 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -368,12 +368,6 @@ created PRs, however, only committers have privileged to execute `tmt workflow`_
by comment ``/test-tmt`` on the PR. After a while status on PR will have a link to
TMT run.

Thus PR tests run on Travis_, which is one of the few public CI providers who
offer ``/dev/kvm``. The entry point is `.travis.yml`_. The ``run_travis.sh``
script checks which tests are affected by the PR, and runs the first six in
the runner container's launch script. Travis jobs are limited to 50 minutes, so
we cannot currently run more; but that should suffice in most cases.

PR runs do *not* auto-retry test failures. This avoids introducing unstable
tests, and PRs usually just run a few tests so that flakes are much less likely
to ruin the result.
Expand Down
2 changes: 1 addition & 1 deletion plans/testing-farm.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ discover:
trap "cp -rv data/logs/ ${TMT_TEST_DATA}/" EXIT INT QUIT PIPE

cd /root/kickstart-tests
scripts/run_travis.sh
scripts/run.sh


duration: 6h
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_travis.sh → scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ CHANGED_TESTS=$(git diff --name-only upstream/master..HEAD -- *.ks.in $(find -ma
TESTS=$CHANGED_TESTS

# if the PR changes anything in the test runner, or does not touch any tests, pick a few representative tests
# FIXME: Once the runner container can run groups properly, replace with a TESTTYPE="travis" group
if [ -z "$TESTS" ] || [ -n "$(git diff --name-only upstream/master..HEAD -- containers scripts)" ]; then
TESTS="$TESTS
bindtomac-network-device-default-httpks
Expand All @@ -35,6 +34,7 @@ sudo -n chmod 666 /dev/kvm

sudo -n containers/squid.sh start

# FIXME: Maybe it's not needed with testing farm
# With parallel jobs, each test takes a little longer than 10 minutes, which makes Travis abort
# <https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received>
# Avoid this by printing a keep-alive '.' line every minute
Expand Down

0 comments on commit 7ac79db

Please sign in to comment.