feat: final round of hacks for deploy command
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -46,6 +46,16 @@ var appDeployCommand = &cli.Command{
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
abraShPath := fmt.Sprintf("%s/%s/%s", config.APPS_DIR, appEnv.Type, "abra.sh")
|
||||
abraShEnv, err := config.ReadAbraShEnvVars(abraShPath)
|
||||
if err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
for k, v := range abraShEnv {
|
||||
appEnv.Env[k] = v
|
||||
}
|
||||
appEnv.Env["STACK_NAME"] = appEnv.StackName()
|
||||
|
||||
deployOpts := options.Deploy{
|
||||
Composefiles: composeFiles,
|
||||
Namespace: appEnv.StackName(),
|
||||
|
Reference in New Issue
Block a user