_______________________________________________On Thu, 2022-08-25 at 15:47 +0800, TommyLike Hu wrote:Hey COPR team,Is there any document on how to run a COPR server on the kubernetes cluster? Including the builder if it's possible.You have http://frostyx.cz/posts/copr-docker-compose-without-supervisord and previous article https://frostyx.cz/posts/copr-stack-dockerizedhere is my notes when I build my copr builder (based on previous article mention here):dnf install docker docker-compose podman/usr/sbin/usermod -a -G docker sergiombcat /etc/group | grep sergiombsystemctl start dockeruser:git clone https://pagure.io/copr/copr.gitcd copr/docker-compose up -dafter we need init database and add create the chrootsdocker exec -it copr_frontend_1 bashcat /usr/bin/init-database.sh#!/bin/bashcd /usr/share/copr/coprs_frontend/ && copr-frontend create-db --alembic alembic.inicopr-frontend create-chroot$(ls /etc/mock/{fedora--{i386,x86_64}.cfg,epel--x86_64.cfg} |xargs -I{} -n1 basename {} .cfg)and the problems start herethe components of corp use corp rpms on https://copr.fedorainfracloud.org/coprs/g/copr/copr/ and not the git source , so the fix on git aren't there@copr/copr Coprwe need this commit https://pagure.io/copr/copr/c/0e1e9b20ad5d2a72e6368e353078cca0bea75dab?branch=main to init dbCommit - copr/copr - 0e1e9b20ad5d2a72e6368e353078cca0bea75dab - Pagure.iocopr / copr Clone Source Code GIT Documentation GIT Learn more about these different git repos.and we need this commit https://pagure.io/copr/copr/c/15726fc653461d8e0309602b70c4ad23984c0fff?branch=main to builder sign the packages (this one is docker configuration should be transparent)Commit - copr/copr - 15726fc653461d8e0309602b70c4ad23984c0fff - Pagure.iocopr / copr Clone Source Code GIT Documentation GIT Learn more about these different git repos.copr-frontend create-chroot also have issues that I solved manually directly on database , after talk with copr guys , and is running smooth_______________________________________________copr-devel mailing list -- copr-devel@lists.fedorahosted.orgTo unsubscribe send an email to copr-devel-leave@lists.fedorahosted.orgFedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelinesDo not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue--Sérgio M. B.
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue