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

Script to register pod on local registry #5

Merged
merged 4 commits into from
Oct 8, 2024
Merged

Script to register pod on local registry #5

merged 4 commits into from
Oct 8, 2024

Conversation

jackdbd
Copy link
Owner

@jackdbd jackdbd commented Oct 7, 2024

This PR introduces a script that:

  1. Downloads from GitHub Releases the manifest.edn of a specific version of this pod.
  2. Copies the manifest.edn to the directory <org>/<pod-name>/<version> of a local pod registry, as explained in the instructions on how to register a pod.
  3. Copies an example to the directory examples of a local pod registry.

The script can be executed with:

./scripts/register.sh

This PR also add a new Babashka task register that invokes the script, so we can also run:

bb register

Warning

If at least one version of a pod is already registered on pod-registry, it's better to run the script upgrade-manifest.clj as suggested in this comment.

Copy link

changeset-bot bot commented Oct 7, 2024

⚠️ No Changeset found

Latest commit: 34a6cd5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jackdbd jackdbd force-pushed the register-pod branch 5 times, most recently from 02621fa to 414fad9 Compare October 8, 2024 11:58
@jackdbd jackdbd self-assigned this Oct 8, 2024
@jackdbd jackdbd merged commit b925cd6 into main Oct 8, 2024
8 checks passed
@jackdbd jackdbd deleted the register-pod branch October 8, 2024 13:25
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

Successfully merging this pull request may close these issues.

1 participant