mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-14 13:29:44 +08:00
Merge #142 Add instructions on how to kinit against stg.
This commit is contained in:
@@ -4,10 +4,16 @@ Development
|
||||
We have two mechanisms for quickly setting up a development environment. `docker-compose` and `vagrant`.
|
||||
|
||||
In order to to setup a development environment, it is required that you have
|
||||
your Fedora kerberos credentials generated in a *special location*. Run the
|
||||
following::
|
||||
your Fedora kerberos credentials generated in a *special location*.
|
||||
Furthermore, our staging kerberos environment is a little special (compared to
|
||||
the production one). You need to copy a kerberos configuration file for the
|
||||
realm to your system::
|
||||
|
||||
$ KRB5CCNAME=FILE:/var/tmp/krbcc kinit YOUR_USERNAME@FEDORAPROJECT.ORG
|
||||
$ sudo cp krb5-stg.fp.o /etc/krb5.conf.d/stg_fedoraproject_org
|
||||
|
||||
Then, before starting your development environment, run the following::
|
||||
|
||||
$ KRB5CCNAME=FILE:/var/tmp/krbcc kinit YOUR_USERNAME@STG.FEDORAPROJECT.ORG
|
||||
|
||||
If you have problems in later steps with kerberos reading those credentials
|
||||
inside the `scheduler` container, you should check that `/var/tmp/krbcc` exists
|
||||
|
||||
@@ -26,4 +26,5 @@ COPY ./requirements.txt /opt/module_build_service/
|
||||
RUN pip install --user -r ./requirements.txt
|
||||
|
||||
RUN ln -s /opt/module_build_service/koji.conf /etc/module_build_service/koji.conf \
|
||||
&& ln -s /opt/module_build_service/copr.conf /etc/module_build_service/copr.conf
|
||||
&& ln -s /opt/module_build_service/copr.conf /etc/module_build_service/copr.conf \
|
||||
&& ln -s /opt/module_build_service/krb5-stg.fp.o /etc/krb5.conf.d/stg_fedoraproject_org
|
||||
|
||||
7
krb5-stg.fp.o
Normal file
7
krb5-stg.fp.o
Normal file
@@ -0,0 +1,7 @@
|
||||
[realms]
|
||||
STG.FEDORAPROJECT.ORG = {
|
||||
kdc = https://id.stg.fedoraproject.org/KdcProxy
|
||||
}
|
||||
[domain_realm]
|
||||
.stg.fedoraproject.org = STG.FEDORAPROJECT.ORG
|
||||
stg.fedoraproject.org = STG.FEDORAPROJECT.ORG
|
||||
Reference in New Issue
Block a user