Skip to content

add "cargo xtask local" to run buildomat locally#91

Open
emilyalbini wants to merge 1 commit intomainfrom
ea-kwvtkkzqoztv
Open

add "cargo xtask local" to run buildomat locally#91
emilyalbini wants to merge 1 commit intomainfrom
ea-kwvtkkzqoztv

Conversation

@emilyalbini
Copy link
Copy Markdown
Member

This PR adds the cargo xtask local family of commands to run a local instance of buildomat with minimal configuration.

The centerpiece if the cargo xtask local setup command, backed by the xtask-setup crate (it's split from xtask as it requires a lot of dependencies). It currently supports configuring buildomat-server, buildomat-github-server, and buildomat-factory-aws, and at startup asks which components the user wants to be configured.

There are then the cargo xtask local BINARY commands, which invokes the binary with the flags required to use the local setup. cargo xtask local buildomat also gives access to the CLI, pointed to the local server.

Other changes included in the PR:

  • Added a BUILDOMAT_CONFIG environment variable to the buildomat CLI to point to a separate configuration file, so that cargo xtask local buildomat can transparently use the correct credentials.
  • Made specifying the SSH key optional in the AWS factory.
  • Added the ability to allocate public IPs to instances in the AWS factory.

@emilyalbini emilyalbini requested a review from jclulow March 24, 2026 15:02
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