-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARROW-17324: [Go][CI] Add go1.18 job and -asan flag (#13867)
Also addresses [ARROW-7138](https://issues.apache.org/jira/browse/ARROW-7138) Authored-by: Matt Topol <[email protected]> Signed-off-by: Matt Topol <[email protected]>
- Loading branch information
Showing
10 changed files
with
103 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,3 +61,5 @@ | |
!rust/datafusion/Cargo.toml | ||
!rust/datafusion/benches | ||
!rust/integration-testing/Cargo.toml | ||
!go/go.mod | ||
!go/go.sum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,7 @@ DASK=latest | |
DOTNET=6.0 | ||
GCC_VERSION="" | ||
GO=1.16 | ||
STATICCHECK=v0.2.2 | ||
HDFS=3.2.1 | ||
JDK=8 | ||
KARTOTHEK=latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,12 +16,15 @@ | |
# under the License. | ||
|
||
ARG arch=amd64 | ||
ARG go=1.15 | ||
ARG go=1.16 | ||
ARG staticcheck=v0.2.2 | ||
FROM ${arch}/golang:${go}-buster | ||
|
||
RUN GO111MODULE=on go install honnef.co/go/tools/cmd/[email protected] | ||
# FROM collects all the args, get back the staticcheck version arg | ||
ARG staticcheck | ||
|
||
# TODO(kszucs): | ||
# 1. add the files required to install the dependencies to .dockerignore | ||
# 2. copy these files to their appropriate path | ||
# 3. download and compile the dependencies | ||
RUN GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck@${staticcheck} | ||
|
||
# Copy the go.mod and go.sum over and pre-download all the dependencies | ||
COPY go/ /arrow/go | ||
RUN cd /arrow/go && go mod download |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,11 +17,13 @@ | |
|
||
ARG arch=amd64 | ||
ARG go=1.16 | ||
ARG staticcheck=v0.2.2 | ||
FROM ${arch}/golang:${go}-bullseye | ||
|
||
RUN GO111MODULE=on go install honnef.co/go/tools/cmd/[email protected] | ||
# FROM collects all the args, get back the staticcheck version arg | ||
ARG staticcheck | ||
RUN GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck@${staticcheck} | ||
|
||
# TODO(kszucs): | ||
# 1. add the files required to install the dependencies to .dockerignore | ||
# 2. copy these files to their appropriate path | ||
# 3. download and compile the dependencies | ||
# Copy the go.mod and go.sum over and pre-download all the dependencies | ||
COPY go/ /arrow/go | ||
RUN cd /arrow/go && go mod download |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters