diff --git a/tests/integration/004_template/expected_outputs.json b/tests/integration/004_template/expected_outputs.json index a5335180..8e2280ad 100644 --- a/tests/integration/004_template/expected_outputs.json +++ b/tests/integration/004_template/expected_outputs.json @@ -2,7 +2,6 @@ "github_template_type": "terraform", "github_template_name": "Github Test-", "github_template_repository": "https://github.com/env0/templates", - "gitlab_template_repository": "https://gitlab.com/env0/gitlab-vcs-integration-tests.git", "github_template_path": "second", "tg_tg_version" : "0.35.0", "data_github_template_type": "terraform" diff --git a/tests/integration/004_template/main.tf b/tests/integration/004_template/main.tf index bc7c93f1..6fec1de9 100644 --- a/tests/integration/004_template/main.tf +++ b/tests/integration/004_template/main.tf @@ -14,9 +14,9 @@ data "env0_template" "github_template" { # Gitlab Integration must be done manually - so we expect an existing Gitlab Template with this name # It must be for https://gitlab.com/env0/gitlab-vcs-integration-tests - the gitlab_project_id is still static -data "env0_template" "gitlab_template" { - name = "Gitlab Integrated Template" -} +#data "env0_template" "gitlab_template" { +# name = "Gitlab Integrated Template" +#} resource "env0_template" "github_template" { name = "Github Test-${random_string.random.result}" @@ -31,19 +31,19 @@ resource "env0_template" "github_template" { terraform_version = "0.15.1" } -resource "env0_template" "gitlab_template" { - name = "GitLab Test-${random_string.random.result}" - description = "Template description - Gitlab" - type = "terraform" - repository = data.env0_template.gitlab_template.repository - token_id = data.env0_template.gitlab_template.token_id - gitlab_project_id = 32315446 - path = var.second_run ? "second" : "misc/null-resource" - retries_on_deploy = 3 - retry_on_deploy_only_when_matches_regex = "abc" - retries_on_destroy = 1 - terraform_version = "0.15.1" -} +#resource "env0_template" "gitlab_template" { +# name = "gitlab test-${random_string.random.result}" +# description = "template description - gitlab" +# type = "terraform" +# repository = data.env0_template.gitlab_template.repository +# token_id = data.env0_template.gitlab_template.token_id +# gitlab_project_id = 32315446 +# path = var.second_run ? "second" : "misc/null-resource" +# retries_on_deploy = 3 +# retry_on_deploy_only_when_matches_regex = "abc" +# retries_on_destroy = 1 +# terraform_version = "0.15.1" +#} resource "env0_template" "template_tg" { name = "Template for environment resource - tg-${random_string.random.result}" @@ -79,9 +79,9 @@ output "github_template_name" { output "github_template_repository" { value = env0_template.github_template.repository } -output "gitlab_template_repository" { - value = env0_template.gitlab_template.repository -} +#output "gitlab_template_repository" { +# value = env0_template.gitlab_template.repository +#} output "github_template_path" { value = env0_template.github_template.path }