Skip to content

Commit

Permalink
NOISSUE - Update URL (#30)
Browse files Browse the repository at this point in the history
* update url

Signed-off-by: sammy <sammyoina@gmail.com>

* update go mod

Signed-off-by: sammy <sammyoina@gmail.com>

* update go version on ci

Signed-off-by: sammy <sammyoina@gmail.com>

* remove vendor

Signed-off-by: sammy <sammyoina@gmail.com>

* add html files to build

Signed-off-by: sammy <sammyoina@gmail.com>

---------

Signed-off-by: sammy <sammyoina@gmail.com>
  • Loading branch information
SammyOina authored Jan 25, 2024
1 parent c5f5ccc commit 1175976
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.20.x]
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -26,4 +26,4 @@ jobs:
version: latest
args: --no-config --disable-all --enable gosimple --enable govet --enable unused --enable deadcode --timeout 3m
- name: Run tests
run: go test -mod=vendor -v --race -covermode=atomic -coverprofile cover.out ./...
run: go test -v --race -covermode=atomic -coverprofile cover.out ./...
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ FROM scratch
# Certificates are needed so that mailing util can work.
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=builder /exe /
COPY --from=builder /go/src/github.com/absmach/callhome/web /web
ENTRYPOINT ["/exe"]
1 change: 0 additions & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ services:
networks:
- callhome-base-net
volumes:
- ../web:/web
- ./IP2LOCATION-LITE-DB5.IPV6.BIN:/IP2LOCATION-LITE-DB5.IPV6.BIN
certbot:
image: certbot/certbot
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/absmach/callhome

go 1.21
go 1.21.5

require (
github.com/absmach/magistrala v0.0.0-20240116122552-fe97de024cf0
Expand Down
2 changes: 1 addition & 1 deletion pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

const (
HomeUrl = "https://deployments.magistrala.io/telemetry"
HomeUrl = "https://deployments.magistrala.abstractmachines.fr/telemetry"
stopWaitTime = 5 * time.Second
callHomeSleepTime = 30 * time.Minute
backOff = 10 * time.Second
Expand Down

0 comments on commit 1175976

Please sign in to comment.