Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 162 for stage1 (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/audit/policy/util.go

    // InvertStages subtracts the given array of stages from all stages
    func InvertStages(stages []audit.Stage) []audit.Stage {
    	s := ConvertStagesToStrings(stages)
    	a := AllStages()
    	a.Delete(s...)
    	return ConvertStringSetToStages(a)
    }
    
    // ConvertStagesToStrings converts an array of stages to a string array
    func ConvertStagesToStrings(stages []audit.Stage) []string {
    	s := make([]string, len(stages))
    	for i, stage := range stages {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 09 16:29:20 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/audit/policy/util_test.go

    )
    
    func TestInvertStages(t *testing.T) {
    	for _, test := range []struct {
    		desc           string
    		stages         []audit.Stage
    		expectedStages []audit.Stage
    	}{
    		{
    			desc: "should remove one",
    			stages: []audit.Stage{
    				audit.StageResponseStarted,
    			},
    			expectedStages: []audit.Stage{
    				audit.StageRequestReceived,
    				audit.StageResponseComplete,
    				audit.StagePanic,
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 09 22:38:00 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  3. cluster/gce/gci/mounter/stage-upload.sh

    cleanup() {
        rm -rf "${DOWNLOAD_DIR}"
        rm -rf "${STAGING_DIR}"
        cd "${CWD}"
    }
    
    # Delete temporary directories on exit
    trap cleanup EXIT
    
    mkdir "${ACI_DIR}"
    
    # Convert docker image to aci and stage it
    echo "Downloading docker2aci ${DOCKER2ACI_VERSION}"
    wget "https://github.com/appc/docker2aci/releases/download/${DOCKER2ACI_VERSION}/docker2aci-${DOCKER2ACI_VERSION}.tar.gz" >/dev/null 2>&1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 23 18:27:20 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ProgramParserTest.kt

            assertProgramOf(
                source,
                Program.Buildscript(source.fragment(1..11, 13..34))
            )
        }
    
        @Test
        fun `non-empty Stage 1 with non-empty Stage 2 parse to Stage 1 followed by Stage 2`() {
    
            val source = ProgramSource(
                "/src/fragment.gradle.kts",
                "\r\n\r\nplugins {\r\n  java\r\n}\r\nprintln(\"Stage 2\")\r\n\r\n"
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ProgramParserAnnotationErasureTest.kt

    import org.junit.Test
    
    
    class ProgramParserAnnotationErasureTest {
    
        @Test
        fun `empty Stage 1 with non-empty Stage 2 parse to Stage 2 with Stage 1 fragments erased`() {
            val scriptOnlySource =
                programSourceWith("""
                    @Suppress("unused_variable")
                    println("Stage 2")""".trimIndent())
    
            assertProgramOf(
                scriptOnlySource,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ParserToCompilerTest.kt

                "stage 1 buildscript\nstage 1 plugins\n"
            )
        }
    
        @Test
        fun `pluginManagement then buildscript then plugins`() {
            val source = ProgramSource(
                "settings.gradle.kts",
                """
                pluginManagement { println("stage 1 pluginManagement") }
                buildscript { println("stage 1 buildscript") }
                plugins { println("stage 1 plugins") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/StagePasses.kt

    import model.CIBuildModel
    import model.Stage
    import model.StageName
    import model.Trigger
    import projects.StageProject
    
    class StagePasses(model: CIBuildModel, stage: Stage, prevStage: Stage?, stageProject: StageProject) : BaseGradleBuildType(init = {
        id(stageTriggerId(model, stage))
        uuid = stageTriggerUuid(model, stage)
        name = stage.stageName.stageName + " (Trigger)"
        type = Type.COMPOSITE
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/projects/CheckProject.kt

            )
        }
    
        var prevStage: Stage? = null
        val previousPerformanceTestPasses: MutableList<PerformanceTestsPass> = mutableListOf()
        model.stages.forEach { stage ->
            if (isSecurityFork() && stage.stageName > StageName.READY_FOR_RELEASE) {
                return@forEach
            }
            val stageProject = StageProject(model, functionalTestBucketProvider, performanceTestBucketProvider, stage, previousPerformanceTestPasses)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 05:52:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/internal/scripts/CompileScriptBuildOperationType.java

             * */
            String getLanguage();
    
            /**
             * The compile stage as a descriptive String.
             * Build scripts can be processed in multiple stages, depending on the language.
             * Groovy backed build scripts are processed in two stages.
             * Kotlin backed build scripts are processed in three stages
             * */
            String getStage();
        }
    
        public interface Result {
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

    import jetbrains.buildServer.configs.kotlin.BuildStep
    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import model.CIBuildModel
    import model.Stage
    import model.StageName
    
    class FlakyTestQuarantine(model: CIBuildModel, stage: Stage, os: Os, arch: Arch = Arch.AMD64) : BaseGradleBuildType(stage = stage, init = {
        id("${model.projectId}_FlakyQuarantine_${os.asName()}_${arch.asName()}")
        name = "Flaky Test Quarantine - ${os.asName()} ${arch.asName()}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top