Skip to content

infra: update to use ssh keys instead of password for publishing arti…#12497

Open
mahesh-wor wants to merge 2 commits into
masterfrom
infra-ssh-key-support
Open

infra: update to use ssh keys instead of password for publishing arti…#12497
mahesh-wor wants to merge 2 commits into
masterfrom
infra-ssh-key-support

Conversation

@mahesh-wor

@mahesh-wor mahesh-wor commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Related Open Issue

#11751
https://github.com/geosolutions-it/support/issues/6199

Description

The goal is to use ssh public keys for authenticating to maven repository. Earlier implementaion of wagon-ssh has several downsides (eg: no support for newer crpt algo, custom settings.xml, no support of openssh keys etc), hence is replace with wagon-ssh-external that uses the host's ssh executeable to perform those actions.

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

What is the current behavior?
Github and Jenkins build/publish jobs uses username/password to authenticate to maven repository.

What is the new behavior?
Use of ssh-keys for authentication to maven repository with wagon-ssh-external plugin and updated github actions.

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

Rollback

Rollback would include reverting the PR, that should enable existing user/password based workflow. As a precaution existing secrets are left intact and to be deleted only when ssh-key based workflow is working.

GS_MAVEN_USERNAME
GS_MAVEN_PASSWORD

@cla-bot cla-bot Bot added the CLA Ready label Jun 16, 2026
@mahesh-wor mahesh-wor requested a review from offtherailz June 16, 2026 08:35
@mahesh-wor mahesh-wor force-pushed the infra-ssh-key-support branch from f279636 to 40cf182 Compare July 3, 2026 04:36
@mahesh-wor

Copy link
Copy Markdown
Contributor Author

Following ssh key/username already configured in github action secrets.

  • GS_MAVEN_MAPSTORE2_USERNAME
  • GS_MAVEN_MAPSTORE2_KEY

existing GS_MAVEN_USERNAME/GS_MAVEN_PASSWORD left intact. In case of issue, rollback stategy mentioned in Issue Description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant