Add refactored e2e tests
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
committed by
Sunny
parent
1730f3c46b
commit
f6b0c6e7ef
26
tests/integration/terraform/azure/azuredevops.tf
Normal file
26
tests/integration/terraform/azure/azuredevops.tf
Normal file
@@ -0,0 +1,26 @@
|
||||
resource "azuredevops_project" "e2e" {
|
||||
name = local.name
|
||||
visibility = "private"
|
||||
version_control = "Git"
|
||||
work_item_template = "Agile"
|
||||
description = "Test Project for Flux E2E test - Managed by Terraform"
|
||||
}
|
||||
|
||||
|
||||
resource "azuredevops_git_repository" "fleet_infra" {
|
||||
project_id = azuredevops_project.e2e.id
|
||||
name = "fleet-infra-${local.name}"
|
||||
default_branch = "refs/heads/main"
|
||||
initialization {
|
||||
init_type = "Clean"
|
||||
}
|
||||
}
|
||||
|
||||
resource "azuredevops_git_repository" "application" {
|
||||
project_id = azuredevops_project.e2e.id
|
||||
name = "application-${local.name}"
|
||||
default_branch = "refs/heads/main"
|
||||
initialization {
|
||||
init_type = "Clean"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user