Skip to content
Snippets Groups Projects
Commit 3020d0b7 authored by Emanuele Aina's avatar Emanuele Aina
Browse files

Templatize osc credentials


Store the id of the credentials used to interact with OBS in a
single place.

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent 6614b11c
No related branches found
No related tags found
1 merge request!7Templatize some weekday and credentials
......@@ -6,3 +6,4 @@ maintainers: 'maintainers@lists.apertis.org'
repobase: 'git@gitlab.apertis.org:'
weekday: '*'
git-credentials-id: 'df7b609b-df30-431d-a942-af263af80571'
osc-credentials-id: '349d474d-a6d0-4ab0-987a-a3843916bdff'
......@@ -37,7 +37,7 @@
- timestamps
- credentials-binding:
- file:
credential-id: 349d474d-a6d0-4ab0-987a-a3843916bdff
credential-id: '{osc-credentials-id}'
variable: OSCRC
triggers:
- pollscm:
......
......@@ -50,7 +50,7 @@
- timestamps
- credentials-binding:
- file:
credential-id: 349d474d-a6d0-4ab0-987a-a3843916bdff
credential-id: '{osc-credentials-id}'
variable: OSCRC
triggers:
- pollscm:
......
......@@ -52,7 +52,7 @@
- timestamps
- credentials-binding:
- file:
credential-id: 349d474d-a6d0-4ab0-987a-a3843916bdff
credential-id: '{osc-credentials-id}'
variable: OSCRC
triggers:
- pollscm:
......
......@@ -40,7 +40,7 @@
- timestamps
- credentials-binding:
- file:
credential-id: 349d474d-a6d0-4ab0-987a-a3843916bdff
credential-id: '{osc-credentials-id}'
variable: OSCRC
triggers:
- pollscm:
......
......@@ -58,7 +58,7 @@
# credential-id: apertis-phabricator-arcrc
# variable: ARCRC
# - file:
# credential-id: 349d474d-a6d0-4ab0-987a-a3843916bdff
# credential-id: '{osc-credentials-id}'
# variable: OSCRC
- raw:
xml: |
......@@ -70,7 +70,7 @@
</org.jenkinsci.plugins.credentialsbinding.impl.FileBinding>
<org.jenkinsci.plugins.credentialsbinding.impl.FileBinding>
<variable>OSCRC</variable>
<credentialsId>349d474d-a6d0-4ab0-987a-a3843916bdff</credentialsId>
<credentialsId>{osc-credentials-id}</credentialsId>
</org.jenkinsci.plugins.credentialsbinding.impl.FileBinding>
<org.jenkinsci.plugins.credentialsbinding.impl.SSHUserPrivateKeyBinding>
<keyFileVariable>GIT_SSH_KEY</keyFileVariable>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment