Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c870a75f authored by Joe Onorato's avatar Joe Onorato Committed by Gerrit Code Review
Browse files

Merge "RBE is only supported when the host is linux, so don't try on others." into main

parents af64ca93 86f50e75
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -1246,6 +1246,11 @@ func (c *configImpl) StartGoma() bool {
}
}


func (c *configImpl) canSupportRBE() bool {
func (c *configImpl) canSupportRBE() bool {
	// Only supported on linux
	if runtime.GOOS != "linux" {
		return false
	}

	// Do not use RBE with prod credentials in scenarios when stubby doesn't exist, since
	// Do not use RBE with prod credentials in scenarios when stubby doesn't exist, since
	// its unlikely that we will be able to obtain necessary creds without stubby.
	// its unlikely that we will be able to obtain necessary creds without stubby.
	authType, _ := c.rbeAuth()
	authType, _ := c.rbeAuth()