@@ -134,9 +134,14 @@ functions:
134
134
working_dir : src/go.mongodb.org/mongo-driver
135
135
script : |
136
136
${PREPARE_SHELL}
137
- # any go tools that we need
137
+
138
+ # Install any go tools that we need. Do this in a temp directory because running "go get" inside the driver
139
+ # repo will update the driver's go.mod/go.sum files. This puts the contents of go.mod/go.sum out of sync with
140
+ # the vendor directory and tests fail to compile due to inconsistent vendoring.
141
+ cd $(mktemp -d)
138
142
go get -u golang.org/x/lint/golint
139
143
go get -u github.com/kisielk/errcheck
144
+ cd -
140
145
141
146
# initialize submodules
142
147
git submodule init
@@ -1562,61 +1567,61 @@ axes:
1562
1567
- id : os-ssl-legacy
1563
1568
display_name : OS
1564
1569
values :
1565
- - id : " ubuntu1404-go-1-13 "
1570
+ - id : " ubuntu1404-go-1-15 "
1566
1571
display_name : " Ubuntu 14.04"
1567
1572
run_on : ubuntu1404-test
1568
1573
variables :
1569
- GO_DIST : " /opt/golang/go1.13 "
1574
+ GO_DIST : " /opt/golang/go1.15 "
1570
1575
1571
1576
# OSes that require >= 3.2 for SSL
1572
1577
- id : os-ssl-32
1573
1578
display_name : OS
1574
1579
values :
1575
- - id : " windows-64-go-1-13 "
1580
+ - id : " windows-64-go-1-15 "
1576
1581
display_name : " Windows 64-bit"
1577
1582
run_on :
1578
1583
- windows-64-vs2017-test
1579
1584
variables :
1580
1585
GCC_PATH : " /cygdrive/c/mingw-w64/x86_64-4.9.1-posix-seh-rt_v3-rev1/mingw64/bin"
1581
- GO_DIST : " C:\\ golang\\ go1.13 "
1586
+ GO_DIST : " C:\\ golang\\ go1.15 "
1582
1587
PYTHON3_BINARY : " C:/python/Python38/python.exe"
1583
1588
VENV_BIN_DIR : " Scripts"
1584
- - id : " ubuntu1604-64-go-1-13 "
1589
+ - id : " ubuntu1604-64-go-1-15 "
1585
1590
display_name : " Ubuntu 16.04"
1586
1591
run_on : ubuntu1604-build
1587
1592
variables :
1588
- GO_DIST : " /opt/golang/go1.13 "
1593
+ GO_DIST : " /opt/golang/go1.15 "
1589
1594
PYTHON3_BINARY : " /opt/python/3.8/bin/python3"
1590
- - id : " osx-go-1-13 "
1595
+ - id : " osx-go-1-15 "
1591
1596
display_name : " MacOS 10.14"
1592
1597
run_on : macos-1014
1593
1598
variables :
1594
- GO_DIST : " /opt/golang/go1.13 "
1599
+ GO_DIST : " /opt/golang/go1.15 "
1595
1600
PYTHON3_BINARY : python3
1596
1601
1597
1602
- id : os-aws-auth
1598
1603
display_name : OS
1599
1604
values :
1600
- - id : " windows-64-vsMulti-small-go-1-13 "
1605
+ - id : " windows-64-vsMulti-small-go-1-15 "
1601
1606
display_name : " Windows 64-bit"
1602
1607
run_on :
1603
1608
- windows-64-vsMulti-small
1604
1609
variables :
1605
1610
GCC_PATH : " /cygdrive/c/mingw-w64/x86_64-4.9.1-posix-seh-rt_v3-rev1/mingw64/bin"
1606
- GO_DIST : " C:\\ golang\\ go1.13 "
1611
+ GO_DIST : " C:\\ golang\\ go1.15 "
1607
1612
SKIP_ECS_AUTH_TEST : true
1608
1613
PYTHON3 : " C:/python/Python38/python.exe"
1609
- - id : " ubuntu1804-64-go-1-13 "
1614
+ - id : " ubuntu1804-64-go-1-15 "
1610
1615
display_name : " Ubuntu 18.04"
1611
1616
run_on : ubuntu1804-test
1612
1617
variables :
1613
- GO_DIST : " /opt/golang/go1.13 "
1618
+ GO_DIST : " /opt/golang/go1.15 "
1614
1619
PYTHON3 : python3
1615
- - id : " osx-go-1-13 "
1620
+ - id : " osx-go-1-15 "
1616
1621
display_name : " MacOS 10.14"
1617
1622
run_on : macos-1014
1618
1623
variables :
1619
- GO_DIST : " /opt/golang/go1.13 "
1624
+ GO_DIST : " /opt/golang/go1.15 "
1620
1625
SKIP_ECS_AUTH_TEST : true
1621
1626
SKIP_EC2_AUTH_TEST : true
1622
1627
PYTHON3 : python3
@@ -1627,7 +1632,7 @@ buildvariants:
1627
1632
run_on :
1628
1633
- ubuntu1604-build
1629
1634
expansions :
1630
- GO_DIST : " /opt/golang/go1.13 "
1635
+ GO_DIST : " /opt/golang/go1.15 "
1631
1636
tasks :
1632
1637
- name : " .static-analysis"
1633
1638
@@ -1636,7 +1641,7 @@ buildvariants:
1636
1641
run_on :
1637
1642
- ubuntu1604-build
1638
1643
expansions :
1639
- GO_DIST : " /opt/golang/go1.13 "
1644
+ GO_DIST : " /opt/golang/go1.15 "
1640
1645
tasks :
1641
1646
- name : " .performance"
1642
1647
@@ -1645,7 +1650,7 @@ buildvariants:
1645
1650
run_on :
1646
1651
- ubuntu1604-test
1647
1652
expansions :
1648
- GO_DIST : " /opt/golang/go1.13 "
1653
+ GO_DIST : " /opt/golang/go1.15 "
1649
1654
tasks :
1650
1655
- name : " .compile-check"
1651
1656
@@ -1654,7 +1659,7 @@ buildvariants:
1654
1659
run_on :
1655
1660
- ubuntu1604-build
1656
1661
expansions :
1657
- GO_DIST : " /opt/golang/go1.13 "
1662
+ GO_DIST : " /opt/golang/go1.15 "
1658
1663
tasks :
1659
1664
- name : " atlas-test"
1660
1665
@@ -1663,7 +1668,7 @@ buildvariants:
1663
1668
run_on :
1664
1669
- ubuntu1604-build
1665
1670
expansions :
1666
- GO_DIST : " /opt/golang/go1.13 "
1671
+ GO_DIST : " /opt/golang/go1.15 "
1667
1672
tasks :
1668
1673
- name : " test-atlas-data-lake"
1669
1674
@@ -1717,22 +1722,22 @@ buildvariants:
1717
1722
- name : " aws-auth-test"
1718
1723
1719
1724
- matrix_name : " ocsp-test"
1720
- matrix_spec : { version: ["4.4", "latest"], os-ssl-32: ["ubuntu1604-64-go-1-13 "] }
1725
+ matrix_spec : { version: ["4.4", "latest"], os-ssl-32: ["ubuntu1604-64-go-1-15 "] }
1721
1726
display_name : " OCSP ${version} ${os-ssl-32}"
1722
1727
batchtime : 20160 # 14 days
1723
1728
tasks :
1724
1729
- name : " .ocsp"
1725
1730
1726
1731
- matrix_name : " ocsp-test-windows"
1727
- matrix_spec : { version: ["4.4", "latest"], os-ssl-32: ["windows-64-go-1-13 "] }
1732
+ matrix_spec : { version: ["4.4", "latest"], os-ssl-32: ["windows-64-go-1-15 "] }
1728
1733
display_name : " OCSP ${version} ${os-ssl-32}"
1729
1734
batchtime : 20160 # 14 days
1730
1735
tasks :
1731
1736
# Windows MongoDB servers do not staple OCSP responses and only support RSA.
1732
1737
- name : " .ocsp-rsa !.ocsp-staple"
1733
1738
1734
1739
- matrix_name : " ocsp-test-macos"
1735
- matrix_spec : { version: ["4.4", "latest"], os-ssl-32: ["osx-go-1-13 "] }
1740
+ matrix_spec : { version: ["4.4", "latest"], os-ssl-32: ["osx-go-1-15 "] }
1736
1741
display_name : " OCSP ${version} ${os-ssl-32}"
1737
1742
batchtime : 20160 # 14 days
1738
1743
tasks :
0 commit comments