This is an automated email from the ASF dual-hosted git repository.
eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 7cb3332d08 Ignore occasional GPG error exists when generating key
(#37325)
7cb3332d08 is described below
commit 7cb3332d08ec53484f5062e381eaa1b4337c579e
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Feb 11 10:06:13 2024 +0100
Ignore occasional GPG error exists when generating key (#37325)
Sometimes we can have a GPG key exists because of race condition
in the current way Github Runner is used - where the same runner
is used more than once. In such case we simply ignore the error
that GPG key exists.
---
.github/workflows/ci.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index db11f5c812..430a923daf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1104,7 +1104,8 @@ jobs:
breeze release-management prepare-helm-chart-tarball
--ignore-version-check --override-tag
--skip-tag-signing --version 0.0.0 --version-suffix dev0
- name: Generate GPG key for signing
- run: gpg --batch --passphrase '' --quick-gen-key
[email protected] default default
+ # Sometimes the key will be already added to the keyring, so we ignore
the error
+ run: gpg --batch --passphrase '' --quick-gen-key
[email protected] default default || true
- name: "Helm release package"
run: >
breeze release-management prepare-helm-chart-package --sign-email
[email protected]