knative.dev/pkg@v0.0.0-20260602142205-ac97e43f6622/test/prow/prow.go (about)

     1  /*
     2  Copyright 2019 The Knative Authors
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  // prow.go defines types and functions specific to prow logics
    18  // All paths used in this package are gcs paths unless specified otherwise
    19  
    20  package prow
    21  
    22  import "knative.dev/pkg/test/ci"
    23  
    24  const (
    25  	// ArtifactsDir is the dir containing artifacts
    26  	//
    27  	// Deprecated: use knative.dev/pkg/test/ci.ArtifactsDir
    28  	ArtifactsDir = ci.ArtifactsDir
    29  )
    30  
    31  var (
    32  	// IsCI returns whether the current environment is a CI environment.
    33  	//
    34  	// Deprecated: use knative.dev/pkg/test/ci.IsCI
    35  	IsCI = ci.IsCI
    36  
    37  	// GetLocalArtifactsDir gets the artifacts directory where prow looks for artifacts.
    38  	// By default, it will look at the env var ARTIFACTS.
    39  	//
    40  	// Deprecated: use knative.dev/pkg/test/ci.GetLocalArtifactsDir
    41  	GetLocalArtifactsDir = ci.GetLocalArtifactsDir
    42  )