Skip to content

Commit

Permalink
Merge pull request #5421 from perlpunk/update-assets-docs
Browse files Browse the repository at this point in the history
Update docs for asset cache
  • Loading branch information
mergify[bot] authored Jan 11, 2024
2 parents b5e992e + 5aa87bc commit 789d3fc
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docs/Contributing.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -415,13 +415,17 @@ as part of openSUSE Tumbleweed.
push directly) locally, e.g. `osc co devel:openQA/openQA`.
2. Get the script `update-cache.sh` from the main git repository with
`osc service ra`
3. Run `bash *update-cache.sh` inside the repository folder. Follow the log
checking no download errors occurred.
4. Do a sanity check on the generated `cache.txz`. It usually should not be
3. If you changed a url or added a new asset, you have to run the steps from
`update-cache.sh` manually, and instead of running
`./tools/generate-packed-assets` from the upstream git, you have to run it
on the git checkout that contains the change.
4. If there are no changes or new urls, run `bash *update-cache.sh` inside the
repository folder. Follow the log checking no download errors occurred.
5. Check the generated `cache.txz`. It usually should not be
smaller than before, contain the newly added sources and must not contain
any empty files.
5. Add an entry to the changes file using `osc vc openQA.changes`.
6. `osc ci -m 'Update asset cache'`
6. Add an entry to the changes file using `osc vc openQA.changes`.
7. `osc ci -m 'Update asset cache'`

== Managing the database

Expand Down

0 comments on commit 789d3fc

Please sign in to comment.