Skip to content

Commit 024ed75

Browse files
chandrasekarsrinjotruon
authored andcommitted
Fix build service tests after onboarding to federated tests
1 parent e5a8760 commit 024ed75

14 files changed

+14
-0
lines changed

internal/integrationtest/devops_build_pipeline_code_repository_build_stage_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ var (
5353
"primary_build_source": acctest.Representation{RepType: acctest.Required, Create: `primaryBuildSource`, Update: `primaryBuildSource2`},
5454
"build_source_collection": acctest.RepresentationGroup{RepType: acctest.Required, Group: buildPipelineStageCodeRepoBuildSourceCollectionRepresentation},
5555
"stage_execution_timeout_in_seconds": acctest.Representation{RepType: acctest.Optional, Create: `10`, Update: `11`},
56+
"lifecycle": acctest.RepresentationGroup{RepType: acctest.Required, Group: ignoreDefinedTagsDifferencesRepresentation},
5657
}
5758
buildPipelineBuildStageBuildPipelineStageCodeRepoPredecessorCollectionRepresentation = map[string]interface{}{
5859
"items": acctest.RepresentationGroup{RepType: acctest.Required, Group: buildPipelineStageBuildPipelineStagePredecessorCollectionItemsRepresentation},

internal/integrationtest/devops_build_pipeline_github_build_stage_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ var (
5353
"primary_build_source": acctest.Representation{RepType: acctest.Required, Create: `primaryBuildSource`, Update: `primaryBuildSource2`},
5454
"build_source_collection": acctest.RepresentationGroup{RepType: acctest.Required, Group: buildPipelineStageBuildSourceCollectionRepresentation},
5555
"stage_execution_timeout_in_seconds": acctest.Representation{RepType: acctest.Optional, Create: `10`, Update: `11`},
56+
"lifecycle": acctest.RepresentationGroup{RepType: acctest.Required, Group: ignoreDefinedTagsDifferencesRepresentation},
5657
}
5758
buildPipelineBuildStageBuildPipelineStagePredecessorCollectionRepresentation = map[string]interface{}{
5859
"items": acctest.RepresentationGroup{RepType: acctest.Required, Group: buildPipelineBuildStageBuildPipelineStagePredecessorCollectionItemsRepresentation},

internal/integrationtest/devops_build_pipeline_gitlab_build_stage_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ var (
5353
"primary_build_source": acctest.Representation{RepType: acctest.Required, Create: `primaryBuildSource`, Update: `primaryBuildSource2`},
5454
"build_source_collection": acctest.RepresentationGroup{RepType: acctest.Required, Group: buildPipelineStageGitlabBuildSourceCollectionRepresentation},
5555
"stage_execution_timeout_in_seconds": acctest.Representation{RepType: acctest.Optional, Create: `10`, Update: `11`},
56+
"lifecycle": acctest.RepresentationGroup{RepType: acctest.Required, Group: ignoreDefinedTagsDifferencesRepresentation},
5657
}
5758
buildPipelineBuildStageBuildPipelineStageGitlabPredecessorCollectionRepresentation = map[string]interface{}{
5859
"items": acctest.RepresentationGroup{RepType: acctest.Required, Group: buildPipelineBuildStageGitlabBuildPipelineStagePredecessorCollectionItemsRepresentation},

internal/integrationtest/devops_build_pipeline_ocir_deliver_artifact_stage_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ var (
5050
"description": acctest.Representation{RepType: acctest.Optional, Create: `description`, Update: `description2`},
5151
"display_name": acctest.Representation{RepType: acctest.Optional, Create: `displayName`, Update: `displayName2`},
5252
"freeform_tags": acctest.Representation{RepType: acctest.Optional, Create: map[string]string{"bar-key": "value"}, Update: map[string]string{"Department": "Accounting"}},
53+
"lifecycle": acctest.RepresentationGroup{RepType: acctest.Required, Group: ignoreDefinedTagsDifferencesRepresentation},
5354
}
5455

5556
buildPipelineWaitStageRepresentationForDeliverArtifactOCIR = map[string]interface{}{

internal/integrationtest/devops_build_pipeline_stage_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ var (
5858
"display_name": acctest.Representation{RepType: acctest.Optional, Create: `displayName`, Update: `displayName2`},
5959
"freeform_tags": acctest.Representation{RepType: acctest.Optional, Create: map[string]string{"bar-key": "value"}, Update: map[string]string{"Department": "Accounting"}},
6060
"is_pass_all_parameters_enabled": acctest.Representation{RepType: acctest.Required, Create: `false`, Update: `true`},
61+
"lifecycle": acctest.RepresentationGroup{RepType: acctest.Required, Group: ignoreDefinedTagsDifferencesRepresentation},
6162
}
6263
buildPipelineStageBuildPipelineStagePredecessorCollectionRepresentation = map[string]interface{}{
6364
"items": acctest.RepresentationGroup{RepType: acctest.Required, Group: buildPipelineStageBuildPipelineStagePredecessorCollectionItemsRepresentation},

internal/integrationtest/devops_build_pipeline_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ var (
5555
"description": acctest.Representation{RepType: acctest.Optional, Create: `description`, Update: `description2`},
5656
"display_name": acctest.Representation{RepType: acctest.Optional, Create: `displayName`, Update: `displayName2`},
5757
"freeform_tags": acctest.Representation{RepType: acctest.Optional, Create: map[string]string{"bar-key": "value"}, Update: map[string]string{"Department": "Accounting"}},
58+
"lifecycle": acctest.RepresentationGroup{RepType: acctest.Required, Group: ignoreDefinedTagsDifferencesRepresentation},
5859
}
5960
buildPipelineBuildPipelineParametersRepresentation = map[string]interface{}{
6061
"items": acctest.RepresentationGroup{RepType: acctest.Required, Group: buildPipelineBuildPipelineParametersItemsRepresentation},

internal/integrationtest/devops_build_pipeline_uim_deliver_artifact_stage_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ var (
5151
"description": acctest.Representation{RepType: acctest.Optional, Create: `description`, Update: `description2`},
5252
"display_name": acctest.Representation{RepType: acctest.Optional, Create: `displayName`, Update: `displayName2`},
5353
"freeform_tags": acctest.Representation{RepType: acctest.Optional, Create: map[string]string{"bar-key": "value"}, Update: map[string]string{"Department": "Accounting"}},
54+
"lifecycle": acctest.RepresentationGroup{RepType: acctest.Required, Group: ignoreDefinedTagsDifferencesRepresentation},
5455
}
5556

5657
buildPipelineWaitStageRepresentationForDeliverArtifact = map[string]interface{}{

internal/integrationtest/devops_build_pipeline_wait_stage_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ var (
5050
"display_name": acctest.Representation{RepType: acctest.Optional, Create: `displayName`, Update: `displayName2`},
5151
"freeform_tags": acctest.Representation{RepType: acctest.Optional, Create: map[string]string{"bar-key": "value"}, Update: map[string]string{"Department": "Accounting"}},
5252
"wait_criteria": acctest.RepresentationGroup{RepType: acctest.Required, Group: buildPipelineStageWaitCriteriaRepresentation},
53+
"lifecycle": acctest.RepresentationGroup{RepType: acctest.Required, Group: ignoreDefinedTagsDifferencesRepresentation},
5354
}
5455
buildPipelineWaitStageBuildPipelineStagePredecessorCollectionRepresentation = map[string]interface{}{
5556
"items": acctest.RepresentationGroup{RepType: acctest.Required, Group: buildPipelineStageBuildPipelineStagePredecessorCollectionItemsRepresentation},

internal/integrationtest/devops_build_run_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ var (
4949
"defined_tags": acctest.Representation{RepType: acctest.Optional, Create: `${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "value")}`, Update: `${map("${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag1.name}", "updatedValue")}`},
5050
"display_name": acctest.Representation{RepType: acctest.Optional, Create: `displayName`, Update: `displayName2`},
5151
"freeform_tags": acctest.Representation{RepType: acctest.Optional, Create: map[string]string{"bar-key": "value"}, Update: map[string]string{"Department": "Accounting"}},
52+
"lifecycle": acctest.RepresentationGroup{RepType: acctest.Required, Group: ignoreDefinedTagsDifferencesRepresentation},
5253
}
5354
buildRunBuildRunArgumentsRepresentation = map[string]interface{}{
5455
"items": acctest.RepresentationGroup{RepType: acctest.Required, Group: buildRunBuildRunArgumentsItemsRepresentation},

internal/integrationtest/devops_connection_gitlab_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ var (
5050
"description": acctest.Representation{RepType: acctest.Optional, Create: `description`, Update: `description2`},
5151
"display_name": acctest.Representation{RepType: acctest.Optional, Create: `displayName`, Update: `displayName2`},
5252
"freeform_tags": acctest.Representation{RepType: acctest.Optional, Create: map[string]string{"bar-key": "value"}, Update: map[string]string{"Department": "Accounting"}},
53+
"lifecycle": acctest.RepresentationGroup{RepType: acctest.Required, Group: ignoreDefinedTagsDifferencesRepresentation},
5354
}
5455

5556
DevopsGitlabConnectionResourceDependencies = acctest.GenerateResourceFromRepresentationMap("oci_devops_project", "test_project", acctest.Required, acctest.Create, devopsProjectRepresentation) +

0 commit comments

Comments
 (0)