Skip to content

Refactor garm command, add password reset, cleanup#782

Merged
gabriel-samfira merged 1 commit into
cloudbase:mainfrom
gabriel-samfira:refactor-garm-cmd
Jun 13, 2026
Merged

Refactor garm command, add password reset, cleanup#782
gabriel-samfira merged 1 commit into
cloudbase:mainfrom
gabriel-samfira:refactor-garm-cmd

Conversation

@gabriel-samfira

@gabriel-samfira gabriel-samfira commented Jun 13, 2026

Copy link
Copy Markdown
Member

This change does a bunch of stuff:

  • Migrates the garm command to cobra command. This means that the -config flag will require two dashes instead of 1. So this will potentially break systemd units, but it can't be helped.
  • Add an admin subcommand that allows listing users and resetting the password for the admin user.
  • Removes old code that migrated github credentials from the config to the DB. It's time to let that bit go into the sunset.
  • Completely random convert spaces to tabs for the runner install templates because I forgot to do that in the previous PR.

Fixes: #656

This change does a bunch of stuff:

* Migrates the garm command to cobra command. This means that the
-config flag will require two dashes instead of 1. So this will
potentially break systemd units, but it can't be helped.
* Add an admin subcommand that allows listing users and resetting
the password for the admin user.
* Removes old code that migrated github credentials from the config
to the DB. It's time to let that bit go into the sunset.
* Completely random convert spaces to tabs for the runner install
templates because I forgot to do that in the previous PR.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
@gabriel-samfira gabriel-samfira merged commit d846bf5 into cloudbase:main Jun 13, 2026
5 checks passed
@gabriel-samfira gabriel-samfira deleted the refactor-garm-cmd branch June 13, 2026 12:42
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.

Admin password reset

1 participant