Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for EC2 (0.01 sec)

  1. .teamcity/scripts/configure_build_env_on_ec2.sh

    # limitations under the License.
    #
    
    # This scripts detects builds running on EC2 by accessing the special ip 169.254.169.254 exposed by AWS instances.
    # https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
    
    # In case of running on EC2
    # - we add a TeamCity tag to the build with an instance type of the EC2 instance.
    # - we set GRADLE_RO_DEP_CACHE to '/opt/gradle-cache' if the folder exists.
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Aug 27 08:28:30 UTC 2025
    - 2K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/SmokeIdeTests.kt

            id(buildTypeId(model))
            name = "Smoke Ide Tests"
            description = "Tests against IDE sync process"
    
            requirements {
                // These tests are usually heavy and the build time is twice on EC2 agents
                requiresNotEc2Agent()
            }
    
            applyTestDefaults(
                model = model,
                buildType = this,
                gradleTasks = ":smoke-ide-test:smokeIdeTest",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Apr 17 07:24:45 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/CommonExtensions.kt

    fun Requirements.requiresEc2Agent() {
        matches("teamcity.agent.name", "^(ec|EC)2-.*$")
    }
    
    fun Requirements.requiresNotEc2Agent() {
        doesNotContain("teamcity.agent.name", "ec2")
        // US region agents have name "EC2-XXX"
        doesNotContain("teamcity.agent.name", "EC2")
    }
    
    /**
     * We have some "shared" host where a Linux build agent and a Windows build agent
     * both run on the same bare metal. Some builds require exclusive access to the
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Sep 10 01:37:13 UTC 2025
    - 15K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/SmokeTests.kt

            tcParallelTests(splitNumber)
    
            requirements {
                // Smoke tests is usually heavy and the build time is twice on EC2 agents
                requiresNotEc2Agent()
            }
    
            applyTestDefaults(
                model,
                this,
                ":smoke-test:$task",
                timeout = 120,
                extraParameters =
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/Gradleception.kt

            description =
                "Builds Gradle with the version of Gradle which is currently under development (twice)$descriptionSuffix"
    
            requirements {
                // Gradleception is a heavy build which runs ~40m on EC2 agents but only ~20m on Hetzner agents
                requiresNotEc2Agent()
                requiresNotSharedHost()
            }
    
        /*
         To avoid unnecessary rerun, what we do here is a bit complicated:
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu May 01 14:55:05 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top