Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ec2 (0.05 sec)

  1. .teamcity/scripts/common.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    #
    
    # Common functions for EC2 build scripts
    
    # 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
    exit_if_not_on_ec2_instance() {
      curl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id"
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Oct 26 09:37:09 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/DownloadGitRepoToEc2Agent.kt

    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    
    object DownloadGitRepoToEc2Agent : BuildType({
        val id = "Util_DownloadGitRepoToEc2Agent"
        name = "Download Git Repo to EC2 Agent"
        description = "Do nothing but downloading gradle/gradle repo to EC2 agents"
    
        applyDefaultSettings(artifactRuleOverride = "")
    
        params {
            param("defaultBranchName", "master")
        }
    
        steps {
            script {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Nov 12 06:13:12 UTC 2025
    - 758 bytes
    - Viewed (0)
  3. .teamcity/scripts/configure_build_env_on_ec2.sh

    # 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.
    
    exit_if_not_on_ec2_instance
    
    # TAG
    EC2_INSTANCE_TYPE=$(curl -s "http://169.254.169.254/latest/meta-data/instance-type")
    echo "##teamcity[addBuildTag 'ec2-instance-type=$EC2_INSTANCE_TYPE']"
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 23 03:27:59 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/SmokeTests.kt

                // No need to split in FlakyTestQuarantine
                tcParallelTests(splitNumber)
            }
    
            requirements {
                // Smoke tests is usually heavy and the build time is twice on EC2 agents
                requiresNotEc2Agent()
            }
    
            applyTestDefaults(
                model,
                this,
                ":smoke-test:$task",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. .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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/configurations/SmokeIdeTests.kt

            name = "Smoke Ide Tests$suffix"
            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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 09 05:26:45 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. .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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 09 05:26:45 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.35.md

    - github.com/aws/aws-sdk-go-v2/feature/ec2/imds: [v1.16.9 → v1.16.30](https://github.com/aws/aws-sdk-go-v2/compare/feature/ec2/imds/v1.16.9...feature/ec2/imds/v1.16.30)
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Dec 17 13:01:55 UTC 2025
    - 228.5K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.32.md

    - github.com/aws/aws-sdk-go-v2/credentials: [v1.17.24](https://github.com/aws/aws-sdk-go-v2/tree/credentials/v1.17.24)
    - github.com/aws/aws-sdk-go-v2/feature/ec2/imds: [v1.16.9](https://github.com/aws/aws-sdk-go-v2/tree/feature/ec2/imds/v1.16.9)
    - github.com/aws/aws-sdk-go-v2/internal/configsources: [v1.3.13](https://github.com/aws/aws-sdk-go-v2/tree/internal/configsources/v1.3.13)
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Dec 16 18:27:41 UTC 2025
    - 448.1K bytes
    - Viewed (0)
Back to top