Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detailed workflow to start self-hosted Registrator? #421

Open
sairus7 opened this issue Oct 18, 2023 · 0 comments
Open

Detailed workflow to start self-hosted Registrator? #421

sairus7 opened this issue Oct 18, 2023 · 0 comments

Comments

@sairus7
Copy link

sairus7 commented Oct 18, 2023

Hi guys, I have a question on how should I automate github releases, git tags and versions registered for private Julia packages and registry?

First workflow:

  1. Package author changes Project.toml version
  2. Github Action triggered, that runs Julia with LocatRegistry that makes register, git tag and github release

Second workflow:

  1. Write commands for registrator bot in issues and PRs
  2. TagBot.yml action triggers and makes git tag and github release

For the first workflow, I need to:

  1. Add one custom github action for each private repo.

For the second option I need (to learn how) to:

  1. Self-host and configure Registrator for private repos.
  2. Create Github App and register it.
  3. Add TagBot.yml for each private package repo.

Looks like first workflow is simpler, but maybe it's very easy to use the second one? The problem is, I don't get the exact workflow from this docs, there are just some scattered hints:
https://juliaregistries.github.io/Registrator.jl/stable/hosting/#Private-packages-and-registries-1

For now I did the following:

  1. Forked https://github.com/JuliaRegistries/Registrator.jl into my github org
  2. Cloned it into my github self-hosted runner machine
  3. Changed disable_private_registrations to true
  4. ... Which github user should I add in configuration file? I see empty user entries in config.regservice.toml and config.commentbot.toml files along with emal, token, secret. Where should I get them?
  5. ... Where should I control components of registrator?
  6. Run build.sh that builds docker container.
  7. ... Just start docker container? How should I convert/connect it to Github App?
  8. ... How should I install the GitHub App on the repository, and which repo - private registry, or each private package?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant