Skip to content

Commit

Permalink
build: add v8 to module path
Browse files Browse the repository at this point in the history
  • Loading branch information
megglos committed Sep 24, 2024
1 parent 86e4849 commit dc2b71b
Show file tree
Hide file tree
Showing 80 changed files with 169 additions and 169 deletions.
2 changes: 1 addition & 1 deletion cmd/zbctl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rm -rf ${DIST_DIR}/*

for i in "${!OS[@]}"; do
if [ $# -eq 0 ] || [ ${OS[$i]} = $1 ]; then
CGO_ENABLED=0 GOOS="${OS[$i]}" GOARCH=amd64 go build -a -tags netgo -ldflags "-w -X github.com/camunda-community-hub/zeebe-client-go/cmd/zbctl/internal/commands.Version=${VERSION} -X github.com/camunda-community-hub/zeebe-client-go/cmd/zbctl/internal/commands.Commit=${COMMIT}" -o "${DIST_DIR}/${BINARY[$i]}" "${SRC_DIR}/main.go" &
CGO_ENABLED=0 GOOS="${OS[$i]}" GOARCH=amd64 go build -a -tags netgo -ldflags "-w -X github.com/camunda-community-hub/zeebe-client-go/v8/cmd/zbctl/internal/commands.Version=${VERSION} -X github.com/camunda-community-hub/zeebe-client-go/v8/cmd/zbctl/internal/commands.Commit=${COMMIT}" -o "${DIST_DIR}/${BINARY[$i]}" "${SRC_DIR}/main.go" &
fi
done

Expand Down
4 changes: 2 additions & 2 deletions cmd/zbctl/internal/commands/activateJobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"context"
"time"

"github.com/camunda-community-hub/zeebe-client-go/pkg/commands"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/broadcastSignal.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"errors"
"os"

"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/cancelInstance.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package commands
import (
"context"
"fmt"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/completeJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package commands
import (
"context"
"fmt"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/createInstance.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package commands

import (
"context"
"github.com/camunda-community-hub/zeebe-client-go/pkg/commands"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands"
"github.com/spf13/cobra"
"strconv"
"strings"
Expand Down
6 changes: 3 additions & 3 deletions cmd/zbctl/internal/commands/createWorker.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import (
"sync/atomic"
"time"

"github.com/camunda-community-hub/zeebe-client-go/pkg/commands"
"github.com/camunda-community-hub/zeebe-client-go/pkg/entities"
"github.com/camunda-community-hub/zeebe-client-go/pkg/worker"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/worker"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/deleteResource.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package commands
import (
"context"
"fmt"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/zbctl/internal/commands/evaluateDecision.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package commands
import (
"context"
"errors"
"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/commands"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands"
"github.com/spf13/cobra"
"os"
"strconv"
Expand Down
4 changes: 2 additions & 2 deletions cmd/zbctl/internal/commands/failJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ package commands
import (
"context"
"fmt"
"github.com/camunda-community-hub/zeebe-client-go/pkg/commands"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/spf13/cobra"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/publishMessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"time"

"errors"
"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/resolveIncident.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package commands
import (
"context"
"fmt"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ package commands

import (
"fmt"
"github.com/camunda-community-hub/zeebe-client-go/pkg/zbc"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/zbc"
"google.golang.org/protobuf/encoding/protojson"
"google.golang.org/protobuf/proto"
"net"
Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/setVariables.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package commands
import (
"context"
"fmt"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package commands
import (
"context"
"fmt"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/spf13/cobra"
"net"
"sort"
Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/internal/commands/throwErrorJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package commands
import (
"context"
"fmt"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/zbctl/internal/commands/updateJobTimeout.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ package commands
import (
"context"
"fmt"
"github.com/camunda-community-hub/zeebe-client-go/pkg/commands"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/zbctl/internal/commands/updateRetries.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ package commands
import (
"context"
"fmt"
"github.com/camunda-community-hub/zeebe-client-go/pkg/commands"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/commands"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/zbctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package main

import (
"github.com/camunda-community-hub/zeebe-client-go/cmd/zbctl/internal/commands"
"github.com/camunda-community-hub/zeebe-client-go/v8/cmd/zbctl/internal/commands"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions cmd/zbctl/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ import (
"testing"
"time"

"github.com/camunda-community-hub/zeebe-client-go/internal/containersuite"
"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/zbc"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/containersuite"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/zbc"
"github.com/google/go-cmp/cmp"
"github.com/google/uuid"
"github.com/stretchr/testify/suite"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/camunda-community-hub/zeebe-client-go
module github.com/camunda-community-hub/zeebe-client-go/v8

go 1.21

Expand Down
6 changes: 3 additions & 3 deletions internal/containersuite/containerSuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (
"strings"
"time"

"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/pkg/zbc"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/zbc"
"github.com/docker/go-connections/nat"
"github.com/stretchr/testify/suite"
"github.com/testcontainers/testcontainers-go"
Expand Down
2 changes: 1 addition & 1 deletion internal/mock_pb/mock_gateway.go

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

2 changes: 1 addition & 1 deletion internal/utils/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"fmt"
"time"

"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"google.golang.org/protobuf/proto"
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/activate_jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"log"
"time"

"github.com/camunda-community-hub/zeebe-client-go/pkg/entities"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions pkg/commands/activate_jobs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import (
"testing"
"time"

"github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb"
"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/entities"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/entities"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/golang/mock/gomock"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/broadcast_signal.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"context"
"fmt"

"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
)

type DispatchBroadcastSignalCommand interface {
Expand Down
6 changes: 3 additions & 3 deletions pkg/commands/broadcast_signal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
"context"
"testing"

"github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb"
"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/golang/mock/gomock"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/cancel_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package commands
import (
"context"

"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
)

type CancelInstanceStep1 interface {
Expand Down
6 changes: 3 additions & 3 deletions pkg/commands/cancel_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (
"context"
"testing"

"github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb"
"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/golang/mock/gomock"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"context"
"time"

"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/complete_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"context"
"fmt"

"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
)

type DispatchCompleteJobCommand interface {
Expand Down
6 changes: 3 additions & 3 deletions pkg/commands/complete_job_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (
"context"
"testing"

"github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb"
"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/golang/mock/gomock"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/commands/create_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import (
"context"
"fmt"

"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
)

const LatestVersion = -1
Expand Down
6 changes: 3 additions & 3 deletions pkg/commands/create_instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
"fmt"
"testing"

"github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb"
"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/golang/mock/gomock"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/delete_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package commands
import (
"context"

"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
)

type DeleteResourceCommand struct {
Expand Down
6 changes: 3 additions & 3 deletions pkg/commands/delete_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ import (
"context"
"testing"

"github.com/camunda-community-hub/zeebe-client-go/internal/mock_pb"
"github.com/camunda-community-hub/zeebe-client-go/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/mock_pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/internal/utils"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
"github.com/golang/mock/gomock"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/commands/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"log"
"os"

"github.com/camunda-community-hub/zeebe-client-go/pkg/pb"
"github.com/camunda-community-hub/zeebe-client-go/v8/pkg/pb"
)

type DeployCommand struct {
Expand Down
Loading

0 comments on commit dc2b71b

Please sign in to comment.