Commit Graph

283 Commits

Author SHA1 Message Date
Mahmood Ali
47b0a5cc04 prepare release docker image for fetching 2021-07-28 23:33:59 -04:00
dependabot[bot]
0983b073e3 build(deps): bump ws from 7.3.1 to 7.4.6 in /scripts/screenshots/src (#10671)
Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.3.1...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 11:09:34 -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
1b90b0592c remove unused scripts 2021-04-02 16:43:21 -04:00
Mahmood Ali
caaeaa02f7 Tweak cross compilation Make
Only use cross compile if not compiling in target architecture.

Also, use the latest gcc for cross compilation.
2021-04-02 16:29:57 -04:00
Mahmood Ali
02ea1e2146 build: use golang 1.16 2021-03-09 14:20:40 -05:00
Mahmood Ali
8a53fdf06d lint: Upgrade buf to 0.36.0, latest so far 2021-01-31 20:09:15 -05:00
Mahmood Ali
852fc10e8e build binaries with UI enabled (#9796)
Have the build-binary bundle the UI by default. This eases getting "alpha pre-releases" out for support without compiling locally, and engineer's experience with e2e test clusters.
2021-01-13 10:56:25 -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
e15fad5609 refactor golang scripts a bit
Namely ensure the script fails if any step fails, only skip installing
if that particular version is installed, and retry if the download fails
2020-12-08 09:59:36 -05: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
davemay99
1fb1c48f2f Update golang version table 2020-12-08 08:51:34 -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
Michael Lange
b9bbea6596 Use Node v12 for UI development 2020-11-04 09:04:22 -08:00
Michael Lange
42ea096ba4 Update puppeteer by a lot 2020-10-26 14:51:55 -07:00
Mahmood Ali
2f3f3136e9 Merge pull request #8981 from hashicorp/b-vagrant-vault-setup
Update Vagrant consul/vault deps
2020-09-29 11:40:02 -05:00
Mahmood Ali
377368e5fb Update Vagrant consul/vault deps
Update Vagrant setup to use the consul/vault versions used in CI.
2020-09-29 11:06:53 -04: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
Michael Lange
f22b835317 Merge pull request #7735 from hashicorp/dependabot/npm_and_yarn/scripts/screenshots/src/https-proxy-agent-2.2.4
build(deps): bump https-proxy-agent from 2.2.1 to 2.2.4 in /scripts/screenshots/src
2020-07-24 15:13:36 -07:00
Michael Schurter
c37c9d6443 vagrant: fix docker install script
The key fingerprint doesn't seem to have changed, but something about
the old key installation command failed for me and broke vagrant up.
2020-07-23 10:09:46 -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
Michael Schurter
3dfe57247f scripts: add usage to update_golang_version.sh 2020-05-16 10:40:11 -04:00
Michele
d09937e41a Move appveyor tests to circle 2020-05-15 10:15:37 -04:00
Tim Gross
89972866d3 e2e: upgrade CNI to 0.8.6 (#7956) 2020-05-14 09:29:11 -04:00
Anthony Scalisi
e1287846ae fix spelling errors (#6985) 2020-04-20 09:28:19 -04:00
dependabot[bot]
d66731268e build(deps): bump https-proxy-agent in /scripts/screenshots/src
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.1...2.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-16 15:57:53 +00:00
Mahmood Ali
9a36565b8c dev: Use go mod for managing hashicorp/go-msgpack 2020-04-07 10:52:04 -04:00
Mahmood Ali
10b9ad4d79 dev: use go mod to install dev dependencies
This allows using https download and go mod cache proxies, over using
git and downloading entire dependencies git history, hopefully,
resulting into a faster installation process.
2020-03-30 21:32:45 -04:00
Mahmood Ali
6ffb7a3d2d ci: use curl
It's installed by default in macOS unlike wget
2020-03-23 13:27:58 -04:00
Mahmood Ali
dda776e44a use golang 14.1 2020-03-23 13:02:14 -04:00
Mahmood Ali
ac53c110a6 Merge pull request #7236 from hashicorp/b-remove-rkt
Remove rkt as a built-in driver
2020-03-17 09:07:35 -04:00
Yoan Blanc
600186dbac ci: bump consul and vault
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-15 11:01:55 +01:00
Mahmood Ali
d2ddef5ba3 update grpc
Upgrade grpc to v1.27.1 and protobuf plugins to v1.3.4.
2020-03-03 08:39:54 -05:00
Mahmood Ali
7515da6231 use golang 1.14 2020-03-02 13:55:02 -05:00
Mahmood Ali
e265e4c7b2 Remove rkt as a built-in driver
Rkt has been archived and is no longer an active project:
* https://github.com/rkt/rkt
* https://github.com/rkt/rkt/issues/4024

The rkt driver will continue to live as an external plugin.
2020-02-26 22:16:41 -05:00
Mahmood Ali
028a470368 use golang 1.12.16 2020-01-29 09:52:03 -05:00
Mahmood Ali
30af487eb3 fix comment 2020-01-27 09:10:38 -05:00
Mahmood Ali
ee244e9256 Update golang to 1.12.15 2020-01-16 14:49:44 -05:00