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 d4113fc commit 38de759
Showing 1 changed file with 75 additions and 40 deletions.
115 changes: 75 additions & 40 deletions .github/workflows/check-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,49 +11,84 @@ permissions:
contents: read

jobs:
# 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: Install dependencies
# run: |
# cd privateer
# go mod download

# - 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
build-privateer:
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: Install dependencies
run: |
cd privateer
go mod download
- 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: 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/

build-gcs-object-storage:
runs-on: ubuntu-latest
steps:
- name: Checkout GCS Object Storage repository
uses: actions/checkout@v3
with:
repository: eddie-knight/raid-azure-blob-storage
path: raid-azure-blob-storage

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

- name: RUN ls
run: |
ls
- name: Install dependencies
run: |
cd raid-azure-blob-storage
go mod download
- name: Run make release
run: |
cd raid-azure-blob-storage
make release
- name: Archive release artifacts
uses: actions/upload-artifact@v3
with:
name: release-artifacts
path: raid-azure-blob-storage/release/

- name: View release artifacts
run: |
cd raid-azure-blob-storage/release/
ls
terraform:
if: github.repository == 'octo-org/octo-repo-prod'
name: 'Terraform'
env:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
Expand Down

0 comments on commit 38de759

Please sign in to comment.