Repository navigation
Conversation
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.
Summary
Replace the
c2cciutils-publishpublication, which relied on the abandonedcamptocamp/initialise-gopass-summon-action, withtag-publishrunning in a dedicated job whose dependencies are fully locked.Context
camptocamp/initialise-gopass-summon-actionis abandoned in favour of GitHub OpenId Connect.gs/ci/dockerhubtogs/projects/dockerhub,gs/ci/transifextogs/projects/transifex), so thepatternsused by this workflow no longer resolve.Implementation Details
.github/publish.yamldeclares the PyPI publication (version_tagandversion_branch). The equivalent section is removed fromci/config.yaml, which is deleted as it held nothing else..github/publish/is a uv project pinningtag-publish[pypi]==1.3.2with a committeduv.lock, kept up to date by theuv-lockhook ofsbrunner/hooks.publishjob runs afterbuild, is gated on itssuccessoutput, and only asks forcontents: readandid-token: write.buildno longer publishes, it only exports thesuccessoutput. The gopass step is dropped andci/requirements.txtloses the[publish]extra.permissions: contents: read, actions pinned by commit hash, pip installs restricted to--only-binary=:all:.docs.yamlgets the same treatment, plus the explicitcontents: writeit needs to push the GitHub Pages branch.Testing & Validation
camptocamp/python-geoservercloudrepository, workflowmain.yaml, without environment.publishjob publishes nothing on pull requests, tag-publish only acts on the declared version types.Impact/Risks
PYPI_PASSWORDcredentials coming from the gopass store are no longer used.masterfails with an authentication error.geoservercloudpackage.