From 6401be686ef5619d56061ff33223d8c3201d1c14 Mon Sep 17 00:00:00 2001 From: arnol377 Date: Tue, 20 Aug 2024 15:47:16 -0400 Subject: [PATCH] re-adding docker-image-pipeline --- .gitignore | 8 ++++---- main.tf | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 4d1596f..9531365 100644 --- a/.gitignore +++ b/.gitignore @@ -46,10 +46,10 @@ image-pipeline-ansible-playbooks/image-pipeline-ansible-playbooks/ image-pipeline-goss-testing/image-pipeline-goss-testing/ **/runner.log* **/runner_error.log* -aws-image-pipeline/aws-image-pipeline/ -windows-image-pipeline/windows-image-pipeline/ -linux-image-pipeline/linux-image-pipeline/ +plans +windows-image-pipeline/windows-image-pipeline +linux-image-pipeline/linux-image-pipeline +aws-image-pipeline/aws-image-pipeline automation-repos/automation-repos ghe-runners/ghe-runners docker-image-pipeline/docker-image-pipeline -plans diff --git a/main.tf b/main.tf index ad29530..f2ff814 100644 --- a/main.tf +++ b/main.tf @@ -4,6 +4,7 @@ locals { "aws-image-pipeline", "linux-image-pipeline", "windows-image-pipeline", + "docker-image-pipeline", "image-pipeline-goss-testing", "image-pipeline-ansible-playbooks", ] @@ -81,11 +82,11 @@ output "secrets" { resource "null_resource" "gitignore" { - for_each = toset(formatlist("%s/%s", local.all_repos)) + for_each = toset(formatlist("%s/%s", local.all_repos, local.all_repos)) triggers = { repo = each.value } provisioner "local-exec" { command = "grep -q ${each.value} .gitignore || echo ${each.value} >> .gitignore" } -} \ No newline at end of file +}