File tree Expand file tree Collapse file tree 11 files changed +14
-18
lines changed
packaging/ansible/roles/repo-setup/vars Expand file tree Collapse file tree 11 files changed +14
-18
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,14 @@ jobs:
1818 with :
1919 go-version-file : ' go.mod'
2020
21- - run : |
22- # https://github.com/actions/setup-go/issues/107
23- cp -f `which go` /usr/bin/go
24-
2521 - name : Setup node
2622 run : sudo apt install musl-dev
2723
2824 - name : Fix GOROOT to be run with sudo
2925 run : |
3026 mkdir -p /home/runner/.config/go
31- echo GOROOT=$( go env GOROOT ) > /home/runner/.config/go/env
32- echo GOTOOLDIR=$( go env GOTOOLDIR ) >> /home/runner/.config/go/env
27+ echo GOROOT=" $( go env GOROOT )" > /home/runner/.config/go/env
28+ echo GOTOOLDIR=" $( go env GOTOOLDIR )" >> /home/runner/.config/go/env
3329 sudo -E go env
3430
3531 - name : Running Harvest tests
Original file line number Diff line number Diff line change 1- FROM golang:1.19.10 -bullseye
1+ FROM golang:1.20.5 -bullseye
22
33ARG GH_VERSION='2.0.0'
44ARG GH_ARCH='amd64'
@@ -16,4 +16,4 @@ RUN curl -L https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_
1616RUN dpkg -i gh_${GH_VERSION}_linux_${GH_ARCH}.deb
1717
1818ENV GOFLAGS="-buildvcs=false"
19- RUN git config --global --add safe.directory /go/src/github.com/newrelic/infrastructure-agent
19+ RUN git config --global --add safe.directory /go/src/github.com/newrelic/infrastructure-agent
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ ARG ANSIBLE_INVENTORY_FOLDER_ARG="/srv/runner/inventory/$REF_ARG"
55ARG ANSIBLE_INVENTORY_FILE_ARG="inventory.ec2"
66
77ARG ANSIBLE_VERSION="6.5.0"
8- ARG GO_VERSION="1.19.10 "
8+ ARG GO_VERSION="1.20.5 "
99
1010ENV REF=$REF_ARG
1111ENV ANSIBLE_INVENTORY="$ANSIBLE_INVENTORY_FOLDER_ARG/$ANSIBLE_INVENTORY_FILE_ARG"
Original file line number Diff line number Diff line change 11module github.com/newrelic/infrastructure-agent
22
3- go 1.19
3+ go 1.20
44
55require (
66 github.com/Microsoft/go-winio v0.5.2
Original file line number Diff line number Diff line change 1- FROM golang:1.19
1+ FROM golang:1.20
22
33WORKDIR /go/src/github.com/newrelic/infrastructure-agent/
44
55COPY . .
66
7- CMD ["sleep", "1h"]
7+ CMD ["sleep", "1h"]
Original file line number Diff line number Diff line change 11---
2- go_version : 1.19
2+ go_version : 1.20
33repo_endpoint : " http://nr-downloads-ohai-staging.s3-website-us-east-1.amazonaws.com/infrastructure_agent"
44
55repos_to_clean :
Original file line number Diff line number Diff line change 1- FROM golang:1.19 as builder
1+ FROM golang:1.20 as builder
22
33ARG CGO_ENABLED=0
44WORKDIR /go/src/github.com/newrelic/infrastructure-agent
Original file line number Diff line number Diff line change 1- FROM golang:1.19 as builder
1+ FROM golang:1.20 as builder
22ARG CGO_ENABLED=0
33WORKDIR /go/src/github.com/newrelic/infrastructure-agent
44COPY . .
Original file line number Diff line number Diff line change 11module github.com/newrelic/infrastructure-agent/tools/cdn-purge
22
3- go 1.19
3+ go 1.20
44
55require github.com/aws/aws-sdk-go v1.39.0
66
Original file line number Diff line number Diff line change 11module provision-alerts
22
3- go 1.19
3+ go 1.20
44
55require (
66 github.com/stretchr/testify v1.7.0
You can’t perform that action at this time.
0 commit comments