This commit moves a huge chunk of the code to go. The TODO.md document indicates what is left to be done.
16 lines
345 B
Go
16 lines
345 B
Go
package env
|
|
|
|
import "github.com/FAU-CDI/wisski-distillery/internal/stack"
|
|
|
|
func (dis *Distillery) SSHStack() stack.Installable {
|
|
// TODO: Ensure that .env is copied if needed
|
|
return dis.asCoreStack(stack.Installable{
|
|
Stack: stack.Stack{
|
|
Name: "sql",
|
|
},
|
|
})
|
|
}
|
|
|
|
func (dis *Distillery) SSHStackPath() string {
|
|
return dis.SSHStack().Dir
|
|
}
|