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

Nice GUI for user interaction #34

Closed
tepene opened this issue May 4, 2024 · 8 comments
Closed

Nice GUI for user interaction #34

tepene opened this issue May 4, 2024 · 8 comments
Assignees
Labels
enhancement New feature or request

Comments

@tepene
Copy link
Collaborator

tepene commented May 4, 2024

Describe the feature

I'd like this project to be enhanced with a nice GUI for user interaction because this project should be easy to use and have an option to give you some insights.

some ideas:

  • page to launch automation jobs
  • page to display all images stored in the registry
  • page to edit configuration files

I already did some tests with ansible semaphore which is nice for all the ansible jobs but it also introduces some overhead with provisioning. And it has it's own usage logic which is ok but it's not going to serve us well in the long term.

Maybe NiceGUI is something we could use.

@tepene tepene added the enhancement New feature or request label May 4, 2024
@tepene tepene self-assigned this May 4, 2024
@tepene
Copy link
Collaborator Author

tepene commented May 4, 2024

NiceGUI combined with ansible-runner could be a good combination

@tepene
Copy link
Collaborator Author

tepene commented May 6, 2024

I started to play around with NiceGui. My efforts are in the tepne/nicegui branch.

Here a screenshot how things could look like:

image

Some things are still missing before i can MR this to main. Noteworthy:

  • Find best way to store configuration data
  • Add configuration file picker
  • Make sure ansible loads configuration file on each job
  • Make sure ansible-runner jobs run async
  • Add progress bar for jobs
  • ansible.cfg in wrong place when playbook launched via ansible-runner
  • update forge.sh to use data from volume mount
  • update docs for gui usage

@tepene
Copy link
Collaborator Author

tepene commented May 7, 2024

I added a configuration file picker. Still some quirks to iron out before ready for MR.

image

@tepene
Copy link
Collaborator Author

tepene commented May 8, 2024

Slowly but steady, making some progress:

Screencast.from.2024-05-08.21-04-00.webm

Config data is now stored in a podman volume. For currently unknown reason ansible does not pick up my --extra-vars statement. I will investigate that further and apply necessary changes.

@tepene
Copy link
Collaborator Author

tepene commented May 9, 2024

I was able to fix --extra-vars issue. Configuration is loading now as expected. So, almost there, just need to adapt some changes in the devcontainer.json and forge.sh

@castrojo
Copy link
Member

Got a post up! https://universal-blue.discourse.group/t/self-hosters-the-forge-needs-your-eyes-and-hands/1566

@tepene
Copy link
Collaborator Author

tepene commented May 10, 2024

Got a post up! https://universal-blue.discourse.group/t/self-hosters-the-forge-needs-your-eyes-and-hands/1566

Thanks, I'll update the docs asap so people are not confused too much.

tepene added a commit that referenced this issue May 10, 2024
tepene added a commit that referenced this issue May 10, 2024
tepene added a commit that referenced this issue May 10, 2024
tepene added a commit that referenced this issue May 10, 2024
tepene added a commit that referenced this issue May 10, 2024
tepene added a commit that referenced this issue May 10, 2024
@tepene
Copy link
Collaborator Author

tepene commented May 10, 2024

Added some documentation. Hopefully enough fore others to get started.

@tepene tepene closed this as completed May 10, 2024
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
None yet
Development

No branches or pull requests

2 participants