Skip to content

Commit

Permalink
fix: add regions for google cloud provider (#268)
Browse files Browse the repository at this point in the history
build: update go version in github actions
build: update go.mod for 1.19
build: update mage build code to support go 1.19 and 1.20
build: update remaining jobs to 1.19
build(tools): update go.mod|sum
chore: format & lint
chore: go tidy
fix: add regions for google cloud provider

Signed-off-by: Ben Stickel <[email protected]>
  • Loading branch information
fin09pcap authored May 15, 2023
1 parent 090fc3c commit 244ca6d
Show file tree
Hide file tree
Showing 107 changed files with 777 additions and 380 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.19
-
name: Build Harp
run: |
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.19
-
name: Checkout code
uses: actions/checkout@v3
Expand All @@ -51,15 +51,16 @@ jobs:
git --no-pager diff go.mod go.sum
git --no-pager diff --quiet go.mod go.sum
# Try compiple all binaries first
# Try compile all binaries first
compile-dryrun:
name: "Compile"
strategy:
fail-fast: true
matrix:
go-version:
- "1.17"
- "1.18.0-rc.1"
- "1.20.4"
- "1.19"
- "1.18.10"
runs-on: ubuntu-latest
needs: [golangci-lint, go-mod]
steps:
Expand Down Expand Up @@ -107,7 +108,7 @@ jobs:
name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.19
-
uses: actions/checkout@v3
-
Expand All @@ -134,7 +135,7 @@ jobs:
name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.17 # test only the latest go version to speed up CI
go-version: 1.19
-
name: Cache Go modules
uses: actions/[email protected]
Expand Down Expand Up @@ -172,7 +173,7 @@ jobs:
name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.17 # test only the latest go version to speed up CI
go-version: 1.19
-
name: Cache Go modules
uses: actions/[email protected]
Expand Down Expand Up @@ -210,7 +211,7 @@ jobs:
name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.17 # test only the latest go version to speed up CI
go-version: 1.19
-
name: Cache Go modules
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.17'
go-version: '1.19'
check-latest: true
-
name: Cache Go modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
-
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.19
-
name: Run go list
run: go list -json -m all > go.list
Expand Down
31 changes: 17 additions & 14 deletions api/gen/go/cso/v1/secret.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 9 additions & 6 deletions api/gen/go/cso/v1/validator_api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions api/gen/go/cso/v1/validator_api_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 24 additions & 21 deletions api/gen/go/harp/bundle/v1/bundle.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 8 additions & 5 deletions api/gen/go/harp/bundle/v1/bundle_api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions api/gen/go/harp/bundle/v1/bundle_api_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 21 additions & 18 deletions api/gen/go/harp/bundle/v1/patch.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 10 additions & 7 deletions api/gen/go/harp/bundle/v1/ruleset.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 22 additions & 19 deletions api/gen/go/harp/bundle/v1/template.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 9 additions & 6 deletions api/gen/go/harp/container/v1/container.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/mage/docker/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ import (
"strings"
"time"

exec "golang.org/x/sys/execabs"

"github.com/magefile/mage/mg"
"github.com/magefile/mage/sh"

"github.com/elastic/harp/build/artifact"
"github.com/elastic/harp/build/mage/git"

exec "golang.org/x/sys/execabs"
)

var dockerTemplate = strings.TrimSpace(`
Expand Down
Loading

0 comments on commit 244ca6d

Please sign in to comment.