Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for getenv (0.19 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        val isCiServer = CI_ENVIRONMENT_VARIABLE in System.getenv()
        val isTravis = "TRAVIS" in System.getenv()
        val isGhActions = "GITHUB_ACTIONS" in System.getenv()
        val isTeamCity = "TEAMCITY_VERSION" in System.getenv()
        val isTeamCityParallelTestsEnabled
            get() = "TEAMCITY_PARALLEL_TESTS_ENABLED" in System.getenv()
        val isCodeQl: Boolean by lazy {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  2. buildscripts/gen-ldflags.go

    	ldflagsStr += " -X github.com/minio/minio/cmd.GOPATH=" + os.Getenv("GOPATH")
    	ldflagsStr += " -X github.com/minio/minio/cmd.GOROOT=" + os.Getenv("GOROOT")
    	return ldflagsStr
    }
    
    // genReleaseTag prints release tag to the console for easy git tagging.
    func releaseTag(version string) (string, time.Time) {
    	relPrefix := "DEVELOPMENT"
    	if prefix := os.Getenv("MINIO_RELEASE"); prefix != "" {
    		relPrefix = prefix
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jun 16 23:10:48 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  3. tests/tests_test.go

    			log.Printf("failed to ping sqlDB, got error %v", err)
    			os.Exit(1)
    		}
    
    		RunMigrations()
    	}
    }
    
    func OpenTestConnection(cfg *gorm.Config) (db *gorm.DB, err error) {
    	dbDSN := os.Getenv("GORM_DSN")
    	switch os.Getenv("GORM_DIALECT") {
    	case "mysql":
    		log.Println("testing mysql...")
    		if dbDSN == "" {
    			dbDSN = mysqlDSN
    		}
    		db, err = gorm.Open(mysql.Open(dbDSN), cfg)
    	case "postgres":
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  4. docs/site-replication/gen-oidc-sts-cred.go

    	"context"
    	"fmt"
    	"log"
    	"net/http"
    	"os"
    
    	cr "github.com/minio/minio-go/v7/pkg/credentials"
    	cmd "github.com/minio/minio/cmd"
    )
    
    func main() {
    	ctx := context.Background()
    
    	endpoint := os.Getenv("MINIO_ENDPOINT")
    	if endpoint == "" {
    		log.Fatalf("Please specify a MinIO server endpoint environment variable like:\n\n\texport MINIO_ENDPOINT=http://localhost:9000")
    	}
    
    	appParams := cmd.OpenIDClientAppParams{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    		KubeconfigMode:     viper.GetInt(constants.KubeconfigMode),
    		KubeCAFile:         viper.GetString(constants.KubeCAFile),
    		SkipTLSVerify:      viper.GetBool(constants.SkipTLSVerify),
    		K8sServiceProtocol: os.Getenv("KUBERNETES_SERVICE_PROTOCOL"),
    		K8sServiceHost:     os.Getenv("KUBERNETES_SERVICE_HOST"),
    		K8sServicePort:     os.Getenv("KUBERNETES_SERVICE_PORT"),
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. tensorflow/api_template.__init__.py

      __path__ = [_tf_api_dir]
    elif _tf_api_dir not in __path__:
      __path__.append(_tf_api_dir)
    
    # Hook external TensorFlow modules.
    
    # Load tensorflow-io-gcs-filesystem if enabled
    if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or
        _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"):
      import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem
    
    # Lazy-load Keras v2/3.
    _tf_uses_legacy_keras = (
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

            }
            if (generatorList != null && !generatorList.isEmpty()) {
                String path = System.getenv("PATH");
                if (path == null) {
                    path = System.getenv("Path");
                }
                if (path == null) {
                    path = System.getenv("path");
                }
                final List<String> pathList = new ArrayList<>();
                pathList.add("/usr/share/fess/bin");
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

          private var nextId = 1
    
          override fun newThread(runnable: Runnable): Thread {
            return Thread(runnable, "$name-${nextId++}")
          }
        }
      }
    }
    
    fun getEnv(name: String) = System.getenv(name)
    
    val SYSTEM_FILE_SYSTEM = FileSystem.SYSTEM
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. misc/ios/go_ios_exec.go

    	devID = getenv("GOIOS_DEV_ID")
    
    	// e.g. Z8B3JBXXXX.org.golang.sample, Z8B3JBXXXX prefix is available at
    	// https://developer.apple.com/membercenter/index.action#accountSummary as Team ID.
    	appID = getenv("GOIOS_APP_ID")
    
    	// e.g. Z8B3JBXXXX, available at
    	// https://developer.apple.com/membercenter/index.action#accountSummary as Team ID.
    	teamID = getenv("GOIOS_TEAM_ID")
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  10. container-tests/build.gradle.kts

    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
      )
    
      if (platform == "loom") {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 17 14:46:34 GMT 2024
    - 1.1K bytes
    - Viewed (0)
Back to top