Radu Cotescu created SLING-13314:
------------------------------------
Summary: The Sling committer CLI cannot use SSH keys for signing
git commits
Key: SLING-13314
URL: https://issues.apache.org/jira/browse/SLING-13314
Project: Sling
Issue Type: Bug
Components: Tooling
Reporter: Radu Cotescu
Fix For: Committer CLI 1.0.0
I was building a recent version of the CLI (HEAD
{{{}cc62920d9aa30885b6b3a4f3c2539639e8447702{}}}) and the following tests were
failing:
{noformat}
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]
JBakeContentUpdaterTest.updateReleases_releaseAlreadyExists:294->updateReleases0:263
» UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR]
JBakeContentUpdaterTest.updateReleases_releaseExistingMonthAndDay:317->updateReleases0:263
» UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR]
JBakeContentUpdaterTest.updateReleases_releaseInExistingMonth:233->updateReleases0:263
» UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR]
JBakeContentUpdaterTest.updateReleases_releaseInNewMonth:300->updateReleases0:263
» UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateLocalSiteCommandTest.testAFreshCloneIsShallowAndSingleBranch »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR]
UpdateLocalSiteCommandTest.testAnUpToDateEntryDoesNotHideAMissingSibling »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR]
UpdateLocalSiteCommandTest.testArtifactIdsComeFromTheStagedPomsWhenARepositoryIsGiven
» UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR]
UpdateLocalSiteCommandTest.testAutoCommitsAndPushesWithTheReleaseManagerAsAuthorAndCommitter
» UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateLocalSiteCommandTest.testDryRunEditsTheCheckoutButPushesNothing
» UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR]
UpdateLocalSiteCommandTest.testEnsureRepoRestoresThePublishedBranchAndDiscardsLocalWork
» UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR]
UpdateLocalSiteCommandTest.testEnsureRepoSurvivesADirtyFileThatDiffersBetweenBranches
» UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateLocalSiteCommandTest.testIOExceptionReturnsSoftware »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateLocalSiteCommandTest.testInteractiveDeclinedDoesNotPush »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR]
UpdateLocalSiteCommandTest.testMaintenanceReleaseOfAnOlderMajorLeavesTheDownloadsPageAlone
» UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateLocalSiteCommandTest.testNoRepositoryNoReleaseReturnsUsage »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR]
UpdateLocalSiteCommandTest.testRefreshingAFullCheckoutDoesNotMakeItShallow »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR]
UpdateLocalSiteCommandTest.testRerunningAgainstAnUpToDatePageCommitsNothing »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR]
UpdateLocalSiteCommandTest.testUnresolvableArtifactIdsAreReportedAsNotListed »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateLocalSiteGitTest.createRepositories:83 »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateLocalSiteGitTest.createRepositories:83 »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateLocalSiteGitTest.createRepositories:83 »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateNewsCommandTest.testAddsALinkedEntryAndPushesInAutoMode »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateNewsCommandTest.testAnAlreadyAnnouncedReleaseCommitsNothing »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateNewsCommandTest.testDryRunDoesNotPush »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateNewsCommandTest.testIOExceptionReturnsSoftware »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateNewsCommandTest.testNoRepositoryNoReleaseReturnsUsage »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateNewsCommandTest.testRepositoryResolvesReleasesFromService »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[ERROR] UpdateNewsCommandTest.testWithoutALinkTheEntryIsPlainText »
UnsupportedSigningFormat No signer for ssh signatures. Use another signature
type for git config gpg.format, or do not sign.
[INFO]
[ERROR] Tests run: 183, Failures: 0, Errors: 28, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)