Skip to content

Commit c7bf17b

Browse files
authored
Adjust getFrogbot.sh and module name to V3 (#1311)
1 parent ba7f6b7 commit c7bf17b

38 files changed

Lines changed: 60 additions & 60 deletions

.github/workflows/release-gate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
run: go generate ./...
108108

109109
- name: Run Tests
110-
run: go test github.com/jfrog/frogbot/v2/${{ matrix.suite.package }} -v -race -timeout 50m -cover
110+
run: go test github.com/jfrog/frogbot/v3/${{ matrix.suite.package }} -v -race -timeout 50m -cover
111111
env:
112112
JF_URL: ${{ secrets.PLATFORM_URL }}
113113
JF_ACCESS_TOKEN: ${{ secrets.PLATFORM_ADMIN_TOKEN }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ jobs:
177177

178178
- name: Run Tests
179179
if: ${{ matrix.suite.name != 'GitHub Integration' || matrix.os == 'ubuntu' }}
180-
run: go test github.com/jfrog/frogbot/v2/${{ matrix.suite.package }} -v -race -timeout 50m -cover
180+
run: go test github.com/jfrog/frogbot/v3/${{ matrix.suite.package }} -v -race -timeout 50m -cover
181181
env:
182182
JF_URL: ${{ secrets.PLATFORM_URL }}
183183
JF_ACCESS_TOKEN: ${{ secrets.PLATFORM_ADMIN_TOKEN }}

azure_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/jfrog/frogbot/v2/utils"
4+
"github.com/jfrog/frogbot/v3/utils"
55
"github.com/jfrog/froggit-go/vcsclient"
66
"github.com/jfrog/froggit-go/vcsutils"
77
"github.com/stretchr/testify/assert"

bitbucket_server_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"errors"
55
"fmt"
6-
"github.com/jfrog/frogbot/v2/utils"
6+
"github.com/jfrog/frogbot/v3/utils"
77
"github.com/jfrog/froggit-go/vcsclient"
88
"github.com/jfrog/froggit-go/vcsutils"
99
"github.com/jfrog/jfrog-client-go/utils/log"

buildscripts/getFrogbot.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ setFrogbotRemoteRepositoryIfNeeded() {
2525

2626
setWindowsProperties() {
2727
FROGBOT_OS="windows"
28-
URL="${PLATFORM_URL}/artifactory/${REMOTE_PATH}frogbot/v2/${VERSION}/frogbot-windows-amd64/frogbot.exe"
28+
URL="${PLATFORM_URL}/artifactory/${REMOTE_PATH}frogbot/v3/${VERSION}/frogbot-windows-amd64/frogbot.exe"
2929
FILE_NAME="frogbot.exe"
3030
}
3131

@@ -40,7 +40,7 @@ setMacProperties() {
4040
ARCH="386"
4141
;;
4242
esac
43-
URL="${PLATFORM_URL}/artifactory/${REMOTE_PATH}frogbot/v2/${VERSION}/frogbot-${FROGBOT_OS}-${ARCH}/frogbot"
43+
URL="${PLATFORM_URL}/artifactory/${REMOTE_PATH}frogbot/v3/${VERSION}/frogbot-${FROGBOT_OS}-${ARCH}/frogbot"
4444
FILE_NAME="frogbot"
4545
}
4646

@@ -74,7 +74,7 @@ setLinuxProperties() {
7474
exit 1
7575
;;
7676
esac
77-
URL="${PLATFORM_URL}/artifactory/${REMOTE_PATH}frogbot/v2/${VERSION}/frogbot-${FROGBOT_OS}-${ARCH}/frogbot"
77+
URL="${PLATFORM_URL}/artifactory/${REMOTE_PATH}frogbot/v3/${VERSION}/frogbot-${FROGBOT_OS}-${ARCH}/frogbot"
7878
FILE_NAME="frogbot"
7979
}
8080

commands.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import (
1010
"github.com/jfrog/jfrog-client-go/utils/io/fileutils"
1111
"github.com/jfrog/jfrog-client-go/utils/log"
1212

13-
"github.com/jfrog/frogbot/v2/scanpullrequest"
14-
"github.com/jfrog/frogbot/v2/scanrepository"
15-
"github.com/jfrog/frogbot/v2/utils"
13+
"github.com/jfrog/frogbot/v3/scanpullrequest"
14+
"github.com/jfrog/frogbot/v3/scanrepository"
15+
"github.com/jfrog/frogbot/v3/utils"
1616
"github.com/jfrog/jfrog-cli-security/utils/xsc"
1717
clitool "github.com/urfave/cli/v2"
1818
)

github_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/jfrog/frogbot/v2/utils"
4+
"github.com/jfrog/frogbot/v3/utils"
55
"github.com/jfrog/froggit-go/vcsclient"
66
"github.com/jfrog/froggit-go/vcsutils"
77
"github.com/stretchr/testify/assert"

gitlab_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/jfrog/frogbot/v2/utils"
4+
"github.com/jfrog/frogbot/v3/utils"
55
"github.com/jfrog/froggit-go/vcsclient"
66
"github.com/jfrog/froggit-go/vcsutils"
77
"github.com/stretchr/testify/assert"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/jfrog/frogbot/v2
1+
module github.com/jfrog/frogbot/v3
22

33
go 1.25.7
44

integrationutils.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ import (
1616
"github.com/stretchr/testify/assert"
1717
"github.com/stretchr/testify/require"
1818

19-
"github.com/jfrog/frogbot/v2/scanpullrequest"
20-
"github.com/jfrog/frogbot/v2/scanrepository"
21-
"github.com/jfrog/frogbot/v2/utils"
22-
"github.com/jfrog/frogbot/v2/utils/outputwriter"
19+
"github.com/jfrog/frogbot/v3/scanpullrequest"
20+
"github.com/jfrog/frogbot/v3/scanrepository"
21+
"github.com/jfrog/frogbot/v3/utils"
22+
"github.com/jfrog/frogbot/v3/utils/outputwriter"
2323
)
2424

2525
const (

0 commit comments

Comments
 (0)