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

Revert "Enable automatic updates of test code and needles by default" #6045

Merged
merged 1 commit into from
Nov 5, 2024
Merged
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
6 changes: 3 additions & 3 deletions docs/GettingStarted.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,9 @@ clone a subdirectory under `/var/lib/openqa/tests` for each test distribution
you need, e.g. `/var/lib/openqa/tests/opensuse` for openSUSE tests.

The repositories will be kept up-to-date if `git_auto_update` is enabled in
`openqa.ini` (which is the default). The updating is triggered when new tests
are scheduled. For a periodic update (to avoid getting too far behind) you can
enable the systemd unit `openqa-enqueue-git-auto-update.timer`.
`openqa.ini`. The updating is triggered when new tests are scheduled. For a
periodic update (to avoid getting too far behind) you can enable the systemd
unit `openqa-enqueue-git-auto-update.timer`.

You can get openSUSE tests and needles from
https://github.com/os-autoinst/os-autoinst-distri-opensuse[GitHub]. To make it
Expand Down
4 changes: 2 additions & 2 deletions etc/openqa/openqa.ini
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@
#do_push = no
## whether to clone CASEDIR or NEEDLES_DIR on the web UI if that var points to a Git repo
#git_auto_clone = yes
## enable automatic updates of all test code and needles managed via Git
#git_auto_update = yes
## enable automatic updates of all test code and needles managed via Git (still experimental, currently still breaks scheduling parallel clusters)
#git_auto_update = no

## Authentication method to use for user management
[auth]
Expand Down
2 changes: 1 addition & 1 deletion lib/OpenQA/Setup.pm
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ sub read_config ($app) {
do_push => 'no',
do_cleanup => 'no',
git_auto_clone => 'yes',
git_auto_update => 'yes',
git_auto_update => 'no',
},
scheduler => {
max_job_scheduled_time => 7,
Expand Down
2 changes: 1 addition & 1 deletion t/config.t
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ subtest 'Test configuration default modes' => sub {
do_push => 'no',
do_cleanup => 'no',
git_auto_clone => 'yes',
git_auto_update => 'yes',
git_auto_update => 'no',
},
'scheduler' => {
max_job_scheduled_time => 7,
Expand Down
Loading