Make sure kojira survives prod -> stg sync
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
7e9ef9e99d
commit
a8217487d4
1 changed files with 2 additions and 1 deletions
|
@ -162,7 +162,8 @@ insert into user_perms (user_id, perm_id, active, creator_id) values (
|
|||
{% for username, principal in [('releng', 'compose/koji.stg.fedoraproject.org'),
|
||||
('koschei', 'koschei/koschei-backend01.stg.phx2.fedoraproject.org'),
|
||||
('hotness', 'hotness/hotness01.stg.phx2.fedoraproject.org'),
|
||||
('containerbuild', 'osbs/osbs.stg.fedoraproject.org')] %}
|
||||
('containerbuild', 'osbs/osbs.stg.fedoraproject.org'),
|
||||
('kojira', 'kojira/koji.stg.fedoraproject.org@STG.FEDORAPROJECT.ORG')] %}
|
||||
update users set krb_principal='{{principal}}@STG.FEDORAPROJECT.ORG' where username='{{username}}';
|
||||
{% endfor %}
|
||||
update users set krb_principal=replace(krb_principal, '@FEDORAPROJECT.ORG', '@STG.FEDORAPROJECT.ORG');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue