Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Migrate GitHub repos to private #202

Closed
13 tasks done
MartinBernstorff opened this issue Sep 28, 2022 · 0 comments
Closed
13 tasks done

Migrate GitHub repos to private #202

MartinBernstorff opened this issue Sep 28, 2022 · 0 comments
Assignees

Comments

@MartinBernstorff
Copy link
Collaborator

MartinBernstorff commented Sep 28, 2022

Seems we can install from private repos, as long as you're logged in with the correct user in git and use the SSH protocol: python-poetry/poetry#835

To verify:

  • Create a new private test-repo

  • Create a fake python package in it

  • Create a release

  • Install that release on Overtaci

  • Setup automatic release creation
    Seems there are good workflows for adding to pypi. Can we mirror the build process, and then add to GitHub instead?

  • Test that

  • Setup for T2D

release-please requires a GitHub token to access the GitHub API. You configure this token via the token configuration option. You can use the built-in GITHUB_TOKEN secret, however, note that any resources created by release-please (release tag or release pull request) will not trigger future GitHub actions workflows.

  • OH, IT SEEMS TO WORK NOW! Need to run checkout for the PAT to persist! Awesome!!!
  • Setup for feature-generation
  • Setup for ml-utils
  • Setup for psycop-t2d
  • For setup:
    • Add RELEASE_BOT access token to actions. Should be a personal access token with "repo" permissions.
    • Update .toml with
      • semantic_release section
      • match version in .toml with latest release on github. If no release on github, either 0.0.0, or create a tagged release.
    • GA files
      • Add main_test_and_release
      • Add test_prs
      • Add automerge
      • Update dependabot
      • Remove unused CI
    • Update the PR template
    • Get the first build done
  • Document how to install on Overtaci
  • If everything works, as Søren to pay for GitHub teams
  • When that goes through, setup private repos with releases on the production repos
@MartinBernstorff MartinBernstorff self-assigned this Sep 28, 2022
@MartinBernstorff MartinBernstorff changed the title Release package versions to GitHub to allow repos to be private Migrate GitHub repos to private Sep 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant