Dodo APP: infrastructure to deploy app by pusing to Git repo
Change-Id: I4034c6893255581b014ddb207c844261cb34202b
diff --git a/core/installer/app_test.go b/core/installer/app_test.go
index 9b59d1c..a646425 100644
--- a/core/installer/app_test.go
+++ b/core/installer/app_test.go
@@ -1,6 +1,7 @@
package installer
import (
+ _ "embed"
"net"
"testing"
)
@@ -298,3 +299,19 @@
t.Log(string(r))
}
}
+
+//go:embed testapp.cue
+var testAppCue []byte
+
+type appInput struct {
+ RepoAddr string `json:"repoAddr"`
+ SSHKey string `json:"sshKey"`
+ Network Network `json:"network"`
+}
+
+func TestPCloudApp(t *testing.T) {
+ _, err := NewDodoApp(testAppCue)
+ if err != nil {
+ t.Fatal(err)
+ }
+}