mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-05 09:18:26 +00:00
Specify ngrok config version (#2610)
Also prefix ngrok config temporary filename so that it is easy to distinguish when listing the tmp directory.
This commit is contained in:
@@ -173,6 +173,7 @@ Follow these instructions to create a token (we don't store any tokens):
|
||||
// will just choose a random API port and we won't be able to get the right
|
||||
// url.
|
||||
ngrokConfig := fmt.Sprintf(`
|
||||
version: 1
|
||||
web_addr: %s
|
||||
tunnels:
|
||||
atlantis:
|
||||
@@ -181,7 +182,7 @@ tunnels:
|
||||
proto: http
|
||||
`, ngrokAPIURL, atlantisPort)
|
||||
|
||||
ngrokConfigFile, err := os.CreateTemp("", "")
|
||||
ngrokConfigFile, err := os.CreateTemp("", "atlantis-testdrive-ngrok-config")
|
||||
if err != nil {
|
||||
return errors.Wrap(err, "creating ngrok config file")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user