Skip to content

Commit

Permalink
Merge branch 'main' into analyze_rule_block
Browse files Browse the repository at this point in the history
  • Loading branch information
haim-kermany authored Mar 3, 2025
2 parents ed1dabd + e2bd28b commit d00ec5f
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/operator-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: build-operator

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

permissions:
contents: read

jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34
with:
go-version-file: ./operator/go.mod

- name: Build
run: make build-operator

3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,7 @@ generate_sdk: pkg/model/generated/nsx_sdk.go
nsx-analyzer-image:
docker build -t $(IMAGE_REGISTRY)/$(NSX_ANALYZER_IMAGE):$(NSX_ANALYZER_TAG) .

build-operator:
cd operator; go build -o bin/manager cmd/main.go

.DEFAULT_GOAL := build

0 comments on commit d00ec5f

Please sign in to comment.