Compare commits
2 Commits
2025.0524.
...
2025.0524.
Author | SHA1 | Date | |
---|---|---|---|
9a141685de | |||
9c94510213 |
@ -14,10 +14,10 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd ${{ gitea.workspace }}/docker
|
cd ${{ gitea.workspace }}/source
|
||||||
./compile.sh
|
./multibuild.sh
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
cd ${{ gitea.workspace }}/docker/output
|
cd ${{ gitea.workspace }}/source/output
|
||||||
./dropshell_x86_64 list
|
./dropshell_x86_64 list
|
||||||
./dropshell_x86_64 help
|
./dropshell_x86_64 help
|
||||||
|
@ -105,6 +105,16 @@ namespace dropshell
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if (!gTemplateManager().template_command_exists(service_info.template_name, "backup") ||
|
||||||
|
!gTemplateManager().template_command_exists(service_info.template_name, "restore"))
|
||||||
|
{
|
||||||
|
info << service << " has no data to restore" << std::endl;
|
||||||
|
debug << "(no backup or restore script for " << service_info.template_name << ")" << std::endl;
|
||||||
|
return 0; // nothing to back up.
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
std::optional<shared_commands::cBackupFileName> backup_details;
|
std::optional<shared_commands::cBackupFileName> backup_details;
|
||||||
if (backup_arg == "latest")
|
if (backup_arg == "latest")
|
||||||
{ // special case.
|
{ // special case.
|
||||||
|
Reference in New Issue
Block a user