Skip to content

Commit

Permalink
Merge pull request #89 from OnionIoT/feature/pipeline-automation
Browse files Browse the repository at this point in the history
Feature/pipeline automation
  • Loading branch information
tmaior authored Mar 8, 2024
2 parents 113bcfc + 10a8b03 commit 67938a8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 18 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/release.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .terraform/pipeline/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ resource "aws_codepipeline" "codepipeline" {
configuration = {
ConnectionArn = data.aws_codestarconnections_connection.github_connection.arn
FullRepositoryId = local.repositories.sdk
BranchName = "devops"
BranchName = "main"
DetectChanges = false
}
}
Expand All @@ -94,7 +94,7 @@ resource "aws_codepipeline" "codepipeline" {
configuration = {
ConnectionArn = data.aws_codestarconnections_connection.github_connection.arn
FullRepositoryId = local.repositories.image_builder
BranchName = "devops"
BranchName = "main"
DetectChanges = false
}
}
Expand Down
4 changes: 2 additions & 2 deletions .terraform/pipeline/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ provider "aws" {
terraform {
required_version = ">= 1"
backend "s3" {
bucket = "devops-openwrt-terraform-state-ezops-test"
bucket = "devops-openwrt-terraform-state"
key = "pipeline_state"
region = "us-east-1"
dynamodb_table = "devops-openwrt-terraform-lock-ezops-test"
dynamodb_table = "devops-openwrt-terraform-lock"
workspace_key_prefix = "pipeline_state"
}
required_providers {
Expand Down
2 changes: 1 addition & 1 deletion .terraform/pipeline/terraform.tfvars
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project_name = "openwrt"
region = "us-east-1"
deployment_bucket = "devops-openwrt-terraform-ezops-test-download"
deployment_bucket = "repo.onioniot.com"

# Set the buildspec file name. Options include 'development-buildspec.yml' for development or 'buildspec.yml' for production.
buildspec_file_name = "buildspec.yml"
Expand Down

0 comments on commit 67938a8

Please sign in to comment.