Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add GitLab support to report_build_status and build_status_config for aws_codebuild_project #36942

Conversation

acwwat
Copy link
Contributor

@acwwat acwwat commented Apr 17, 2024

Description

This PR is to add GitLab and GitLab Self Managed support to the report_build_status and build_status_config arguments in the aws_codebuild_project resource. The expansion code apparently has code logic to detect the build type to determine whether these arguments/config blocks should be added. Personally I think it should be deferred to the API to determine that, but to fix the issue quickly I just follow suit for now.

Relations

Closes #36937

References

Referred to ProjectSource for specs and documentation wordings. Also cross-checked the availability of options in the AWS Management Console - note that git_submodules_config is grayed out (and thus not supported) for GitLab source types.

Output from Acceptance Testing

Note: Unfortunately I don't really have the right setup to test GitHub and BitBucket source types, so I can't really test them. I also don't have GitLab so I can't write new tests for it either even when I wanted to. If any maintainer can facilitate adding a test cases for GitLab source types, that's be greatly appreciated.

$ make testacc PKG=codebuild TESTS=TestAccCodeBuildProject_
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.21.8 test ./internal/service/codebuild/... -v -count 1 -parallel 20 -run='TestAccCodeBuildProject_'  -timeout 360m
=== RUN   TestAccCodeBuildProject_basic
=== PAUSE TestAccCodeBuildProject_basic
=== RUN   TestAccCodeBuildProject_disappears
=== PAUSE TestAccCodeBuildProject_disappears
=== RUN   TestAccCodeBuildProject_tags
=== PAUSE TestAccCodeBuildProject_tags
=== RUN   TestAccCodeBuildProject_publicVisibility
=== PAUSE TestAccCodeBuildProject_publicVisibility
=== RUN   TestAccCodeBuildProject_badgeEnabled
=== PAUSE TestAccCodeBuildProject_badgeEnabled
=== RUN   TestAccCodeBuildProject_buildTimeout
=== PAUSE TestAccCodeBuildProject_buildTimeout
=== RUN   TestAccCodeBuildProject_queuedTimeout
=== PAUSE TestAccCodeBuildProject_queuedTimeout
=== RUN   TestAccCodeBuildProject_cache
=== PAUSE TestAccCodeBuildProject_cache
=== RUN   TestAccCodeBuildProject_description
=== PAUSE TestAccCodeBuildProject_description
=== RUN   TestAccCodeBuildProject_fileSystemLocations
=== PAUSE TestAccCodeBuildProject_fileSystemLocations
=== RUN   TestAccCodeBuildProject_sourceVersion
=== PAUSE TestAccCodeBuildProject_sourceVersion
=== RUN   TestAccCodeBuildProject_encryptionKey
=== PAUSE TestAccCodeBuildProject_encryptionKey
=== RUN   TestAccCodeBuildProject_Environment_environmentVariable
=== PAUSE TestAccCodeBuildProject_Environment_environmentVariable
=== RUN   TestAccCodeBuildProject_EnvironmentEnvironmentVariable_type
=== PAUSE TestAccCodeBuildProject_EnvironmentEnvironmentVariable_type
=== RUN   TestAccCodeBuildProject_EnvironmentEnvironmentVariable_value
=== PAUSE TestAccCodeBuildProject_EnvironmentEnvironmentVariable_value
=== RUN   TestAccCodeBuildProject_Environment_certificate
=== PAUSE TestAccCodeBuildProject_Environment_certificate
=== RUN   TestAccCodeBuildProject_Environment_registryCredential
=== PAUSE TestAccCodeBuildProject_Environment_registryCredential
=== RUN   TestAccCodeBuildProject_Logs_cloudWatchLogs
=== PAUSE TestAccCodeBuildProject_Logs_cloudWatchLogs
=== RUN   TestAccCodeBuildProject_Logs_s3Logs
=== PAUSE TestAccCodeBuildProject_Logs_s3Logs
=== RUN   TestAccCodeBuildProject_buildBatch
=== PAUSE TestAccCodeBuildProject_buildBatch
=== RUN   TestAccCodeBuildProject_buildBatchConfigDelete
=== PAUSE TestAccCodeBuildProject_buildBatchConfigDelete
=== RUN   TestAccCodeBuildProject_Source_gitCloneDepth
=== PAUSE TestAccCodeBuildProject_Source_gitCloneDepth
=== RUN   TestAccCodeBuildProject_SourceGitSubmodules_codeCommit
=== PAUSE TestAccCodeBuildProject_SourceGitSubmodules_codeCommit
=== RUN   TestAccCodeBuildProject_SourceGitSubmodules_gitHub
=== PAUSE TestAccCodeBuildProject_SourceGitSubmodules_gitHub
=== RUN   TestAccCodeBuildProject_SourceGitSubmodules_gitHubEnterprise
=== PAUSE TestAccCodeBuildProject_SourceGitSubmodules_gitHubEnterprise
=== RUN   TestAccCodeBuildProject_SecondarySourcesGitSubmodules_codeCommit
=== PAUSE TestAccCodeBuildProject_SecondarySourcesGitSubmodules_codeCommit
=== RUN   TestAccCodeBuildProject_SecondarySourcesGitSubmodules_gitHub
=== PAUSE TestAccCodeBuildProject_SecondarySourcesGitSubmodules_gitHub
=== RUN   TestAccCodeBuildProject_SecondarySourcesGitSubmodules_gitHubEnterprise
=== PAUSE TestAccCodeBuildProject_SecondarySourcesGitSubmodules_gitHubEnterprise
=== RUN   TestAccCodeBuildProject_SecondarySourcesVersions
=== PAUSE TestAccCodeBuildProject_SecondarySourcesVersions
=== RUN   TestAccCodeBuildProject_Source_insecureSSL
=== PAUSE TestAccCodeBuildProject_Source_insecureSSL
=== RUN   TestAccCodeBuildProject_SourceBuildStatus_gitHubEnterprise
=== PAUSE TestAccCodeBuildProject_SourceBuildStatus_gitHubEnterprise
=== RUN   TestAccCodeBuildProject_SourceReportBuildStatus_gitHubEnterprise
=== PAUSE TestAccCodeBuildProject_SourceReportBuildStatus_gitHubEnterprise
=== RUN   TestAccCodeBuildProject_SourceReportBuildStatus_bitbucket
=== PAUSE TestAccCodeBuildProject_SourceReportBuildStatus_bitbucket
=== RUN   TestAccCodeBuildProject_SourceReportBuildStatus_gitHub
=== PAUSE TestAccCodeBuildProject_SourceReportBuildStatus_gitHub
=== RUN   TestAccCodeBuildProject_SourceType_bitbucket
=== PAUSE TestAccCodeBuildProject_SourceType_bitbucket
=== RUN   TestAccCodeBuildProject_SourceType_codeCommit
=== PAUSE TestAccCodeBuildProject_SourceType_codeCommit
=== RUN   TestAccCodeBuildProject_SourceType_codePipeline
=== PAUSE TestAccCodeBuildProject_SourceType_codePipeline
=== RUN   TestAccCodeBuildProject_SourceType_gitHubEnterprise
=== PAUSE TestAccCodeBuildProject_SourceType_gitHubEnterprise
=== RUN   TestAccCodeBuildProject_SourceType_s3
=== PAUSE TestAccCodeBuildProject_SourceType_s3
=== RUN   TestAccCodeBuildProject_SourceType_noSource
=== PAUSE TestAccCodeBuildProject_SourceType_noSource
=== RUN   TestAccCodeBuildProject_SourceType_noSourceInvalid
=== PAUSE TestAccCodeBuildProject_SourceType_noSourceInvalid
=== RUN   TestAccCodeBuildProject_vpc
=== PAUSE TestAccCodeBuildProject_vpc
=== RUN   TestAccCodeBuildProject_windowsServer2019Container
=== PAUSE TestAccCodeBuildProject_windowsServer2019Container
=== RUN   TestAccCodeBuildProject_armContainer
=== PAUSE TestAccCodeBuildProject_armContainer
=== RUN   TestAccCodeBuildProject_linuxLambdaContainer
=== PAUSE TestAccCodeBuildProject_linuxLambdaContainer
=== RUN   TestAccCodeBuildProject_Artifacts_artifactIdentifier
=== PAUSE TestAccCodeBuildProject_Artifacts_artifactIdentifier
=== RUN   TestAccCodeBuildProject_Artifacts_encryptionDisabled
=== PAUSE TestAccCodeBuildProject_Artifacts_encryptionDisabled
=== RUN   TestAccCodeBuildProject_Artifacts_location
=== PAUSE TestAccCodeBuildProject_Artifacts_location
=== RUN   TestAccCodeBuildProject_Artifacts_name
=== PAUSE TestAccCodeBuildProject_Artifacts_name
=== RUN   TestAccCodeBuildProject_Artifacts_namespaceType
=== PAUSE TestAccCodeBuildProject_Artifacts_namespaceType
=== RUN   TestAccCodeBuildProject_Artifacts_overrideArtifactName
=== PAUSE TestAccCodeBuildProject_Artifacts_overrideArtifactName
=== RUN   TestAccCodeBuildProject_Artifacts_packaging
=== PAUSE TestAccCodeBuildProject_Artifacts_packaging
=== RUN   TestAccCodeBuildProject_Artifacts_path
=== PAUSE TestAccCodeBuildProject_Artifacts_path
=== RUN   TestAccCodeBuildProject_Artifacts_type
=== PAUSE TestAccCodeBuildProject_Artifacts_type
=== RUN   TestAccCodeBuildProject_Artifacts_bucketOwnerAccess
=== PAUSE TestAccCodeBuildProject_Artifacts_bucketOwnerAccess
=== RUN   TestAccCodeBuildProject_secondaryArtifacts
=== PAUSE TestAccCodeBuildProject_secondaryArtifacts
=== RUN   TestAccCodeBuildProject_SecondaryArtifacts_artifactIdentifier
=== PAUSE TestAccCodeBuildProject_SecondaryArtifacts_artifactIdentifier
=== RUN   TestAccCodeBuildProject_SecondaryArtifacts_overrideArtifactName
=== PAUSE TestAccCodeBuildProject_SecondaryArtifacts_overrideArtifactName
=== RUN   TestAccCodeBuildProject_SecondaryArtifacts_encryptionDisabled
=== PAUSE TestAccCodeBuildProject_SecondaryArtifacts_encryptionDisabled
=== RUN   TestAccCodeBuildProject_SecondaryArtifacts_location
=== PAUSE TestAccCodeBuildProject_SecondaryArtifacts_location
=== RUN   TestAccCodeBuildProject_SecondaryArtifacts_name
    project_test.go:2585: Currently no solution to allow updates on name attribute
--- SKIP: TestAccCodeBuildProject_SecondaryArtifacts_name (0.00s)
=== RUN   TestAccCodeBuildProject_SecondaryArtifacts_namespaceType
=== PAUSE TestAccCodeBuildProject_SecondaryArtifacts_namespaceType
=== RUN   TestAccCodeBuildProject_SecondaryArtifacts_path
=== PAUSE TestAccCodeBuildProject_SecondaryArtifacts_path
=== RUN   TestAccCodeBuildProject_SecondaryArtifacts_packaging
=== PAUSE TestAccCodeBuildProject_SecondaryArtifacts_packaging
=== RUN   TestAccCodeBuildProject_SecondaryArtifacts_type
=== PAUSE TestAccCodeBuildProject_SecondaryArtifacts_type
=== RUN   TestAccCodeBuildProject_SecondarySources_codeCommit
=== PAUSE TestAccCodeBuildProject_SecondarySources_codeCommit
=== RUN   TestAccCodeBuildProject_concurrentBuildLimit
=== PAUSE TestAccCodeBuildProject_concurrentBuildLimit
=== CONT  TestAccCodeBuildProject_basic
=== CONT  TestAccCodeBuildProject_SourceReportBuildStatus_gitHub
=== CONT  TestAccCodeBuildProject_Artifacts_overrideArtifactName
=== CONT  TestAccCodeBuildProject_windowsServer2019Container
=== CONT  TestAccCodeBuildProject_SecondaryArtifacts_encryptionDisabled
=== CONT  TestAccCodeBuildProject_SecondaryArtifacts_packaging
=== CONT  TestAccCodeBuildProject_concurrentBuildLimit
=== CONT  TestAccCodeBuildProject_SecondarySources_codeCommit
=== CONT  TestAccCodeBuildProject_SecondaryArtifacts_type
=== CONT  TestAccCodeBuildProject_Artifacts_bucketOwnerAccess
=== CONT  TestAccCodeBuildProject_SecondaryArtifacts_overrideArtifactName
=== CONT  TestAccCodeBuildProject_SecondaryArtifacts_artifactIdentifier
=== CONT  TestAccCodeBuildProject_Artifacts_encryptionDisabled
=== CONT  TestAccCodeBuildProject_secondaryArtifacts
=== CONT  TestAccCodeBuildProject_Artifacts_namespaceType
=== CONT  TestAccCodeBuildProject_linuxLambdaContainer
=== CONT  TestAccCodeBuildProject_Artifacts_name
=== CONT  TestAccCodeBuildProject_Artifacts_location
=== CONT  TestAccCodeBuildProject_Artifacts_artifactIdentifier
=== CONT  TestAccCodeBuildProject_armContainer
=== NAME  TestAccCodeBuildProject_SourceReportBuildStatus_gitHub
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_SourceReportBuildStatus_gitHub (1.02s)
=== NAME  TestAccCodeBuildProject_linuxLambdaContainer
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
=== CONT  TestAccCodeBuildProject_SecondaryArtifacts_namespaceType
--- SKIP: TestAccCodeBuildProject_linuxLambdaContainer (1.02s)
=== CONT  TestAccCodeBuildProject_SecondaryArtifacts_path
=== NAME  TestAccCodeBuildProject_SecondaryArtifacts_packaging
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_SecondaryArtifacts_packaging (1.02s)
=== CONT  TestAccCodeBuildProject_SecondaryArtifacts_location
=== NAME  TestAccCodeBuildProject_SecondaryArtifacts_artifactIdentifier
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_SecondaryArtifacts_artifactIdentifier (1.02s)
=== CONT  TestAccCodeBuildProject_Logs_cloudWatchLogs
=== NAME  TestAccCodeBuildProject_armContainer
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_armContainer (1.02s)
=== NAME  TestAccCodeBuildProject_secondaryArtifacts
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
=== CONT  TestAccCodeBuildProject_SourceReportBuildStatus_bitbucket
--- SKIP: TestAccCodeBuildProject_secondaryArtifacts (1.02s)
=== CONT  TestAccCodeBuildProject_SourceReportBuildStatus_gitHubEnterprise
=== NAME  TestAccCodeBuildProject_Artifacts_artifactIdentifier
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_Artifacts_artifactIdentifier (1.02s)
=== CONT  TestAccCodeBuildProject_SourceBuildStatus_gitHubEnterprise
=== NAME  TestAccCodeBuildProject_basic
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_basic (1.03s)
=== NAME  TestAccCodeBuildProject_SecondaryArtifacts_overrideArtifactName
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
=== CONT  TestAccCodeBuildProject_Source_insecureSSL
=== NAME  TestAccCodeBuildProject_Artifacts_name
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
=== NAME  TestAccCodeBuildProject_Artifacts_location
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
=== NAME  TestAccCodeBuildProject_windowsServer2019Container
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
=== CONT  TestAccCodeBuildProject_Environment_registryCredential
=== CONT  TestAccCodeBuildProject_Environment_certificate
=== CONT  TestAccCodeBuildProject_fileSystemLocations
=== CONT  TestAccCodeBuildProject_SecondarySourcesVersions
--- SKIP: TestAccCodeBuildProject_SecondaryArtifacts_overrideArtifactName (1.03s)
--- SKIP: TestAccCodeBuildProject_Artifacts_name (1.03s)
--- SKIP: TestAccCodeBuildProject_windowsServer2019Container (1.03s)
=== NAME  TestAccCodeBuildProject_Artifacts_namespaceType
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_Artifacts_location (1.03s)
--- SKIP: TestAccCodeBuildProject_Artifacts_namespaceType (1.03s)
=== CONT  TestAccCodeBuildProject_EnvironmentEnvironmentVariable_value
=== NAME  TestAccCodeBuildProject_Artifacts_encryptionDisabled
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_Artifacts_encryptionDisabled (1.04s)
=== CONT  TestAccCodeBuildProject_SecondarySourcesGitSubmodules_gitHubEnterprise
=== NAME  TestAccCodeBuildProject_SecondaryArtifacts_encryptionDisabled
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_SecondaryArtifacts_encryptionDisabled (1.04s)
=== CONT  TestAccCodeBuildProject_EnvironmentEnvironmentVariable_type
=== NAME  TestAccCodeBuildProject_concurrentBuildLimit
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_concurrentBuildLimit (1.04s)
=== CONT  TestAccCodeBuildProject_SecondarySourcesGitSubmodules_gitHub
=== NAME  TestAccCodeBuildProject_Artifacts_overrideArtifactName
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_Artifacts_overrideArtifactName (1.05s)
=== CONT  TestAccCodeBuildProject_sourceVersion
=== NAME  TestAccCodeBuildProject_SecondaryArtifacts_namespaceType
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_SecondaryArtifacts_namespaceType (0.21s)
=== NAME  TestAccCodeBuildProject_SecondaryArtifacts_path
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
=== CONT  TestAccCodeBuildProject_SecondarySourcesGitSubmodules_codeCommit
--- SKIP: TestAccCodeBuildProject_SecondaryArtifacts_path (0.21s)
=== CONT  TestAccCodeBuildProject_SourceGitSubmodules_gitHubEnterprise
=== NAME  TestAccCodeBuildProject_SourceReportBuildStatus_bitbucket
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (BITBUCKET) not found
--- SKIP: TestAccCodeBuildProject_SourceReportBuildStatus_bitbucket (0.21s)
=== CONT  TestAccCodeBuildProject_Source_gitCloneDepth
=== NAME  TestAccCodeBuildProject_Logs_cloudWatchLogs
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
=== NAME  TestAccCodeBuildProject_Environment_registryCredential
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_Logs_cloudWatchLogs (0.22s)
--- SKIP: TestAccCodeBuildProject_Environment_registryCredential (0.21s)
=== CONT  TestAccCodeBuildProject_buildBatchConfigDelete
=== CONT  TestAccCodeBuildProject_SourceGitSubmodules_gitHub
=== NAME  TestAccCodeBuildProject_SecondaryArtifacts_location
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_SecondaryArtifacts_location (0.23s)
=== CONT  TestAccCodeBuildProject_buildBatch
=== NAME  TestAccCodeBuildProject_SourceBuildStatus_gitHubEnterprise
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB_ENTERPRISE) not found
--- SKIP: TestAccCodeBuildProject_SourceBuildStatus_gitHubEnterprise (0.22s)
=== CONT  TestAccCodeBuildProject_SourceGitSubmodules_codeCommit
=== NAME  TestAccCodeBuildProject_EnvironmentEnvironmentVariable_value
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_EnvironmentEnvironmentVariable_value (0.22s)
=== CONT  TestAccCodeBuildProject_Logs_s3Logs
=== NAME  TestAccCodeBuildProject_fileSystemLocations
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_fileSystemLocations (0.38s)
=== CONT  TestAccCodeBuildProject_buildTimeout
=== NAME  TestAccCodeBuildProject_SourceGitSubmodules_gitHubEnterprise
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB_ENTERPRISE) not found
--- SKIP: TestAccCodeBuildProject_SourceGitSubmodules_gitHubEnterprise (0.21s)
=== CONT  TestAccCodeBuildProject_description
=== NAME  TestAccCodeBuildProject_Source_gitCloneDepth
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_Source_gitCloneDepth (0.22s)
=== CONT  TestAccCodeBuildProject_publicVisibility
=== NAME  TestAccCodeBuildProject_Logs_s3Logs
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_Logs_s3Logs (0.21s)
=== CONT  TestAccCodeBuildProject_cache
=== NAME  TestAccCodeBuildProject_Environment_certificate
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_Environment_certificate (9.30s)
=== CONT  TestAccCodeBuildProject_badgeEnabled
=== NAME  TestAccCodeBuildProject_SourceGitSubmodules_gitHub
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_SourceGitSubmodules_gitHub (10.74s)
=== CONT  TestAccCodeBuildProject_queuedTimeout
=== NAME  TestAccCodeBuildProject_badgeEnabled
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_badgeEnabled (1.70s)
=== CONT  TestAccCodeBuildProject_tags
=== NAME  TestAccCodeBuildProject_queuedTimeout
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_queuedTimeout (0.23s)
=== CONT  TestAccCodeBuildProject_Environment_environmentVariable
=== NAME  TestAccCodeBuildProject_Source_insecureSSL
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_Source_insecureSSL (11.27s)
=== CONT  TestAccCodeBuildProject_disappears
=== NAME  TestAccCodeBuildProject_Environment_environmentVariable
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_Environment_environmentVariable (0.20s)
=== CONT  TestAccCodeBuildProject_Artifacts_path
=== NAME  TestAccCodeBuildProject_disappears
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_disappears (0.21s)
=== CONT  TestAccCodeBuildProject_encryptionKey
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_encryptionKey (0.22s)
=== CONT  TestAccCodeBuildProject_Artifacts_type
=== NAME  TestAccCodeBuildProject_Artifacts_path
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_Artifacts_path (3.73s)
=== CONT  TestAccCodeBuildProject_Artifacts_packaging
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_Artifacts_packaging (0.37s)
=== CONT  TestAccCodeBuildProject_SourceType_codePipeline
=== NAME  TestAccCodeBuildProject_sourceVersion
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_sourceVersion (15.62s)
=== CONT  TestAccCodeBuildProject_SourceType_gitHubEnterprise
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB_ENTERPRISE) not found
--- SKIP: TestAccCodeBuildProject_SourceType_gitHubEnterprise (0.22s)
=== CONT  TestAccCodeBuildProject_SourceType_codeCommit
=== NAME  TestAccCodeBuildProject_tags
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_tags (7.07s)
=== CONT  TestAccCodeBuildProject_SourceType_noSourceInvalid
=== NAME  TestAccCodeBuildProject_buildBatchConfigDelete
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_buildBatchConfigDelete (21.97s)
=== CONT  TestAccCodeBuildProject_SourceType_bitbucket
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (BITBUCKET) not found
--- SKIP: TestAccCodeBuildProject_SourceType_bitbucket (0.21s)
=== CONT  TestAccCodeBuildProject_vpc
=== NAME  TestAccCodeBuildProject_EnvironmentEnvironmentVariable_type
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_EnvironmentEnvironmentVariable_type (22.70s)
=== CONT  TestAccCodeBuildProject_SourceType_noSource
=== NAME  TestAccCodeBuildProject_vpc
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_vpc (0.39s)
=== CONT  TestAccCodeBuildProject_SourceType_s3
=== NAME  TestAccCodeBuildProject_SourceReportBuildStatus_gitHubEnterprise
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB_ENTERPRISE) not found
--- SKIP: TestAccCodeBuildProject_SourceReportBuildStatus_gitHubEnterprise (24.74s)
--- PASS: TestAccCodeBuildProject_SecondaryArtifacts_type (28.15s)
=== NAME  TestAccCodeBuildProject_buildBatch
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_buildBatch (29.14s)
--- PASS: TestAccCodeBuildProject_SecondarySources_codeCommit (30.79s)
=== NAME  TestAccCodeBuildProject_description
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_description (29.58s)
=== NAME  TestAccCodeBuildProject_cache
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_cache (30.95s)
--- PASS: TestAccCodeBuildProject_SourceType_noSourceInvalid (14.85s)
=== NAME  TestAccCodeBuildProject_buildTimeout
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_buildTimeout (33.72s)
=== NAME  TestAccCodeBuildProject_SecondarySourcesGitSubmodules_gitHub
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_SecondarySourcesGitSubmodules_gitHub (43.64s)
=== NAME  TestAccCodeBuildProject_publicVisibility
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB) not found
--- SKIP: TestAccCodeBuildProject_publicVisibility (43.68s)
--- PASS: TestAccCodeBuildProject_SourceType_codePipeline (29.68s)
--- PASS: TestAccCodeBuildProject_Artifacts_bucketOwnerAccess (50.46s)
=== NAME  TestAccCodeBuildProject_SecondarySourcesGitSubmodules_gitHubEnterprise
    source_credential_test.go:144: skipping acceptance testing: Source Credentials (GITHUB_ENTERPRISE) not found

$

Copy link

Community Note

Voting for Prioritization

  • Please vote on this pull request by adding a 👍 reaction to the original post to help the community and maintainers prioritize this pull request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions github-actions bot added size/XS Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. service/codebuild Issues and PRs that pertain to the codebuild service. labels Apr 17, 2024
@terraform-aws-provider terraform-aws-provider bot added needs-triage Waiting for first response or review from a maintainer. external-maintainer Contribution from a trusted external contributor. labels Apr 17, 2024
@acwwat acwwat force-pushed the f-aws_codebuild_project-add_report_build_status_gitlab_support branch 2 times, most recently from 2bfcaf0 to ca325da Compare April 17, 2024 03:18
@acwwat acwwat force-pushed the f-aws_codebuild_project-add_report_build_status_gitlab_support branch from ca325da to 16e1fa4 Compare April 17, 2024 03:19
@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Apr 17, 2024
@ewbankkit ewbankkit self-assigned this Apr 17, 2024
@terraform-aws-provider terraform-aws-provider bot added the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Apr 17, 2024
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

@ewbankkit
Copy link
Contributor

@acwwat Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit a0f95cb into hashicorp:main Apr 17, 2024
77 checks passed
@github-actions github-actions bot added this to the v5.46.0 milestone Apr 17, 2024
Copy link

This functionality has been released in v5.46.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions github-actions bot removed the prioritized Part of the maintainer teams immediate focus. To be addressed within the current quarter. label Apr 19, 2024
@acwwat acwwat deleted the f-aws_codebuild_project-add_report_build_status_gitlab_support branch April 24, 2024 03:34
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. external-maintainer Contribution from a trusted external contributor. service/codebuild Issues and PRs that pertain to the codebuild service. size/XS Managed by automation to categorize the size of a PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: report_build_status with CodeBuild & GitLab
2 participants