Skip to content

Commit

Permalink
Enable --calculate-build-deps option in csmock
Browse files Browse the repository at this point in the history
Related: openscanhub#75

Signed-off-by: Siteshwar Vashisht <[email protected]>
  • Loading branch information
siteshwar committed Nov 5, 2024
1 parent b1cb7b9 commit b3773bd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# mock site configuration
# -----------------------
#
# Any configuration here has global effect - affects all mock users on this host
# and all the mock chroot configurations. User specific configuration can be
# installed to "$HOME/.config/mock.cfg".
#
# Config options are documented in /usr/share/doc/mock/site-defaults.cfg file.
#
# Entries in this file follow the same format as other mock config files:
# config_opts['foo'] = 'bar'
config_opts["calculatedeps"] = True
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@
name: csmock-plugin-clippy
state: latest

# Workaround for https://github.com/openscanhub/fedora-infra/issues/75
# TODO: Remove when https://github.com/csutils/csmock/issues/188 is resolved
- name: Copy /etc/mock/site-defaults.cfg
ansible.builtin.copy:
src: site-defaults.cfg
dest: /etc/mock/site-defaults.cfg
owner: root
group: mock
mode: 0644

- name: Print status of the worker
ansible.builtin.debug:
msg: Worker virtual machine is set up, but `osh-worker` is not started. It should be started by `osh-worker-manager` from osh-hub.

0 comments on commit b3773bd

Please sign in to comment.