ckanext-xloader icon indicating copy to clipboard operation
ckanext-xloader copied to clipboard

CICD Publish - Bug's and Enhancements

Open duttonw opened this issue 1 year ago • 2 comments

Now that we have an semi working deployment.

We need to fix it to be available for other plugins, etc to use.

To fix:

  • testpypi publish was skipped when it should have published, see
  • version details from script was not found and not used by later parts of cicd. i.e. "Published @ to " should have been "Published ckanext-xloader @ 1.1.1 to https://pypi.org/project/ckanext-xloader/
  • Fix auto publish when tag is pushed.
  • Don't continue publish is git tag and python version are not matching

Enhancements:

  • Create Service Account bot/worker and have it given access to the repository.
    • Setup gpg signing for the Service Account bot and security install into repo github actions secrets (ensure 12+char passphrase is set)
    • Setup ssh public/private key for the Service Account bot and install into the repo github actions secrets (ensure 12+char passphrase is set)
  • Create Version Bump system based on https://github.com/callowayproject/bump-my-version?tab=readme-ov-file#github-actions using the service account as a signed git committer and push back to repo (so github actions downstream are triggered)

duttonw avatar Oct 16 '24 03:10 duttonw

For documentation rollup.

https://github.com/ckan/ckanext-xloader/issues/214#issuecomment-2415189905 https://github.com/ckan/ckanext-xloader/issues/214#issuecomment-2415384199 https://github.com/ckan/ckanext-xloader/issues/214#issuecomment-2415654586 https://github.com/DataShades/ckanext-oidc-pkce/issues/3

duttonw avatar Oct 16 '24 05:10 duttonw

https://github.com/ckan/ckanext-xloader/pull/233 https://github.com/ckan/ckanext-xloader/pull/231 https://github.com/ckan/ckanext-xloader/pull/228

duttonw avatar Oct 25 '24 04:10 duttonw