Skip to content

Commit

Permalink
Merge pull request #6045 from Martchus/git-update-default
Browse files Browse the repository at this point in the history
Revert "Enable automatic updates of test code and needles by default"
  • Loading branch information
mergify[bot] authored Nov 5, 2024
2 parents 3bb53a9 + 40ae05a commit d806bde
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
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

0 comments on commit d806bde

Please sign in to comment.