Skip to content

Commit 6545ef0

Browse files
author
Divjot Arora
authored
Use Go1.13 in build tasks and update tags (#393)
1 parent 9beebee commit 6545ef0

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

.evergreen/config.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ functions:
251251
working_dir: src/go.mongodb.org/mongo-driver
252252
script: |
253253
${PREPARE_SHELL}
254-
${BUILD_ENV|} make ${targets} BUILD_TAGS="-tags gssapi"
254+
${BUILD_ENV|} make ${targets} BUILD_TAGS="-tags cse,gssapi"
255255
256256
run-tests:
257257
- command: shell.exec
@@ -1484,57 +1484,57 @@ axes:
14841484
- id: os-ssl-legacy
14851485
display_name: OS
14861486
values:
1487-
- id: "ubuntu1404-go-1-12"
1487+
- id: "ubuntu1404-go-1-13"
14881488
display_name: "Ubuntu 14.04"
14891489
run_on: ubuntu1404-test
14901490
variables:
1491-
GO_DIST: "/opt/golang/go1.12"
1491+
GO_DIST: "/opt/golang/go1.13"
14921492

14931493
# OSes that require >= 3.2 for SSL
14941494
- id: os-ssl-32
14951495
display_name: OS
14961496
values:
1497-
- id: "windows-64-go-1-12"
1497+
- id: "windows-64-go-1-13"
14981498
display_name: "Windows 64-bit"
14991499
run_on:
15001500
- windows-64-vs2017-test
15011501
variables:
15021502
GCC_PATH: "/cygdrive/c/mingw-w64/x86_64-4.9.1-posix-seh-rt_v3-rev1/mingw64/bin"
1503-
GO_DIST: "C:\\golang\\go1.12"
1504-
- id: "ubuntu1604-64-go-1-12"
1503+
GO_DIST: "C:\\golang\\go1.13"
1504+
- id: "ubuntu1604-64-go-1-13"
15051505
display_name: "Ubuntu 16.04"
15061506
run_on: ubuntu1604-build
15071507
variables:
1508-
GO_DIST: "/opt/golang/go1.12"
1509-
- id: "osx-go-1-12"
1508+
GO_DIST: "/opt/golang/go1.13"
1509+
- id: "osx-go-1-13"
15101510
display_name: "MacOS 10.14"
15111511
run_on: macos-1014
15121512
variables:
1513-
GO_DIST: "/opt/golang/go1.12"
1513+
GO_DIST: "/opt/golang/go1.13"
15141514

15151515
- id: os-aws-auth
15161516
display_name: OS
15171517
values:
1518-
- id: "windows-64-vsMulti-small-go-1-12"
1518+
- id: "windows-64-vsMulti-small-go-1-13"
15191519
display_name: "Windows 64-bit"
15201520
run_on:
15211521
- windows-64-vsMulti-small
15221522
variables:
15231523
GCC_PATH: "/cygdrive/c/mingw-w64/x86_64-4.9.1-posix-seh-rt_v3-rev1/mingw64/bin"
1524-
GO_DIST: "C:\\golang\\go1.12"
1524+
GO_DIST: "C:\\golang\\go1.13"
15251525
SKIP_ECS_AUTH_TEST: true
15261526
PYTHON3: "C:/python/Python38/python.exe"
1527-
- id: "ubuntu1804-64-go-1-12"
1527+
- id: "ubuntu1804-64-go-1-13"
15281528
display_name: "Ubuntu 18.04"
15291529
run_on: ubuntu1804-test
15301530
variables:
1531-
GO_DIST: "/opt/golang/go1.12"
1531+
GO_DIST: "/opt/golang/go1.13"
15321532
PYTHON3: python3
1533-
- id: "osx-go-1-12"
1533+
- id: "osx-go-1-13"
15341534
display_name: "MacOS 10.14"
15351535
run_on: macos-1014
15361536
variables:
1537-
GO_DIST: "/opt/golang/go1.12"
1537+
GO_DIST: "/opt/golang/go1.13"
15381538
SKIP_ECS_AUTH_TEST: true
15391539
SKIP_EC2_AUTH_TEST: true
15401540
PYTHON3: python3
@@ -1545,7 +1545,7 @@ buildvariants:
15451545
run_on:
15461546
- ubuntu1604-build
15471547
expansions:
1548-
GO_DIST: "/opt/golang/go1.12"
1548+
GO_DIST: "/opt/golang/go1.13"
15491549
tasks:
15501550
- name: ".static-analysis"
15511551

@@ -1554,7 +1554,7 @@ buildvariants:
15541554
run_on:
15551555
- ubuntu1604-build
15561556
expansions:
1557-
GO_DIST: "/opt/golang/go1.12"
1557+
GO_DIST: "/opt/golang/go1.13"
15581558
tasks:
15591559
- name: ".performance"
15601560

@@ -1563,7 +1563,7 @@ buildvariants:
15631563
run_on:
15641564
- ubuntu1604-test
15651565
expansions:
1566-
GO_DIST: "/opt/golang/go1.12"
1566+
GO_DIST: "/opt/golang/go1.13"
15671567
tasks:
15681568
- name: ".compile-check"
15691569

@@ -1572,7 +1572,7 @@ buildvariants:
15721572
run_on:
15731573
- ubuntu1604-build
15741574
expansions:
1575-
GO_DIST: "/opt/golang/go1.12"
1575+
GO_DIST: "/opt/golang/go1.13"
15761576
tasks:
15771577
- name: "atlas-test"
15781578

@@ -1625,7 +1625,7 @@ buildvariants:
16251625
- name: "aws-auth-test"
16261626

16271627
- matrix_name: "ocsp-test"
1628-
matrix_spec: { version: ["latest"], os-ssl-32: ["ubuntu1604-64-go-1-12"] }
1628+
matrix_spec: { version: ["latest"], os-ssl-32: ["ubuntu1604-64-go-1-13"] }
16291629
display_name: "OCSP - ${os-ssl-32}"
16301630
batchtime: 20160 # 14 days
16311631
tasks:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ update-notices:
116116

117117
.PHONY: vet
118118
vet:
119-
go vet -cgocall=false -composites=false -unusedstringmethods="Error" $(PKGS)
119+
go vet $(BUILD_TAGS) -cgocall=false -composites=false -unusedstringmethods="Error" $(PKGS)
120120

121121

122122
# Evergreen specific targets

0 commit comments

Comments
 (0)