mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-06 01:54:43 +00:00
Add refactored e2e tests
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
parent
1730f3c46b
commit
f6b0c6e7ef
23 changed files with 3069 additions and 11 deletions
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"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue