backport ci migration (#5759)

This commit is contained in:
Marko
2020-12-09 16:00:29 +01:00
committed by GitHub
parent 1baf670c60
commit 059d43f626
19 changed files with 430 additions and 2021 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ func WriteConfigVals(dir string, vals map[string]string) error {
data += fmt.Sprintf("%s = \"%s\"\n", k, v)
}
cfile := filepath.Join(dir, "config.toml")
return ioutil.WriteFile(cfile, []byte(data), 0666)
return ioutil.WriteFile(cfile, []byte(data), 0600)
}
// RunWithArgs executes the given command with the specified command line args