pulumi/pkg
James Nugent 59a8a7fbfe Add Go 1.10+ versions of archive hashes in tests
Go 1.10 made some breaking changes to the headers in archive/tar [1] and
archive/zip [2], breaking the expected values in tests. In order to keep
tests passing with both, wherever a hardcoded hash is expect we switch
on `runtime.Version()` to select whether we want the Go 1.9 (currently
supported Go version) or later version of the hash.

Eventually these switches should be removed in favour of using the later
version only, so they are liberally commented to explain the reasoning.

[1]: https://golang.org/doc/go1.10#archive/tar
[2]: https://golang.org/doc/go1.10#archive/zip
2018-10-30 21:59:36 -05:00
..
apitype Restore the CloudName field of apitype.Stack. (#2128) 2018-10-30 13:49:51 -07:00
backend Remove need to dynamically determine if we're in preview or not. (#2129) 2018-10-30 15:42:33 -07:00
diag Support colors in CI/CD environments (#2094) 2018-10-24 14:45:15 -07:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Save old inputs on partial update failures (#2035) 2018-10-09 11:19:31 -07:00
graph Add license headers 2018-05-22 15:02:47 -07:00
operations Use test helper. (#1977) 2018-09-22 22:44:49 -07:00
resource Add Go 1.10+ versions of archive hashes in tests 2018-10-30 21:59:36 -05:00
testing Remove references to Pulumi private clouds (#2095) 2018-10-24 13:50:35 -07:00
tokens Validate type tokens before using them (#1904) 2018-09-07 15:19:18 -07:00
tools Add a WriteString method to tools/GenWriter. (#1839) 2018-08-29 14:43:20 -07:00
util Spread array argument to variadic function 2018-10-29 18:09:00 -05:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Process deletions conservatively in parallel (#1963) 2018-09-27 15:49:08 -07:00