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

[TUI] Bash Script to generate config/creds YAML file based on User Selection #72

Closed
Tracked by #71
shantanoo-desai opened this issue Jun 1, 2023 · 0 comments · Fixed by #74
Closed
Tracked by #71
Assignees
Labels
enhancement New feature or request

Comments

@shantanoo-desai
Copy link
Owner

shantanoo-desai commented Jun 1, 2023

Description

This bash script will use the following tools:

yq will be used to generate the a config.yml and cred.yml file via the user-defined inputs through gum Components.

Interface Design

  1. Ask the user for project_name. Default is komponist
  2. Ask the user for deploy_dir. Default is ./deploy
  3. Ask user if they wish to set a user id. Skippable
  4. Ask user whether to data_persistence. Default is false
  5. Let user choose which services to include
    a. Traefik Proxy is included as default
    b. Depending on selected services generate / update the config.yml, creds.yml

The creds.yml should have the required YAML structure but the values should be placeholders.

@shantanoo-desai shantanoo-desai added the enhancement New feature or request label Jun 1, 2023
@shantanoo-desai shantanoo-desai self-assigned this Jun 1, 2023
@shantanoo-desai shantanoo-desai moved this to Todo in komponist Jun 1, 2023
@shantanoo-desai shantanoo-desai moved this from Todo to In Progress in komponist Jun 1, 2023
shantanoo-desai added a commit that referenced this issue Jun 3, 2023
- `tui-script.sh` contains the core TUI rendering + YAML file
  generation logic via `gum` and `yq` (closes #72)
- `Dockerfile` provide isolation to use the TUI via a Docker
  container (closes #73)
- Add GitHub Workflow to build the image to GitHub Container
  Registry

closes #71

Signed-off-by: Shantanoo 'Shan' Desai <shantanoo.desai@gmail.com>
@github-project-automation github-project-automation bot moved this from In Progress to Done in komponist Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant