Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop travis runs by removing config file and update documentation #1326

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-ci.sh


duration: 6h
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_travis.sh → scripts/run-ci.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