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

Is there a way to pass parameters to cli non-interactive command. #266

Open
SSIvanov19 opened this issue Nov 6, 2024 · 0 comments
Open

Comments

@SSIvanov19
Copy link

🔥 Bug Description

I am trying to run aspirate generate inside GitHub Action. When the program asks for parameters, I get the following error:

(!) Cannot obtain non-generated values for inputs in non-interactive mode.  Inputs are required according to the manifest.

This is the full command that I am running:

aspirate generate --non-interactive --disable-secrets --namespace project-namespace -ct dev-latest --include-dashboard true --image-pull-policy Always

This is the output from the console:

Handle deployments of a .NET Aspire AppHost
── Handling Aspirate State ─────────────────────────────────────────────────────
── Handling Aspirate Secrets ───────────────────────────────────────────────────
Secrets are disabled.
Non-interactive mode enabled.
── Handling Configuration ──────────────────────────────────────────────────────
Successfully loaded existing aspirate bootstrap settings from '.'.
── Handling Aspire Manifest ────────────────────────────────────────────────────
Generating Aspire Manifest for supplied App Host
(✔) Done:  Created Aspire Manifest At Path: 
/home/runner/work/<repo>/manifest.json
── Selecting Required Components ───────────────────────────────────────────────
Non-Interactive Mode: Processing all components in the loaded file.
── Handling Aspire Dashboard ───────────────────────────────────────────────────
── Handling Inputs ─────────────────────────────────────────────────────────────
(!) Cannot obtain non-generated values for inputs in non-interactive mode. 
Inputs are required according to the manifest.
(1): Aspirate will now exit.
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