#2213 Switch to rpmautospec mock plugin in prod
Merged 2 months ago by nphilipp. Opened 2 months ago by nphilipp.
fedora-infra/ nphilipp/ansible main--rpmautospec-mock-plugin-prod  into  main

@@ -16,10 +16,8 @@ 

      "group": ["--allowerasing"],

  }

  

- {% if env == "staging" %}

  config_opts['plugin_conf']['rpmautospec_enable'] = True

  config_opts['plugin_conf']['rpmautospec_opts'] = {

      'requires': ['rpmautospec'],

      'cmd_base': ['/usr/bin/rpmautospec', 'process-distgit'],

  }

- {% endif %}

@@ -101,16 +101,6 @@ 

  # rpmautospec plugin

  #

  

- - name: install koji builder rpmautospec plugin

-   package:

-     name: koji-builder-plugin-rpmautospec

-     state: present

-   when: env != 'staging'

-   tags:

-   - packages

-   - koji_builder

-   - rpmautospec

- 

  - name: remove koji builder rpmautospec plugin

    package:

      name:
@@ -118,7 +108,6 @@ 

        - python3-rpmautospec

        - rpmautospec

      state: absent

-   when: env == 'staging'

    tags:

    - packages

    - koji_builder

@@ -28,10 +28,8 @@ 

      "group": ["--allowerasing"],

  }

  

- {% if env == "staging" %}

  config_opts['plugin_conf']['rpmautospec_enable'] = True

  config_opts['plugin_conf']['rpmautospec_opts'] = {

      'requires': ['rpmautospec'],

      'cmd_base': ['/usr/bin/rpmautospec', 'process-distgit'],

  }

- {% endif %}

@@ -112,10 +112,6 @@ 

  {{ plugins.append("builder_containerbuild") }}

  {% endif %}

  

- {% if env != 'staging' %}

- {{ plugins.append("rpmautospec_builder") }}

- {% endif %}

- 

  {{ plugins.append("osbuild") }}

  

  {{ plugins.append("scmpolicy") }}