From f1dbffce0aef8d959a29c1fd6b52ea715296f256 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 19 Oct 2017 13:35:35 -0700 Subject: [PATCH] Add GPG key to tag-releases job It uses this on the remote node in order to sign the git tags. Remove it and the ssh private key from the remote node as well. Change-Id: I89c58194905aec383af7b4c7d970b040ca4e55bb Depends-On: I2f13f0c4de91808ba1bbdcc0fd20a547e43d602b --- playbooks/release/post.yaml | 2 ++ playbooks/release/pre.yaml | 1 + zuul.d/jobs.yaml | 1 + 3 files changed, 4 insertions(+) diff --git a/playbooks/release/post.yaml b/playbooks/release/post.yaml index 1e6409e20a..87f74fb639 100644 --- a/playbooks/release/post.yaml +++ b/playbooks/release/post.yaml @@ -1,3 +1,5 @@ - hosts: all roles: + - remove-sshkey - remove-launchpad-credentials + - remove-gpgkey diff --git a/playbooks/release/pre.yaml b/playbooks/release/pre.yaml index c33c9eb54c..1779904990 100644 --- a/playbooks/release/pre.yaml +++ b/playbooks/release/pre.yaml @@ -15,3 +15,4 @@ - legacy-copy-project-config-scripts - add-sshkey - add-launchpad-credentials + - add-gpgkey diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index b2b7302619..9bd84cfd97 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -631,6 +631,7 @@ secret: lp_creds - name: ssh_key secret: release_ssh_key + - gpg_key - job: name: project-config-check-main-yaml