Commit Graph

136 Commits

Author SHA1 Message Date
hashicorp-copywrite[bot]
f005448366 [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
hc-github-team-nomad-core
02cf95c1b6 Prepare for next release 2023-04-05 12:31:42 -04:00
hc-github-team-nomad-core
70885408c0 Generate files for 1.5.3 release 2023-04-05 12:31:30 -04:00
Michael Schurter
1a53d9ca57 Post 1.5.2 release (#16614)
* Generate files for 1.5.2 release

* Prepare for next release

* add 1.4.7 and 1.3.12 to the changelog

---------

Co-authored-by: hc-github-team-nomad-core <github-team-nomad-core@hashicorp.com>
2023-03-22 14:23:38 -07:00
hc-github-team-nomad-core
6c91cc85c7 Prepare for next release 2023-03-13 11:13:27 -04:00
hc-github-team-nomad-core
669495bac6 Generate files for 1.5.1 release 2023-03-13 11:13:27 -04:00
hc-github-team-nomad-core
4734c02a94 Prepare for next release 2023-03-02 17:44:13 +00:00
hc-github-team-nomad-core
01d049eb96 Generate files for 1.5.0 release 2023-03-02 17:44:13 +00:00
Daniel Bennett
4bdfe6d24f build/cli: Add BuildDate (#16216)
* build: add BuildDate to version info

will be used in enterprise to compare to license expiration time

* cli: multi-line version output, add BuildDate

before:
$ nomad version
Nomad v1.4.3 (coolfakecommithashomgoshsuchacoolonewoww)

after:
$ nomad version
Nomad v1.5.0-dev
BuildDate 2023-02-17T19:29:26Z
Revision coolfakecommithashomgoshsuchacoolonewoww

compare consul:
$ consul version
Consul v1.14.4
Revision dae670fe
Build Date 2023-01-26T15:47:10Z
Protocol 2 spoken by default, blah blah blah...

and vault:
$ vault version
Vault v1.12.3 (209b3dd99fe8ca320340d08c70cff5f620261f9b), built 2023-02-02T09:07:27Z

* docs: update version command output
2023-02-27 11:27:40 -06:00
hc-github-team-nomad-core
cd0d06a78c Prepare for next release 2023-02-08 08:54:40 +00:00
hc-github-team-nomad-core
3d735e74ef Generate files for 1.5.0-beta.1 release 2023-02-08 08:54:36 +00:00
hc-github-team-nomad-core
8c6a5354c6 Prepare for next release 2022-11-22 12:56:29 -05:00
hc-github-team-nomad-core
87f3565fc6 Generate files for 1.4.3 release 2022-11-22 12:56:29 -05:00
hc-github-team-nomad-core
cc232f295e Prepare for next release 2022-10-27 13:08:05 -04:00
hc-github-team-nomad-core
576bfe48e9 Generate files for 1.4.2 release 2022-10-27 13:08:05 -04:00
Luiz Aoqui
4a6417eb0f Post 1.4.1 release (#14988)
* Generate files for 1.4.1 release

* Prepare for next release

Co-authored-by: hc-github-team-nomad-core <github-team-nomad-core@hashicorp.com>
2022-10-20 13:09:41 -04:00
hc-github-team-nomad-core
60d5a1b278 Prepare for next release 2022-10-06 09:16:01 -07:00
hc-github-team-nomad-core
9d5099a9a0 Generate files for 1.4.0 release 2022-10-06 09:16:00 -07:00
hc-github-team-nomad-core
04db6b4573 Prepare for next release 2022-09-14 19:32:22 +00:00
hc-github-team-nomad-core
d17021a366 Generate files for 1.4.0-beta.1 release 2022-09-14 19:32:18 +00:00
hc-github-team-nomad-core
fc0786d47a Prepare for next release 2022-09-14 19:00:05 +00:00
hc-github-team-nomad-core
d34f12e286 Generate files for 1.4.0-beta.1 release 2022-09-14 18:59:59 +00:00
Derek Strickland
79c08ae577 Merge release 1.3.5 files (#14425)
* Merge release 1.3.5 files

* Generate files for 1.3.5 release

* Prepare for next release

Co-authored-by: hc-github-team-nomad-core <github-team-nomad-core@hashicorp.com>
2022-08-31 18:31:56 -04:00
Luiz Aoqui
119bb50151 Post 1.3.4 release (#14329)
* Generate files for 1.3.4 release

* Prepare for next release

* Update CHANGELOG.md

Co-authored-by: hc-github-team-nomad-core <github-team-nomad-core@hashicorp.com>
2022-08-26 10:09:13 -04:00
Michael Schurter
01648e615a client: fix data races in config handling (#14139)
Before this change, Client had 2 copies of the config object: config and configCopy. There was no guidance around which to use where (other than configCopy's comment to pass it to alloc runners), both are shared among goroutines and mutated in data racy ways. At least at one point I think the idea was to have `config` be mutable and then grab a lock to overwrite `configCopy`'s pointer atomically. This would have allowed alloc runners to read their config copies in data race safe ways, but this isn't how the current implementation worked.

This change takes the following approach to safely handling configs in the client:

1. `Client.config` is the only copy of the config and all access must go through the `Client.configLock` mutex
2. Since the mutex *only protects the config pointer itself and not fields inside the Config struct:* all config mutation must be done on a *copy* of the config, and then Client's config pointer is overwritten while the mutex is acquired. Alloc runners and other goroutines with the old config pointer will not see config updates.
3. Deep copying is implemented on the Config struct to satisfy the previous approach. The TLS Keyloader is an exception because it has its own internal locking to support mutating in place. An unfortunate complication but one I couldn't find a way to untangle in a timely fashion.
4. To facilitate deep copying I made an *internally backward incompatible API change:* our `helper/funcs` used to turn containers (slices and maps) with 0 elements into nils. This probably saves a few memory allocations but makes it very easy to cause panics. Since my new config handling approach uses more copying, it became very difficult to ensure all code that used containers on configs could handle nils properly. Since this code has caused panics in the past, I fixed it: nil containers are copied as nil, but 0-element containers properly return a new 0-element container. No more "downgrading to nil!"
2022-08-18 16:32:04 -07:00
Luiz Aoqui
939d643fec Post 1.3.3 release (#14064)
* Generate files for 1.3.3 release

* Prepare for next release

* Merge release 1.3.3 files

Co-authored-by: hc-github-team-nomad-core <github-team-nomad-core@hashicorp.com>
2022-08-09 17:27:29 -04:00
hc-github-team-nomad-core
7aeeac1b31 Prepare for next release 2022-07-13 19:34:32 -04:00
hc-github-team-nomad-core
5f8889d522 Generate files for 1.3.2 release 2022-07-13 19:33:41 -04:00
hc-github-team-nomad-core
351102bdac Prepare for next release 2022-05-24 16:29:47 -04:00
Luiz Aoqui
3bb3b1b161 prepare for next release (#12956) 2022-05-11 17:42:53 -04:00
Luiz Aoqui
4dac8e97c8 remove generated files and prepare for next release 2022-04-07 18:51:18 -04:00
Luiz Aoqui
fcfb8d9e37 update ci.hcl, version.go and CHANGELOG to v1.3.0-beta.1 2022-04-07 16:13:49 -04:00
Tim Gross
857d49abf4 prepare for next release 2022-02-01 11:13:22 -05:00
Luiz Aoqui
620abba134 prepare for next release 2022-01-19 11:51:59 -05:00
Nomad Release bot
9f21b724ac Generate files for 1.2.4 release 2022-01-18 23:43:00 +00:00
Luiz Aoqui
523142d25c prepare for next release 2021-11-24 14:42:09 -05:00
Nomad Release bot
78b8c171a2 Generate files for 1.2.2 release 2021-11-24 18:14:19 +00:00
Nomad Release bot
719c53ac0e Generate files for 1.2.1 release 2021-11-19 16:41:38 +00:00
Nomad Release bot
0e11f8d517 Generate files for 1.2.0 release 2021-11-15 23:00:30 +00:00
Mahmood Ali
42666b8014 update changelog and dev version (#11090) 2021-08-27 08:54:35 -04:00
Mahmood Ali
04cf47dca2 prepare for next dev cycle 2021-07-29 12:32:09 -04:00
Nomad Release bot
8c0c814099 Generate files for 1.1.3 release 2021-07-29 03:43:03 +00:00
Mahmood Ali
1bf9e7c266 prepare for 1.1.3 development 2021-06-22 10:41:44 -04:00
Nomad Release bot
60638a086e Generate files for 1.1.2 release 2021-06-22 00:45:27 +00:00
Mahmood Ali
f69c9390ea prepare for 1.1.2 dev cycle 2021-06-10 08:04:25 -04:00
Nomad Release bot
21465a592d Generate files for 1.1.1 release 2021-06-10 08:04:25 -04:00
Tim Gross
7deebd00c7 release 1.1.0: bump version and changelog info 2021-05-18 11:56:19 -04:00
Tim Gross
0daf1ae086 post-1.0.4 release prep 2021-02-24 09:56:53 -05:00
Chris Baker
460c9a6461 version to 1.0.4-dev 2021-01-29 19:31:13 +00:00
Chris Baker
08741d9f20 bump version to 1.0.3 2021-01-28 14:51:01 +00:00