Project

General

Profile

Actions

action #102206

closed

QA - coordination #99303: [saga][epic] Future improvements for SUSE Maintenance QA workflows with fully automated testing, approval and release

QA - action #97274: qam dashboard improvement ideas

Make bot-ng a proper public open source project size:M

Added by okurz about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
Start date:
2021-06-29
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Followup to #94838

Acceptance criteria

Suggestions

  • Look at the ansible deployment pipeline (in qa-maintenance)

Out of scope

  • New tests or features (see epic)

Related issues 1 (0 open1 closed)

Copied from openQA Project - action #94838: Make qem-dashboard a proper public open source project size:MResolvedkraih2021-06-29

Actions
Actions #1

Updated by okurz about 3 years ago

  • Copied from action #94838: Make qem-dashboard a proper public open source project size:M added
Actions #2

Updated by okurz about 3 years ago

Added to backlog as discussed during midweekly unblock meeting within SUSE QE Tools 2021-11-10 as we covered this topic. kraih wanted to volunteer for #94838 and this is closely related.

Actions #3

Updated by livdywan about 3 years ago

  • Subject changed from Make qem-dashboard surrounding tooling proper public open source projects as well to Make bot-ng a proper public open source project size:M
  • Description updated (diff)
  • Status changed from New to Workable
  • Parent task set to #97274
Actions #4

Updated by okurz almost 3 years ago

#94838 was successfully completed. With that approach we managed to still run gitlab CI pipelines. We can either follow the same approach for bot-ng or similar as we do for https://github.com/os-autoinst/openqa_review along with https://gitlab.suse.de/openqa/openqa-review/

Actions #5

Updated by okurz almost 3 years ago

  • Status changed from Workable to In Progress
  • Assignee set to okurz

I am ready to take this myself then. IMHO for creating a project on github we should think about a good name. "bot-ng" itself is ambiguous so a project like https://github.com/openSUSE/bot-ng wouldn't be a good idea. This is why I always consider the full name to be "qa-maintenance/bot-ng". How about "qambot"? A one-line explanation describing the project could then be "The SUSE QA Maintenance bot for openQA". For a complete project name I suggest "https://github.com/openSUSE/qambot" and as alternative "https://github.com/os-autoinst/qambot". Any opinions?

Regarding deployment we are currently using gitlab CI with periodic schedule based executions within the gitlab CI pipelines based on container images. So in my understanding we can simply exchange the container image to use one from build.opensuse.org including SUSE CA certificates, e.g. just like build.opensuse.org/project/show/home:okurz:container:ca/ and use the latest container images in each execution cycle so there is no impact where the code is maintained.

Actions #6

Updated by okurz almost 3 years ago

Asked in weekly unblock of the team. We decided that we favor https://github.com/openSUSE/qem-bot as a name.

Actions #7

Updated by okurz almost 3 years ago

Created empty repo https://github.com/openSUSE/qem-bot and will use the same approach as in #90164 first to mirror the data, then we can softly switch over CI pipelines and test it out before we remove the source from the internal repo. So I created the new github repo, invited the openSUSE/tools-team and "openqa-git-sync". I logged into that account in my browser in a private window using credentials from https://gitlab.suse.de/openqa/scripts/-/blob/master/password#L18, copied the invitation URL received by email into that browser instance and accepted the invitation. In https://gitlab.suse.de/qa-maintenance/bot-ng/-/settings/repository I added the URL https://openqa-git-sync@github.com/openSUSE/qem-bot with the according password. I triggered an update run and https://github.com/openSUSE/qem-bot has it all. Currently the CI pipeline in https://gitlab.suse.de/qa-maintenance/bot-ng/-/blob/master/.gitlab-ci.yml#L12 uses registry.suse.de/qa/maintenance/containers/qam-ci-leap:latest which comes from https://build.suse.de/package/view_file/QA:Maintenance/openSUSE-Leap-Container/Dockerfile?expand=1 . The only internal package in there seems to be https://build.suse.de/package/show/QA:Maintenance/qam-metadata . But it seems we only bring in the metadata this way and dependencies. The source code of qem-bot itself so far we cloned in the pipeline from the git repo itself. I propose to change that with https://gitlab.suse.de/qa-maintenance/bot-ng/-/merge_requests/48 to use the github repo directly.

Actions #8

Updated by okurz almost 3 years ago

  • Status changed from In Progress to Feedback

waiting for merge of MR before disabling mirorring again and moving and removing internal source and just keeping the gitlab CI config.

Actions #9

Updated by okurz almost 3 years ago

  • Status changed from Feedback to Resolved

mirroring was disabled and https://gitlab.suse.de/qa-maintenance/bot-ng/-/commit/c2fbf9443c6c7f3a5560d2a7644d2704ed35c40f removed the source except the gitlab CI pipeline config. So this is done as well

Actions

Also available in: Atom PDF