mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-27 15:16:52 +02:00
Compare commits
4
Commits
1.2.0
..
61992d764a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
61992d764a | ||
|
|
b11034dd17 | ||
|
|
80fc8b40cd | ||
|
|
fc6c5c65c8 |
@@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.20.2'
|
go-version: '1.20.2'
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ const optionsEnvFilename = "/edgeapp.env"
|
|||||||
const authEnvFilename = "/auth.env"
|
const authEnvFilename = "/auth.env"
|
||||||
const runnableFilename = "/.run"
|
const runnableFilename = "/.run"
|
||||||
const appdataFoldername = "/appdata"
|
const appdataFoldername = "/appdata"
|
||||||
|
const postInstallFilename = "/edgebox-postinstall.done"
|
||||||
const myEdgeAppServiceEnvFilename = "/myedgeapp.env"
|
const myEdgeAppServiceEnvFilename = "/myedgeapp.env"
|
||||||
const defaultContainerOperationSleepTime time.Duration = time.Second * 10
|
const defaultContainerOperationSleepTime time.Duration = time.Second * 10
|
||||||
|
|
||||||
@@ -384,6 +385,12 @@ func SetEdgeAppNotInstalled(ID string) bool {
|
|||||||
log.Println(err)
|
log.Println(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
err = os.Remove(utils.GetPath(utils.EdgeAppsPath) + ID + postInstallFilename)
|
||||||
|
if err != nil {
|
||||||
|
result = false
|
||||||
|
log.Println(err)
|
||||||
|
}
|
||||||
|
|
||||||
buildFrameworkContainers()
|
buildFrameworkContainers()
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|||||||
@@ -1077,7 +1077,9 @@ func taskStartShell(args taskStartShellArgs) string {
|
|||||||
utils.WriteOption("SHELL_STATUS", "not_running")
|
utils.WriteOption("SHELL_STATUS", "not_running")
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
if timeout%10 == 0 {
|
||||||
fmt.Println("Active Shell Timeout is " + fmt.Sprint(timeout) + " seconds")
|
fmt.Println("Active Shell Timeout is " + fmt.Sprint(timeout) + " seconds")
|
||||||
|
}
|
||||||
time.Sleep(1 * time.Second)
|
time.Sleep(1 * time.Second)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|||||||
Reference in New Issue
Block a user