#210 [DRAFT] Switch blockerbugs from EL7 to FC32
Merged 3 years ago by tflink. Opened 3 years ago by frantisekz.
fedora-infra/ frantisekz/ansible blockerbugs  into  master

@@ -2,8 +2,8 @@ 

  nm: 255.255.255.0

  gw: 10.3.163.254

  dns: 10.3.163.33

- ks_url: http://10.3.163.35/repo/rhel/ks/kvm-rhel-7-iad2

- ks_repo: http://10.3.163.35/repo/rhel/RHEL7-x86_64/

+ ks_url: http://10.3.163.35/repo/rhel/ks/kvm-fedora-32-iad2

+ ks_repo: http://10.3.163.35/pub/fedora/linux/releases/32/Server/x86_64/os/

  volgroup: /dev/vg_guests

  eth0_ip: 10.3.163.88

  vmhost: vmhost-x86-07.iad2.fedoraproject.org

@@ -1,23 +1,10 @@ 

  ---

  - name: install needed packages for blockerbugs

-   package: state=present name={{ item }} enablerepo=epel-testing

+   package: state=present name={{ item }}

    with_items:

-   - libsemanage-python

-   - python-psycopg2

-   - python-kitchen

-   - python-alembic

do we not need deps like alembic, flask etc. anymore?

-   - python-flask-wtf

-   - python-flask

-   - python-sqlalchemy

-   - python-fedora-flask

-   - python-wtforms

-   - python-fedora

-   - pytest

-   - python-lxml

-   - python-flask-sqlalchemy

-   - python-bugzilla

+   - libselinux-python3

+   - python3-mod_wsgi

    - blockerbugs

-   - python-bunch

    # this is for chronic which helps get rid of excess cron emails

    - moreutils

    tags:

@@ -26,3 +26,15 @@ 

  # enable fedmenu

  FEDMENU_URL = 'https://apps.fedoraproject.org/fedmenu/'

  FEDMENU_DATA_URL = 'https://apps.fedoraproject.org/js/data.js'

+ 

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

+ PAGURE_URL = "https://stg.pagure.io/"

+ PAGURE_API = "https://stg.pagure.io/api/0/"

+ {% else %}

+ PAGURE_URL = "https://pagure.io/"

+ PAGURE_API = "https://pagure.io/api/0/"

+ {% endif %}

+ PAGURE_REPO = "fedora-qa/blocker-review"

+ PAGURE_REPO_TOKEN = "{{ blockerbugs_pagure_repo_token }}"

+ PAGURE_REPO_WEBHOOK_KEY = "{{ blockerbugs_pagure_repo_webhook_key }}"

+ PAGURE_BOT_USERNAME = 'blockerbot'

cc @tflink , @jskladan , @kparal, @adamwill

That should be it, what isn't part of it yet:

  • Pagure repo secrets for async process (can be done later) - DONE, we need to add blockerbugs_pagure_repo_token into secrets store
  • blockerbugs package from develop branch needs to be released and built in f32-infra repository

rebased onto 0d907a9f6b67fb5509a18a4b1b5dcac8e3e254d9

3 years ago

do we not need deps like alembic, flask etc. anymore?

rebased onto ddbf01a1be3fd228ab29fb77826d542aec05ed6a

3 years ago

rebased onto 7a2f19fa640c7af2c5f7c15d04d499c1c0531b9b

3 years ago

rebased onto 23642226b350c76ccfe3b11b6d373a0721c943b1

3 years ago

rebased onto ff6841e

3 years ago

+1 from me, looks good

Pull-Request has been merged by tflink

3 years ago