Skip to content

Commit 29bd89d

Browse files
committed
fix gerrit key path
1 parent 62128cf commit 29bd89d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scheduler/kubernetes/scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ def kube_job(self, job_id, cpu, mem, services=None):
608608
'value': private_key
609609
}]
610610
elif project_type == 'gerrit':
611-
with open(os.environ['INFRABOX_GERRIT_KEY_FILENAME']) as key:
611+
with open('/tmp/gerrit/id_rsa') as key:
612612
env += [{
613613
'name': 'INFRABOX_GIT_PORT',
614614
'value': os.environ['INFRABOX_GERRIT_PORT']

0 commit comments

Comments
 (0)