This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v2-8-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 294f22ec8f47e6bdecb59948564ecd170ee460e3 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. (cherry picked from commit 7cb3332d08ec53484f5062e381eaa1b4337c579e) --- .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 d636b2eee4..8d1a8bfb2e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1107,7 +1107,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]
