Skip to content

[config] Collapse configuration environments. #199

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

Merged
merged 1 commit into from
Jun 5, 2025

Conversation

moidx
Copy link
Collaborator

@moidx moidx commented Jun 5, 2025

Remove the /config/dev and /config/prod folders, and refactor the deploy
script:

  • Add //release:release_bundle target containing all the configuration
    scripts required to deploy the provisioning system.
  • config/certs, config/containers: Support ENVAR substitution to allow
    the integrator to customize the deployment.
  • config/spm: Supports dev and prod build configurations. These can set
    in the build flags: bazel build --define env={dev,prod}.
  • Run the SPM server as a process in loadtest to use the same
    configuration used in production.

@moidx moidx requested a review from timothytrippel June 5, 2025 08:47
@moidx moidx marked this pull request as ready for review June 5, 2025 15:13
@moidx moidx force-pushed the collapse-configs branch from 4029da3 to c246e80 Compare June 5, 2025 16:46
Remove the /config/dev and /config/prod folders, and refactor the deploy
script:

- Add //release:release_bundle target containing all the configuration
  scripts required to deploy the provisioning system.
- config/certs, config/containers: Support ENVAR substitution to allow
  the integrator to customize the deployment.
- config/spm: Supports dev and prod build configurations. These can set
  in the build flags: `bazel build --define env={dev,prod}`.
- Run the SPM server as a process in loadtest to use the same
  configuration used in production.

Signed-off-by: Miguel Osorio <[email protected]>
@moidx moidx force-pushed the collapse-configs branch from c246e80 to 53e2161 Compare June 5, 2025 16:51
@moidx moidx closed this Jun 5, 2025
@moidx moidx reopened this Jun 5, 2025
@moidx moidx merged commit 0a2408c into lowRISC:main Jun 5, 2025
8 of 16 checks passed
@moidx moidx deleted the collapse-configs branch June 5, 2025 18:43
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.

2 participants