File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010env :
1111 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
12- GO_VERSION : ' 1.16 '
12+ GO_VERSION : ' 1.18 '
1313 INTEGRATION : " mssql"
1414 ORIGINAL_REPO_NAME : ${{ github.event.repository.full_name }}
1515 REPO_FULL_NAME : ${{ github.event.repository.full_name }}
Original file line number Diff line number Diff line change 1111 TAG : " v0.0.0" # needed for goreleaser windows builds
1212 REPO_FULL_NAME : ${{ github.event.repository.full_name }}
1313 ORIGINAL_REPO_NAME : " newrelic/nri-mssql"
14- GO_VERSION : ' 1.16 '
14+ GO_VERSION : ' 1.18 '
1515 DOCKER_LOGIN_AVAILABLE : ${{ secrets.OHAI_DOCKER_HUB_ID }}
1616
1717jobs :
Original file line number Diff line number Diff line change @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
66and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
77
8+ ## 2.8.2 (2022-06-27)
9+ ### Changed
10+ - Bump dependencies
11+ ### Added
12+ Added support for more distributions:
13+ - RHEL(EL) 9
14+ - Ubuntu 22.04
15+
816## 2.8.1 (2021-10-20)
917### Added
1018Added support for more distributions:
Original file line number Diff line number Diff line change @@ -3,22 +3,15 @@ INTEGRATION := mssql
33BINARY_NAME = nri-$(INTEGRATION )
44GO_FILES := ./src/
55GOFLAGS = -mod=readonly
6- GOLANGCI_LINT = github.com/golangci/golangci-lint/cmd/golangci-lint
76
87all : build
98
10- build : clean validate test compile
9+ build : clean test compile
1110
1211clean :
1312 @echo " === $( INTEGRATION) === [ clean ]: Removing binaries and coverage file..."
1413 @rm -rfv bin coverage.xml
1514
16- validate :
17- @printf " === $( INTEGRATION) === [ validate ]: running golangci-lint & semgrep... "
18- @go run $(GOFLAGS ) $(GOLANGCI_LINT ) run --verbose
19- @[ -f .semgrep.yml ] && semgrep_config=" .semgrep.yml" || semgrep_config=" p/golang" ; \
20- docker run --rm -v " ${PWD} :/src:ro" --workdir /src returntocorp/semgrep -c " $$ semgrep_config"
21-
2215test :
2316 @echo " === $( INTEGRATION) === [ test ]: Running unit tests..."
2417 @go test -race ./... -count=1
@@ -37,4 +30,4 @@ compile:
3730include $(CURDIR ) /build/ci.mk
3831include $(CURDIR ) /build/release.mk
3932
40- .PHONY : all build clean validate compile test
33+ .PHONY : all build clean compile test
Original file line number Diff line number Diff line change 1- FROM golang:1.16 -buster
1+ FROM golang:1.18 -buster
22
33ARG GH_VERSION='1.9.2'
44
Original file line number Diff line number Diff line change @@ -19,14 +19,6 @@ ci/debug-container: ci/deps
1919 -e GPG_PRIVATE_KEY_BASE64 \
2020 $(BUILDER_TAG ) bash
2121
22- .PHONY : ci/validate
23- ci/validate : ci/deps
24- @docker run --rm -t \
25- --name " nri-$( INTEGRATION) -validate" \
26- -v $(CURDIR ) :/go/src/github.com/newrelic/nri-$(INTEGRATION ) \
27- -w /go/src/github.com/newrelic/nri-$(INTEGRATION ) \
28- $(BUILDER_TAG ) make validate
29-
3022.PHONY : ci/test
3123ci/test : ci/deps
3224 @docker run --rm -t \
@@ -79,4 +71,4 @@ ifdef TAG
7971else
8072 @echo "===> $(INTEGRATION) === [ci/prerelease] TAG env variable expected to be set"
8173 exit 1
82- endif
74+ endif
Original file line number Diff line number Diff line change 11module github.com/newrelic/nri-mssql
22
3- go 1.16
3+ go 1.18
44
55require (
66 github.com/denisenkom/go-mssqldb v0.10.0
7- github.com/golangci/golangci-lint v1.41.1
87 github.com/jmoiron/sqlx v1.3.4
9- github.com/newrelic/infra-integrations-sdk v3.6.7 +incompatible
10- github.com/stretchr/testify v1.7.0
8+ github.com/newrelic/infra-integrations-sdk v3.7.3 +incompatible
9+ github.com/stretchr/testify v1.7.5
1110 github.com/xeipuuv/gojsonschema v1.2.0
1211 gopkg.in/DATA-DOG/go-sqlmock.v1 v1.3.0
1312 gopkg.in/yaml.v2 v2.4.0
1413)
14+
15+ require (
16+ github.com/davecgh/go-spew v1.1.1 // indirect
17+ github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe // indirect
18+ github.com/kr/text v0.2.0 // indirect
19+ github.com/lib/pq v1.9.0 // indirect
20+ github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
21+ github.com/pkg/errors v0.9.1 // indirect
22+ github.com/pmezard/go-difflib v1.0.0 // indirect
23+ github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
24+ github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
25+ golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad // indirect
26+ gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
27+ gopkg.in/yaml.v3 v3.0.1 // indirect
28+ )
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ services:
1212 restart : always
1313
1414 nri-mssql :
15- image : golang:1.16
15+ image : golang:1.18
1616 container_name : nri_mssql
1717 working_dir : /code
1818 volumes :
1919 - ../:/code
20- entrypoint : go run /code/src/mssql.go
20+ entrypoint : go run /code/src/mssql.go
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments