Feature request: Save SSH and docker configuration #9

Open
opened 2022-09-05 13:59:57 +02:00 by JeroenED · 0 comments
Owner

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.

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.
JeroenED added the
enhancement
label 2022-09-05 13:59:57 +02:00
JeroenED added this to the Release 2.0 project 2022-09-05 14:00:23 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: webcron/webcron#9
No description provided.