Commit Graph

50 Commits

Author SHA1 Message Date
Seth Hoenig
04ceba2bfb build: update golang version to 1.18.2
This PR update to Go 1.18.2. Also update the versions of hclfmt
and go-hclogfmt which includes newer dependencies necessary for dealing
with go1.18.

The hcl v2 branch is now 'nomad-v2.9.1+tweaks2', to include a fix for
newer macOS versions: 8927e75e82
2022-05-25 10:04:04 -05:00
Seth Hoenig
91d91e28e4 build: update golang to 1.17.9 2022-04-21 11:43:01 -05:00
Tim Gross
9439d7a823 golang security update 1.17.5 2021-12-10 13:50:22 -05:00
Tim Gross
84888390f7 build: bump go version to 1.17.3 (#11461) 2021-11-05 15:34:24 -04:00
Mahmood Ali
5cd5c2c9ee build: Update to golang 1.17.1 2021-10-01 09:41:25 -04:00
Mahmood Ali
d102df40a5 update golang to 1.16.7 (#11083) 2021-08-25 11:56:46 -04:00
Mahmood Ali
47b0a5cc04 prepare release docker image for fetching 2021-07-28 23:33:59 -04:00
Mahmood Ali
66d590c64b golang: update to 1.16.5 (#10733)
1.16.5 contains some security fixes for zip that are notable to get: https://github.com/golang/go/issues?q=milestone%3AGo1.16.5+label%3ACherryPickApproved
2021-06-09 11:51:41 -04:00
Tim Gross
8ca717705a update golang to 1.16.4 2021-05-07 11:06:54 -04:00
Mahmood Ali
1638410170 update golang to 1.16.3 (#10484) 2021-04-30 13:52:05 -04:00
Drew Bailey
57b0ed0444 go get on the remote mac instance installs with read-only, allow for … (#10351)
* go get on the remote mac instance installs with read-only, allow for rm step

* Update scripts/release/mac-remote-build

Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>

Co-authored-by: Mahmood Ali <mahmood@hashicorp.com>
2021-04-09 15:50:27 -04:00
Mahmood Ali
02ea1e2146 build: use golang 1.16 2021-03-09 14:20:40 -05:00
Michael Schurter
240697b636 build: upgrade from Go 1.15.5 -> 1.15.6
Also updated scripts/update_golang_version.sh to handle new CircleCI
file layout.
2021-01-04 08:34:00 -08:00
Mahmood Ali
a4aa80d9c0 Update release docker image to ubuntu:18.04
So this matches the Vagrant box
2020-12-08 09:59:36 -05:00
Kris Hicks
e5be40b4b0 proto: Switch to using buf (#9308)
This replaces all usage of `protoc` with `buf`. See `tools/buf/README.md` for more.
2020-11-17 07:01:48 -08:00
Mahmood Ali
ba262892f8 release: infer node version (#9336)
Avoids setting the node version in the release Dockerfile, by using
an alias.  This allows us to update the node version in one file only.

Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-11-13 11:33:07 -05:00
Michael Schurter
d09f09047f build: upgrade from Go 1.15.4 to 1.15.5
Despite being a security release for Go, we do not believe Nomad is
impacted.
2020-11-12 14:19:26 -08:00
Mahmood Ali
e65b27e13a ui: Pin ui node version 2020-11-12 08:25:50 -05:00
Michael Schurter
c1dc510335 go: update from 1.15.1 to 1.15.4
1.15.5 is due in a couple days but we may release before then.
2020-11-10 08:35:25 -08:00
Mahmood Ali
d7f14d12c1 Upgrade to golang 1.15 (#8858)
Upgrade to golang 1.15

Starting with golang 1.5, setting Ctty value result in `Setctty set but Ctty not valid in child` error, as part of https://github.com/golang/go/issues/29458 .
This commit lifts the fix in https://github.com/creack/pty/pull/97 .
2020-09-09 15:59:29 -04:00
Mahmood Ali
ca72ff09f7 commit code-generated msgpack parser on releases (#8640)
Noticed that the structs code-generated parsers is no longer committed
when we cut a release, starting with v0.12.  We've been committing
generated code to ease reproduction and rebuilding the tag.

Note for example that `structs.generated.go` was present in the [0.11.3
commit](8918fc804a)
but not in the [0.12.1
one](14a6893a25).

We leave the files ignored, so developers don't accidentally commit them
in local development.
2020-08-11 16:02:18 -04:00
Michael Schurter
30c6df8efc build: update from Go 1.14.6 to Go 1.14.7
Go 1.14.7 fixes CVE-2020-16845 which is not believed to impact Nomad.
2020-08-06 11:50:29 -07:00
Mahmood Ali
039cd28b92 Use golang 1.14.6
Pick up fixes [golang 1.14.6 bug fixes](https://github.com/golang/go/issues?q=milestone%3AGo1.14.6+label%3ACherryPickApproved), specially the one where reflect.DeepEqual returns true even if values don't match, affecting our tests integrity.
2020-07-20 12:04:38 -04:00
Michael Schurter
b7e677d315 build: update from Go 1.14.4 to Go 1.14.5
Go 1.14.4 contains two CVEs which are fixed in 1.14.5:

 - [CVE-2020-15586](https://golang.org/issue/34902)
 - [CVE-2020-14039](https://golang.org/issue/39360)

Upon consideration with HashiCorp security these CVEs are considered low
severity for Nomad and no new security fix binary will be released.
2020-07-15 09:49:06 -07:00
Michael Schurter
47d0aad7e5 build: update from Go 1.14.3 to Go 1.14.4 2020-06-16 10:07:05 -07:00
Michael Schurter
7c0ab3ad53 build: update from Go 1.14.1 to Go 1.14.3 2020-05-16 10:41:20 -04:00
Anthony Scalisi
e1287846ae fix spelling errors (#6985) 2020-04-20 09:28:19 -04:00
Mahmood Ali
dda776e44a use golang 14.1 2020-03-23 13:02:14 -04:00
Mahmood Ali
7515da6231 use golang 1.14 2020-03-02 13:55:02 -05:00
Mahmood Ali
028a470368 use golang 1.12.16 2020-01-29 09:52:03 -05:00
Mahmood Ali
ee244e9256 Update golang to 1.12.15 2020-01-16 14:49:44 -05:00
Michael Schurter
48bdf7ea93 release: switch to Go 1.12.13 2019-11-20 10:09:52 -05:00
Mahmood Ali
61509742bc Use golang 1.12.12
Use use base official golang image in CircleCI, as it gets refreshed
more quickly compared to circleci/golang, and we don't benefit from
circleci image customizations much.
2019-10-18 08:44:47 -04:00
Mahmood Ali
053a1001f2 Use golang to 1.12.10
To get fix for https://github.com/golang/go/issues/34540 .
2019-09-26 10:46:07 -04:00
Mahmood Ali
0ccca0ad59 use golang 1.12 2019-08-23 09:44:40 -04:00
Mahmood Ali
5ade5f54c5 Update golang to 1.11.11
It's the latest 1.11 point release as of now
2019-06-13 09:49:21 -04:00
Mahmood Ali
05a619c8aa Pin node version to v10.15.3 2019-05-22 14:23:50 -04:00
Mahmood Ali
83af31f527 use Node 10 for releases 2019-05-22 13:40:25 -04:00
Mahmood Ali
ca9b27e9db scripts: better prerelease extractor 2019-04-08 21:42:10 -04:00
Mahmood Ali
4611b9998c release: only install deps when installing
Now `prerelease` no longer requires linters
2019-03-21 15:02:09 -04:00
Mahmood Ali
3829fc0ee0 allow configurable release target in mac 2019-03-21 14:46:35 -04:00
Mahmood Ali
a8c255665d release: Upgrade to use 1.11.6 golang on macOS
To correspond to the Linux scripts in 855761a5df
2019-03-19 21:18:44 -04:00
Mahmood Ali
5ad4c10a58 Add some release script comments 2019-03-19 21:18:27 -04:00
Mahmood Ali
f3a186cef5 accept macos host as a env-var with a default 2019-03-18 15:05:32 -04:00
Mahmood Ali
55dea4faaa use bash set long form 2019-03-18 14:34:09 -04:00
Mahmood Ali
31e89623df ensure node is present in PATH 2019-03-18 14:31:31 -04:00
Mahmood Ali
60b045b13f handle when no files are generated 2019-03-18 08:29:25 -04:00
Mahmood Ali
bf48fe2403 initial attempt at building mac 2019-03-18 08:29:25 -04:00
Mahmood Ali
f2760b55c4 remove chown 2019-03-18 08:29:22 -04:00
Mahmood Ali
d5d6477c87 Add a Docker release scripts
Also tease out some dev and docker bits from Vagrant scripts to ease
sharing with Docker script
2019-03-17 10:37:36 -04:00