Skip to content

Commit

Permalink
feat: terraform to use coraglogix sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
celaus committed Nov 29, 2024
1 parent a10e7da commit 01c0a57
Show file tree
Hide file tree
Showing 326 changed files with 11,802 additions and 128,862 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/acc-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Acceptance Tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: git fetch --prune --unshallow
-
name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.23.x
-
Expand Down
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ NAME=coralogix
BINARY=terraform-provider-${NAME}
VERSION=1.5
OS_ARCH=darwin_arm64
BUILD_ARGS=-ldflags "-X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn"

# for some reason the GOFLAGS are not picked up by the go test command
BUILD_ARGS=-ldflags "-X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn"
GOFLAGS='-ldflags=-X=google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn'
default: install

build:
Expand Down Expand Up @@ -52,4 +54,4 @@ testacc:
TF_ACC=1 go test ${BUILD_ARGS} $(TEST) -v $(TESTARGS) -timeout 120m

generate:
go generate ${BUILD_ARGS}
go generate
81 changes: 0 additions & 81 deletions coralogix/clientset/actions-client.go

This file was deleted.

81 changes: 0 additions & 81 deletions coralogix/clientset/alerts-client.go

This file was deleted.

81 changes: 0 additions & 81 deletions coralogix/clientset/alerts-scheduler-client.go

This file was deleted.

80 changes: 0 additions & 80 deletions coralogix/clientset/apikeys-client.go

This file was deleted.

Loading

0 comments on commit 01c0a57

Please sign in to comment.