ci: 公開系シークレットの疎通確認ワークフローを追加する - #29
Merged
Merged
Conversation
CD が使う認証情報の正しさは、名前の一致では確かめられず実際に接続するまで分からない。 タグを打ってから publish 段階で落ちるのを避けるため、手動起動で疎通だけを確かめる。 いずれのジョブも成果物を公開しない。Plugin Portal は --validate-only で検証のみ行い、 Central は上書き前提の snapshot リポジトリへ発行する。自版から -SNAPSHOT が外れた後の起動で 本物のデプロイを作らないよう、Central 側は版が SNAPSHOT であることを発行前に確かめる。 初回リリース前の一時的なワークフローであり、確認が済んだら削除する。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
初回リリース前に、CD が使う 6 つのシークレットが実際に通ることをリモートで確かめるための
一時的なワークフローを追加する。手動起動のみで、いずれのジョブも成果物を公開しない。
plugin-portalpublishPlugins --validate-only(自版から-SNAPSHOTを落とした版で起動)GRADLE_PUBLISH_KEY/GRADLE_PUBLISH_SECRETcentral-snapshotpublishToMavenCentral(SNAPSHOT のため Portal の snapshot リポジトリへ)MAVEN_CENTRAL_*/SIGNING_IN_MEMORY_*Plugin Portal は SNAPSHOT 版を受け付けず、版の形式だけで検証前に失敗するため、
認証情報まで到達させるには版の固定が要る。
--validate-onlyのため公開はされない。Central 側は、自版から
-SNAPSHOTが外れた後に起動すると確認のつもりで本物のデプロイを作ってしまうため、版が SNAPSHOT であることを発行前に確かめる。
確認が済んだら削除する。
🤖 Generated with Claude Code