Skip to content

Commit

Permalink
feat: update tf modules
Browse files Browse the repository at this point in the history
Signed-off-by: Rudra Gupta <[email protected]>
  • Loading branch information
grudra7714 committed Sep 26, 2024
1 parent d3592a8 commit c815c84
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 37 deletions.
Binary file removed .DS_Store
Binary file not shown.
79 changes: 43 additions & 36 deletions .github/workflows/check-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,47 @@ on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Privateer repository
uses: actions/checkout@v3
with:
repository: privateerproj/privateer
path: privateer
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Privateer repository
# uses: actions/checkout@v3
# with:
# repository: privateerproj/privateer
# path: privateer

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22
# - name: Set up Go
# uses: actions/setup-go@v3
# with:
# go-version: 1.22

- name: Install dependencies
run: |
cd privateer
go mod download
# - name: Install dependencies
# run: |
# cd privateer
# go mod download

- name: Run make release
run: |
cd privateer
make release
# - name: Run make release
# run: |
# cd privateer
# make release

- name: Run privateer help command
run: |
cd privateer/
# Assuming the binary is named 'privateer'. Adjust if it's named differently.
./privateer help
# - name: Run privateer help command
# run: |
# cd privateer/
# # Assuming the binary is named 'privateer'. Adjust if it's named differently.
# ./privateer help

- name: Archive release artifacts
uses: actions/upload-artifact@v3
with:
name: release-artifacts
path: privateer/release/

- name: Archive help output
uses: actions/upload-artifact@v3
with:
name: help-output
path: privateer/release/help-output.txt
# - name: Archive release artifacts
# uses: actions/upload-artifact@v3
# with:
# name: release-artifacts
# path: privateer/release/

# - name: Archive help output
# uses: actions/upload-artifact@v3
# with:
# name: help-output
# path: privateer/release/help-output.txt

terraform:
name: 'Terraform'
Expand All @@ -74,6 +74,13 @@ jobs:
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1

- name: cd into examples/basic directory
run: |
cd examples/basic
# run ls command
ls
# Initialize a new or existing Terraform working directory by creating initial files, loading any remote state, downloading modules, etc.
- name: Terraform Init
run: terraform init
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ override.tf.json

# Ignore CLI configuration files
.terraformrc
terraform.rc
terraform.rc

.DS_Store
Binary file removed examples/.DS_Store
Binary file not shown.

0 comments on commit c815c84

Please sign in to comment.