Feature request: Save SSH and docker configuration #9
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: webcron/webcron#9
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Make it possible to save and reuse a saved host for ssh connections
Why do we need this?
When creating a cronjob you set it to run it on a remote machine. While this works perfectly, you probably use the same host over and over again making it quite painful to recreate the host every time again.
Design
When creating a cronjob, we give the user the opportunity to re-use a host that was already used in a different cronjob.
Adding or editing a host is done using a checkbox on the host subsection of the add/edit page. When checking this checkbox the hostdata is being saved to a additional table where the hostdata is being stored.
Removing a host is done by unchecking the checkbox on a job with a saved host.
When running a job that uses a saved host, we add the host-ID to the data. When a host-ID is found, we use the host-ID, otherwise we use the hostdata saved in the job (current behaviour)
Migration will be fetching the currently set hosts and populating them in the table.