From 27e81e3e575ebb42535386a0ae2bd645b7b93496 Mon Sep 17 00:00:00 2001 From: Tomas Tomecek Date: Feb 20 2017 18:22:29 +0000 Subject: more info how to build container images in fedora infra Signed-off-by: Tomas Tomecek --- diff --git a/source/development/building-modules/containers-infra.rst b/source/development/building-modules/containers-infra.rst index 566b679..c84d85d 100644 --- a/source/development/building-modules/containers-infra.rst +++ b/source/development/building-modules/containers-infra.rst @@ -15,6 +15,10 @@ infrastructure: entry via `Fedora Infra tracker `__. + +Builds in production +-------------------- + If you want to clone your dist-git repository using ``fedpkg``, you need to select correct namespace: @@ -28,12 +32,45 @@ or $ fedpkg clone modules/memcached + +Builds in staging +----------------- + + +Install ``fedpkg-stage`` which will add ``fedpkg-stage`` executable to your +system: + +:: + + $ dnf install -y fedpkg-stage + + +If ``fedpkg-stage`` is not able to talk to Fedora infrastructure, it's possible +that you've hit `this issue +`__. + +Make sure that you have kerberos ticket in stage (you may need to create a +Fedora infra ticket to get your production credentials copied to stage): + +:: + + $ kinit $USER@STG.FEDORAPROJECT.ORG + Once you are ready to submit a build, you need to push changes to a -remote and initiate a build +remote and initiate a build: + +:: + + $ git push + $ fedpkg-stage container-build + + +This is how staging dist-git remote looks like: :: - $ fedpkg container-build + git clone git+ssh://git@pkgs.stg.fedoraproject.org/$NAMESPACE/$COMPONENT + Inspecting registry -------------------