Merge "gerrit: fix Launchpad credentials write"
This commit is contained in:
commit
987cf88750
@ -1,5 +0,0 @@
|
||||
[1]
|
||||
access_token = <%= @lp_access_token %>
|
||||
access_secret = <%= @lp_access_secret %>
|
||||
consumer_key = <%= @lp_consumer_key %>
|
||||
consumer_secret =
|
@ -185,6 +185,8 @@
|
||||
group: "{{ gerrit_user_name }}"
|
||||
mode: 0775
|
||||
|
||||
# The hook scripts below use update-bug (provided by jeepyb) and this
|
||||
# authentication file.
|
||||
- name: Write Launchpad creds file
|
||||
template:
|
||||
src: infra_lp_creds.j2
|
||||
@ -192,7 +194,6 @@
|
||||
owner: "{{ gerrit_user_name }}"
|
||||
group: "{{ gerrit_user_name }}"
|
||||
mode: 0600
|
||||
when: lp_access_token is defined
|
||||
|
||||
- name: Copy static hooks
|
||||
copy:
|
||||
|
@ -1,5 +1,5 @@
|
||||
[1]
|
||||
access_token = {{ gerrit_lp_access_token }}
|
||||
access_secret = {{ gerrit_lp_access_secret }}
|
||||
consumer_key = {{ gerrit_lp_consumer_key }}
|
||||
access_token = {{ gerrit_launchpad_auth['access_token'] }}
|
||||
access_secret = {{ gerrit_launchpad_auth['access_secret'] }}
|
||||
consumer_key = {{ gerrit_launchpad_auth['consumer_key'] }}
|
||||
consumer_secret =
|
||||
|
@ -100,3 +100,7 @@ gerrit_email_private_key: wjpkxebohgbid6rpuwpfrYsouxpgseluqir6yupppBczoezj
|
||||
gerrit_rest_token_private_key: A83fAC8x72wxcu
|
||||
gerrit_container_image: "docker.io/opendevorg/gerrit:{{ zuul_test_gerrit_version | default('3.2') }}"
|
||||
gerrit_under_test: true
|
||||
gerrit_launchpad_auth:
|
||||
access_token: 'token'
|
||||
access_secret: 'secret'
|
||||
consumer_key: 'consumer_key'
|
||||
|
Loading…
x
Reference in New Issue
Block a user