Skip to content

Commit

Permalink
added eks-a-releaser files
Browse files Browse the repository at this point in the history
  • Loading branch information
ibix16 committed Aug 15, 2024
1 parent 28ba8bf commit 8e24aad
Show file tree
Hide file tree
Showing 20 changed files with 1,890 additions and 0 deletions.
22 changes: 22 additions & 0 deletions release/buildspecs/eks-a-releaser-buildspec/create-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 0.2
env:
secrets-manager:
SECRET_PAT: "Secret:PAT"
phases:
install:
commands:
- echo "Installing dependencies..."
- # Install any required dependencies for deployment

pre_build:
commands:
- echo "Downloading compiled binary..."
- aws s3 cp s3://eka-a-releaser-build-output/eks-a-releaser-build .
- unzip eks-a-releaser-build
- cd cli-releaser

build:
commands:
- echo "Deploying Go CLI binary..."
- ./eks-a-releaser-cli create-branch
- # Run any additional deployment scripts or commands
22 changes: 22 additions & 0 deletions release/buildspecs/eks-a-releaser-buildspec/create-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 0.2
env:
secrets-manager:
SECRET_PAT: "Secret:PAT"
phases:
install:
commands:
- echo "Installing dependencies..."
- # Install any required dependencies for deployment

pre_build:
commands:
- echo "Downloading compiled binary..."
- aws s3 cp s3://eka-a-releaser-build-output/eks-a-releaser-build .
- unzip eks-a-releaser-build
- cd cli-releaser

build:
commands:
- echo "Deploying Go CLI binary..."
- ./eks-a-releaser-cli create-release
- # Run any additional deployment scripts or commands
19 changes: 19 additions & 0 deletions release/buildspecs/eks-a-releaser-buildspec/go-build-binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 0.2

phases:
install:
runtime-versions:
golang: latest
pre_build:
commands:
- echo "Navigating to Go CLI directory"
- cd cli-releaser
- echo "Go Dependency Installation"
- go get ./...
build:
commands:
- echo "Go Build"
- go build -o eks-a-releaser-cli ./eks-a-releaser/main.go
artifacts:
files:
- cli-releaser/eks-a-releaser-cli
23 changes: 23 additions & 0 deletions release/buildspecs/eks-a-releaser-buildspec/prod-bundle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 0.2
env:
secrets-manager:
SECRET_PAT: "Secret:PAT"
phases:
install:
commands:
- echo "Installing dependencies..."
- # Install any required dependencies for deployment

pre_build:
commands:
- echo "Downloading compiled binary..."
- aws s3 cp s3://eka-a-releaser-build-output/eks-a-releaser-build .
- unzip eks-a-releaser-build
- cd cli-releaser

build:
commands:
- echo "Deploying Go CLI binary..."
- echo "PAT..."
- echo $SECRET_PAT | base64
- ./eks-a-releaser-cli prod-bundle
21 changes: 21 additions & 0 deletions release/buildspecs/eks-a-releaser-buildspec/prod-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 0.2
env:
secrets-manager:
SECRET_PAT: "Secret:PAT"
phases:
install:
commands:
- echo "Installing dependencies..."
- # Install any required dependencies for deployment

pre_build:
commands:
- echo "Downloading compiled binary..."
- aws s3 cp s3://eka-a-releaser-build-output/eks-a-releaser-build .
- unzip eks-a-releaser-build
- cd cli-releaser

build:
commands:
- echo "Deploying Go CLI binary..."
- ./eks-a-releaser-cli prod-cli
22 changes: 22 additions & 0 deletions release/buildspecs/eks-a-releaser-buildspec/stage-bundle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 0.2
env:
secrets-manager:
SECRET_PAT: "Secret:PAT"
phases:
install:
commands:
- echo "Installing dependencies..."
- # Install any required dependencies for deployment

pre_build:
commands:
- echo "Downloading compiled binary..."
- aws s3 cp s3://eka-a-releaser-build-output/eks-a-releaser-build .
- unzip eks-a-releaser-build
- cd cli-releaser

build:
commands:
- echo "Deploying Go CLI binary..."
- ./eks-a-releaser-cli stage-bundle
- # Run any additional deployment scripts or commands
21 changes: 21 additions & 0 deletions release/buildspecs/eks-a-releaser-buildspec/stage-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 0.2
env:
secrets-manager:
SECRET_PAT: "Secret:PAT"
phases:
install:
commands:
- echo "Installing dependencies..."
- # Install any required dependencies for deployment

pre_build:
commands:
- echo "Downloading compiled binary..."
- aws s3 cp s3://eka-a-releaser-build-output/eks-a-releaser-build .
- unzip eks-a-releaser-build
- cd cli-releaser

build:
commands:
- echo "Deploying Go CLI binary..."
- ./eks-a-releaser-cli stage-cli
21 changes: 21 additions & 0 deletions release/buildspecs/eks-a-releaser-buildspec/update-homebrew.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 0.2
env:
secrets-manager:
SECRET_PAT: "Secret:PAT"
phases:
install:
commands:
- echo "Installing dependencies..."
- # Install any required dependencies for deployment

pre_build:
commands:
- echo "Downloading compiled binary..."
- aws s3 cp s3://eka-a-releaser-build-output/eks-a-releaser-build .
- unzip eks-a-releaser-build
- cd cli-releaser

build:
commands:
- echo "Deploying Go CLI binary..."
- ./eks-a-releaser-cli update-homebrew
21 changes: 21 additions & 0 deletions release/buildspecs/eks-a-releaser-buildspec/update-makefile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 0.2
env:
secrets-manager:
SECRET_PAT: "Secret:PAT"
phases:
install:
commands:
- echo "Installing dependencies..."
- # Install any required dependencies for deployment

pre_build:
commands:
- echo "Downloading compiled binary..."
- aws s3 cp s3://eka-a-releaser-build-output/eks-a-releaser-build .
- unzip eks-a-releaser-build
- cd cli-releaser

build:
commands:
- echo "Deploying Go CLI binary..."
- ./eks-a-releaser-cli update-makefile
21 changes: 21 additions & 0 deletions release/buildspecs/eks-a-releaser-buildspec/update-prow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 0.2
env:
secrets-manager:
SECRET_PAT: "Secret:PAT"
phases:
install:
commands:
- echo "Installing dependencies..."
- # Install any required dependencies for deployment

pre_build:
commands:
- echo "Downloading compiled binary..."
- aws s3 cp s3://eka-a-releaser-build-output/eks-a-releaser-build .
- unzip eks-a-releaser-build
- cd cli-releaser

build:
commands:
- echo "Deploying Go CLI binary..."
- ./eks-a-releaser-cli update-prow
Loading

0 comments on commit 8e24aad

Please sign in to comment.