Skip to content

GitHub and GitLab deployment improvements

Tasks

  • Automatic canonical mirrors:

    • Setup automatic mirroring to https://github.com/onion-launchpad/onion-launchpad.github.io. This will probably need a dedicared user or use the torproject account (or even transfer the project to https://github.com/torproject).
    • Do the same on GitLab.com.
    • Update the deployment documentation suggesting that GitHub users can just fork this repository mirror. Document as a simpler deployment procedure based on user forking Onion Launchpad's mirror on GitLab or GitHub, then configure and trigger a build, and optionally keeping their repositories automatically synced.
  • Use the similar naming scheme for GitLab and GitHub deployments in the INI config files?

  • Document the permissions needed in GitHub Access Tokens.

  • Document the permissions needed in GitLab Access Tokens.

  • Use variables instead of secrets on GitHub. Currently this is in beta but may change soon:

    > Note: Configuration variables for GitHub Actions are in beta and
    > subject to change.
    >
    > -- https://docs.github.com/en/actions/learn-github-actions/variables
    >    as of 2023-01-30
Edited by Silvio Rhatto