Skip to content

Commit

Permalink
Merge branch 'main' of github.e.it.census.gov:CSVD/automation-repos
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Aug 7, 2024
2 parents 6179403 + 96ac5af commit dbe3556
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/arm-rhel-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ARM RHEL AMI Pipeline

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
build:
runs-on: [ self-hosted ]

steps:
- uses: actions/checkout@v3

- name: Set up Terraform
uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.1.0

- name: Terraform Init
run: terraform init

- name: Terraform Plan
run: terraform plan

- name: Terraform Apply
run: terraform apply -auto-approve
2 changes: 1 addition & 1 deletion backend.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ terraform {
region = "us-gov-east-1"
dynamodb_table = "tf_remote_state"
}
}
}
18 changes: 18 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,24 @@ module "windows-ami-build" {
pull_request_bypassers = local.pull_request_bypassers
}

# RHEL Pipeline - Testing Braxton
module "arm_rhel_image_pipeline" {
source = "git@github.e.it.census.gov:CSVD/terraform-github-repo"
github_repo_description = "ARM-based RHEL AMI Pipeline"
repo_org = "arnol377"
name = "arm-rhel-image-pipeline"
github_repo_topics = [
"terraform"
]
is_template = true
force_name = true
create_codeowners = false
enforce_prs = false
collaborators = local.collaborators
admin_teams = [github_team.team.name]
}



# image-pipeline-goss-testing
resource "aws_codecommit_repository" "goss-testing" {
Expand Down

0 comments on commit dbe3556

Please sign in to comment.