Skip to content

Commit

Permalink
adding a few repos
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Sep 20, 2024
1 parent 51a3574 commit e802194
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 8 deletions.
32 changes: 32 additions & 0 deletions github-runners.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
module "template_ecs_github_runners" {
source = "HappyPathway/repo/github"
#github_codeowners_team = "CSVD"
github_repo_description = "Terraform Workspace for creating Github Runners"
repo_org = "arnol377"
name = "template-ecs-github-runners"
github_repo_topics = [
"terraform"
]
is_template = true
force_name = true
create_codeowners = false
enforce_prs = false
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
}

module "csvd_ecs_github_runners" {
source = "HappyPathway/repo/github"
#github_codeowners_team = "CSVD"
github_repo_description = "Terraform Workspace for creating Github Runners"
repo_org = "arnol377"
name = "csvd-ecs-github-runners"
github_repo_topics = [
"terraform"
]
force_name = true
create_codeowners = false
enforce_prs = false
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
}
10 changes: 5 additions & 5 deletions image-pipeline.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module "image_pipeline_repos" {
source = "HappyPathway/repo/github"
#github_codeowners_team = "CSVD"
github_repo_description = "Template repo for windows image pipelines"
repo_org = "arnol377"
repo_org = "CSVD"
name = each.value
github_repo_topics = [
"terraform"
Expand All @@ -44,10 +44,10 @@ module "image_pipeline_repos" {

# image-pipeline-asset-releases
module "asset_releases" {
source = "git@github.e.it.census.gov:CSVD/terraform-github-repo"
source = "HappyPathway/repo/github"
#github_codeowners_team = "CSVD"
github_repo_description = "Terraform Workspace for publishing image-pipeline-assets"
repo_org = "arnol377"
repo_org = "CSVD"
name = "image-pipeline-asset-releases"
github_repo_topics = [
"terraform"
Expand All @@ -64,7 +64,7 @@ module "asset_releases" {
module "aws_image_pipeline" {
source = "HappyPathway/repo/github"
github_repo_description = "Terraform Workspace for creating and managing AWS Image Pipelines"
repo_org = "arnol377"
repo_org = "CSVD"
name = "aws-image-pipeline"
github_repo_topics = [
"terraform"
Expand Down Expand Up @@ -107,7 +107,7 @@ module "aws_image_pipeline" {
module "terraform_aws_image_pipeline" {
source = "HappyPathway/repo/github"
github_repo_description = "Terraform Module that creates codepipeline and codebuild jobs and other resources for building and deploying images"
repo_org = "arnol377"
repo_org = "CSVD"
name = "terraform-aws-image-pipeline"
github_repo_topics = [
"terraform"
Expand Down
57 changes: 54 additions & 3 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
locals {
collaborators = {
naray007 = "push",
morga471 = "push",
gomez385 = "push"
naray007 = "admin",
morga471 = "admin",
gomez385 = "admin"
}
pull_request_bypassers = [
"arnol377",
Expand Down Expand Up @@ -47,6 +47,57 @@ module "automation-repos" {
pull_request_bypassers = local.pull_request_bypassers
}

# terraform-repos
module "csvd-org-management" {
source = "git@github.e.it.census.gov:CSVD/terraform-github-repo"
#github_codeowners_team = "CSVD"
github_repo_description = "Automation Repos for Morpheus POC"
repo_org = "CSVD"
name = "csvd-org-management"
github_repo_topics = [
"terraform"
]
force_name = true
create_codeowners = false
enforce_prs = false
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
}

module "external-actions" {
source = "git@github.e.it.census.gov:CSVD/terraform-github-repo"
#github_codeowners_team = "CSVD"
github_repo_description = "Automation Repos for Morpheus POC"
repo_org = "CSVD"
name = "external-actions"
github_repo_topics = [
"terraform"
]
force_name = true
create_codeowners = false
enforce_prs = false
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
}

module "github-runner-images" {
source = "git@github.e.it.census.gov:CSVD/terraform-github-repo"
#github_codeowners_team = "CSVD"
github_repo_description = "Github Runner Images Import"
repo_org = "CSVD"
name = "github-runner-images"
github_repo_topics = [
"terraform"
]
force_name = true
create_codeowners = false
enforce_prs = false
collaborators = local.collaborators
pull_request_bypassers = local.pull_request_bypassers
}



# centralized-actions
module "centralized-actions" {
source = "HappyPathway/repo/github"
Expand Down

0 comments on commit e802194

Please sign in to comment.