diff --git a/build-infrastructure/codebuild-devbuild-stack.yml b/build-infrastructure/codebuild-devbuild-stack.yml index ca9bc79cd70..ab0b26300c2 100644 --- a/build-infrastructure/codebuild-devbuild-stack.yml +++ b/build-infrastructure/codebuild-devbuild-stack.yml @@ -23,6 +23,7 @@ Resources: Type: 'AWS::CodeBuild::Project' Properties: Artifacts: + EncryptionDisabled: true Location: !Ref BuildBucketName NamespaceType: NONE OverrideArtifactName: true @@ -46,18 +47,12 @@ Resources: Location: !Ref GithubFullRepoName Type: GITHUB TimeoutInMinutes: 60 - Triggers: - BuildType: BUILD - # Config list of developers allowlisted to create builds when creating PRs to GithubBranchName - # This allow list can be modified using aws-cli or aws-sdk - # CodeBuild also supports pattern matches using regex, but this is not useful for listing different Github IDs - # so they have to be listed separately - Webhook: true Visibility: PRIVATE UbuntuArmProject: Type: 'AWS::CodeBuild::Project' Properties: Artifacts: + EncryptionDisabled: true Location: !Ref BuildBucketName NamespaceType: NONE OverrideArtifactName: true @@ -81,18 +76,12 @@ Resources: Location: !Ref GithubFullRepoName Type: GITHUB TimeoutInMinutes: 60 - Triggers: - BuildType: BUILD - # Config list of developers allowlisted to create builds when creating PRs to GithubBranchName - # This allow list can be modified using aws-cli or aws-sdk - # CodeBuild also supports pattern matches using regex, but this is not useful for listing different Github IDs - # so they have to be listed separately - Webhook: true Visibility: PRIVATE ArmProject: Type: 'AWS::CodeBuild::Project' Properties: Artifacts: + EncryptionDisabled: true Location: !Ref BuildBucketName NamespaceType: NONE OverrideArtifactName: true @@ -116,18 +105,12 @@ Resources: Location: !Ref GithubFullRepoName Type: GITHUB TimeoutInMinutes: 60 - Triggers: - BuildType: BUILD - # Config list of developers allowlisted to create builds when creating PRs to GithubBranchName - # This allow list can be modified using aws-cli or aws-sdk - # CodeBuild also supports pattern matches using regex, but this is not useful for listing different Github IDs - # so they have to be listed separately - Webhook: true Visibility: PRIVATE AmdProject: Type: 'AWS::CodeBuild::Project' Properties: Artifacts: + EncryptionDisabled: true Location: !Ref BuildBucketName NamespaceType: NONE OverrideArtifactName: true @@ -151,13 +134,6 @@ Resources: Location: !Ref GithubFullRepoName Type: GITHUB TimeoutInMinutes: 60 - Triggers: - BuildType: BUILD - # Config list of developers allowlisted to create builds when creating PRs to GithubBranchName - # This allow list can be modified using aws-cli or aws-sdk - # CodeBuild also supports pattern matches using regex, but this is not useful for listing different Github IDs - # so they have to be listed separately - Webhook: true Visibility: PRIVATE # Creates a CodeBuild project for Amazon Linux 2 ARM @@ -165,6 +141,7 @@ Resources: Type: 'AWS::CodeBuild::Project' Properties: Artifacts: + EncryptionDisabled: true Location: !Ref BuildBucketName NamespaceType: NONE OverrideArtifactName: true @@ -188,13 +165,6 @@ Resources: Location: !Ref GithubFullRepoName Type: GITHUB TimeoutInMinutes: 60 - Triggers: - BuildType: BUILD - # Config list of developers allowlisted to create builds when creating PRs to GithubBranchName - # This allow list can be modified using aws-cli or aws-sdk - # CodeBuild also supports pattern matches using regex, but this is not useful for listing different Github IDs - # so they have to be listed separately - Webhook: true Visibility: PRIVATE # Creates a CodeBuild project for Amazon Linux 2 AMD @@ -202,6 +172,7 @@ Resources: Type: 'AWS::CodeBuild::Project' Properties: Artifacts: + EncryptionDisabled: true Location: !Ref BuildBucketName NamespaceType: NONE OverrideArtifactName: true @@ -225,13 +196,6 @@ Resources: Location: !Ref GithubFullRepoName Type: GITHUB TimeoutInMinutes: 60 - Triggers: - BuildType: BUILD - # Config list of developers allowlisted to create builds when creating PRs to GithubBranchName - # This allow list can be modified using aws-cli or aws-sdk - # CodeBuild also supports pattern matches using regex, but this is not useful for listing different Github IDs - # so they have to be listed separately - Webhook: true Visibility: PRIVATE # Creates a CodeBuild project for Amazon Linux 2023 ARM @@ -239,6 +203,7 @@ Resources: Type: 'AWS::CodeBuild::Project' Properties: Artifacts: + EncryptionDisabled: true Location: !Ref BuildBucketName NamespaceType: NONE OverrideArtifactName: true @@ -262,13 +227,6 @@ Resources: Location: !Ref GithubFullRepoName Type: GITHUB TimeoutInMinutes: 60 - Triggers: - BuildType: BUILD - # Config list of developers allowlisted to create builds when creating PRs to GithubBranchName - # This allow list can be modified using aws-cli or aws-sdk - # CodeBuild also supports pattern matches using regex, but this is not useful for listing different Github IDs - # so they have to be listed separately - Webhook: true Visibility: PRIVATE # Creates a CodeBuild project for Amazon Linux 2023 AMD @@ -276,6 +234,7 @@ Resources: Type: 'AWS::CodeBuild::Project' Properties: Artifacts: + EncryptionDisabled : true Location: !Ref BuildBucketName NamespaceType: NONE OverrideArtifactName: true @@ -299,13 +258,6 @@ Resources: Location: !Ref GithubFullRepoName Type: GITHUB TimeoutInMinutes: 60 - Triggers: - BuildType: BUILD - # Config list of developers allowlisted to create builds when creating PRs to GithubBranchName - # This allow list can be modified using aws-cli or aws-sdk - # CodeBuild also supports pattern matches using regex, but this is not useful for listing different Github IDs - # so they have to be listed separately - Webhook: true Visibility: PRIVATE # Defines the service roles for the CodeBuild projects @@ -652,4 +604,4 @@ Resources: - 's3:GetBucketAcl' - 's3:GetBucketLocation' PolicyName: !Sub '${AWS::StackName}-ServicePolicyAmzn2023Amd' - RoleName: !Sub '${AWS::StackName}-ServiceRoleAmzn2023Amd' \ No newline at end of file + RoleName: !Sub '${AWS::StackName}-ServiceRoleAmzn2023Amd'