Skip to content

Action prs #15

Merged
merged 2 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/terraform_plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# This workflow contains a single job called "build"
Plan:
# The type of runner that the job will run on
runs-on: [ automation-repos ]
runs-on: [ "229685449397" ]
env:
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
AWS_ACCESS_KEY_ID: "${{ vars.AWS_ACCESS_KEY_ID }}"
Expand Down
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
Loading