Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: go/src/infra/libs/infraenv/paths_posix.go

Issue 2154953002: Add infraenv, setup creds and tee for Kitchen. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Handle both host string and host URL. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: go/src/infra/libs/infraenv/paths_posix.go
diff --git a/go/src/infra/libs/infraenv/paths_posix.go b/go/src/infra/libs/infraenv/paths_posix.go
new file mode 100644
index 0000000000000000000000000000000000000000..ea30540d69752bea3d067d9bd4388268f066edfe
--- /dev/null
+++ b/go/src/infra/libs/infraenv/paths_posix.go
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// +build darwin dragonfly freebsd linux netbsd openbsd
nodir 2016/07/16 00:38:55 how about // +build !windows ?
dnj (Google) 2016/07/16 00:49:39 I like calling out OSes b/c this means if we ever
nodir 2016/07/16 00:59:32 i thought only windows is not posix-compliant
dnj (Google) 2016/07/16 01:06:18 It's less about compliance and more about which pl
+
+package infraenv
+
+var (
+ // Paths on the system where credentials are stored.
+ //
+ // This path is provisioned by Puppet.
+ systemCredentialDirs = []string{
+ "/creds/service_accounts",
+ }
+)

Powered by Google App Engine
This is Rietveld 408576698