Skip to content

Commit

Permalink
re-adding docker-image-pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Aug 20, 2024
1 parent 07d5136 commit 6401be6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 3 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand Down Expand Up @@ -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"
}
}
}

0 comments on commit 6401be6

Please sign in to comment.