fix: reference env from config dir

This commit is contained in:
Jose Diaz-Gonzalez
2024-03-14 02:52:16 -04:00
parent b8accfd463
commit 38c6b180af
5 changed files with 18 additions and 17 deletions

View File

@@ -10,11 +10,11 @@ import (
var (
testAppName = "test-app-1"
testAppDir = strings.Join([]string{"/home/dokku/", testAppName}, "")
testAppDir = strings.Join([]string{"/var/lib/dokku/config/config/", testAppName}, "")
testEnvFile = strings.Join([]string{testAppDir, "/ENV"}, "")
testEnvLine = "export testKey=TESTING"
testAppName2 = "01-test-app-1"
testAppDir2 = strings.Join([]string{"/home/dokku/", testAppName2}, "")
testAppDir2 = strings.Join([]string{"/var/lib/dokku/config/config/", testAppName2}, "")
testEnvFile2 = strings.Join([]string{testAppDir2, "/ENV"}, "")
testEnvLine2 = "export testKey=TESTING"
)