Commit Graph

19377 Commits

Author SHA1 Message Date
Tim Gross
2c73d2ebca e2e: Linux AMI setup cleanup (#8821)
As we add new Linux targets for E2E, the existing setup.sh script will be used
only for Ubuntu. Rather than have the service and config files echo'd from the
script, move them into files we upload so they can be reused.

Includes some general noise reduction in the setup.sh script and removal of
unused bits.
2020-09-03 16:30:58 -04:00
Shishir
4ba3afa44b nomad-driver-containerd: Update networking section (#8762) 2020-09-03 10:31:58 -04:00
Mahmood Ali
9fe74c90f7 Isolate the jobspec package from the rest of Nomad (#8815)
This eases adoption of the jobspec package by other projects (e.g. terraform nomad provider, Lavant). Either by consuming directy as a library (hopefully without having go mod import rest of nomad) or by copying the package without modification.

Ideally, this package will be published as an independent module. We aren't ready for that considering we'll be switching to HCLv2 "soon", but eitherway, this seems like a reasonable intermediate step if we choose to.
2020-09-03 06:34:04 -05:00
Michael Schurter
884fe5c032 Merge pull request #8819 from hashicorp/docs-0.12.4-rc1
docs: add download link to 0.12.4-rc1
2020-09-02 21:31:15 -07:00
Michael Schurter
759dab4608 docs: add download link to 0.12.4-rc1 2020-09-02 21:25:56 -07:00
Gale Fagan
10fa09943c Updating versions and removing deprecated items (#8750)
* Removed deprecated Spark pieces.

* Bumped HashiCorp stack versions to current as of commit date

* Bumped versions of HashiCorp stack tools

* Bumped versions, added VAULT_ADDR in GCP, removed refs to Spark in shared README
2020-09-02 10:14:47 -07:00
Luiz Aoqui
9d7d9d8b4d Merge pull request #8812 from hashicorp/docs/add-volume-mount-to-task
docs: add entry for volume_mount in task
2020-09-02 10:21:46 -04:00
James Rasell
96823b9e51 Merge pull request #8813 from hashicorp/b-fix-autoscaler-aws-target-policy-params
docs: fix incorrect aws-asg autoscaler target plugin policy params
2020-09-02 16:20:08 +02:00
James Rasell
6c45ef1f39 docs: fix incorrect aws-asg autoscaler target plugin policy params 2020-09-02 14:03:35 +02:00
Luiz Aoqui
09709e84ce docs: add entry for volume_mount in task 2020-09-01 18:59:05 -04:00
Mahmood Ali
0fd0de97f6 Changelog catchup (#8808) 2020-09-01 15:24:24 -04:00
Jasmine Dahilig
0d01ad5ba3 Merge pull request #8797 from hashicorp/poststart-changelog
changelog: task lifecycle poststart hook
2020-09-01 10:34:36 -07:00
Michael Lange
63506d7208 Merge pull request #8805 from hashicorp/f-ui/remove-poststop
UI: Temporarily remove poststop from the lifecycle chart
2020-09-01 09:44:57 -07:00
Seth Hoenig
a15945d35c Merge pull request #8803 from hashicorp/docs-cigs-cl
add consul ingress gateways to changelog
2020-09-01 11:33:10 -05:00
Mahmood Ali
fd4735f553 Merge pull request #8804 from hashicorp/b-cronexpr-zero-padding
Fix cron handling with zero-padding months
2020-09-01 12:22:01 -04:00
Mahmood Ali
3d0c579030 update changelog 2020-09-01 12:18:04 -04:00
Michael Lange
8e5671cc3e Merge pull request #8742 from hashicorp/f-ui/poststart-poststop
UI: Add poststart and poststop lifecycle phases
2020-09-01 08:58:54 -07:00
Mahmood Ali
2794c9a74d run make vendor 2020-09-01 11:48:47 -04:00
Mahmood Ali
0d4fce93f1 Update cronexpr to pick up month zero padding fix 2020-09-01 11:48:28 -04:00
Seth Hoenig
f4c1d7ee53 add consul ingress gateways to changelog 2020-09-01 10:14:05 -05:00
Mahmood Ali
81f9c0dbf5 Merge pull request #8798 from hashicorp/b-esccaping-newline
Fix escapingio handling of `\n~\n`
2020-09-01 10:00:08 -04:00
Mahmood Ali
4820159cd2 add changelog
[ci skip]
2020-09-01 09:57:41 -04:00
Tim Gross
150e0e284a changelog: panic in operator debug command (#8802) 2020-09-01 08:40:04 -04:00
Michael Lange
f8a505ea2f Temporarily remove poststop from the UI
Since poststart and poststop are shipping separately, we can't ship them
both in the UI at the same time.
2020-08-31 19:32:38 -07:00
Mahmood Ali
5cda74915c Handle when a new line follows an escaping char 2020-08-31 20:31:44 -04:00
Mahmood Ali
3fb14affb6 Add a failing \n~\n~. case! 2020-08-31 20:29:04 -04:00
Jasmine Dahilig
cf59923a58 changelog: task lifecycle poststart hook 2020-08-31 14:47:14 -07:00
Tim Gross
ccdfd6170c fix params for Agent.Host client RPC (#8795)
The parameters for the receiving side of the Agent.Host client RPC did not
take the arguments serialized at the server side. This results in a panic.
2020-08-31 17:14:26 -04:00
Jasmine Dahilig
8faece3bd7 Merge pull request #8390 from hashicorp/lifecycle-poststart-hook
task lifecycle poststart hook
2020-08-31 13:53:24 -07:00
Jasmine Dahilig
81cad55d40 task lifecycle poststart: code review fixes 2020-08-31 13:22:41 -07:00
Drew Bailey
2740b48503 Merge pull request #8793 from hashicorp/debug-cli/run-intervals
run commands for duration and interval without needing to specify server or node
2020-08-31 16:07:26 -04:00
Drew Bailey
0a94c62ca4 run commands for duration and interval without needing to specify servers or nodes 2020-08-31 14:13:03 -04:00
Lang Martin
cce82a2e17 command/plugin_status_csi: plugin status :id keeps expected count 2020-08-31 13:56:54 -04:00
Drew Bailey
46d9cf4ee4 Merge pull request #8792 from hashicorp/debug-cli/add-license
add license info to operator debug command
2020-08-31 13:39:40 -04:00
Drew Bailey
41fa0daae2 add license info to operator debug command 2020-08-31 13:22:23 -04:00
Mahmood Ali
5d61167914 Merge pull request #8719 from hashicorp/f-nomad-raft-util
add helper commands for debugging state
2020-08-31 09:10:34 -04:00
Mahmood Ali
5d5810b16a Add a linter for raftutil message type mapping 2020-08-31 08:46:28 -04:00
Mahmood Ali
89a2f4371c raft debug commands are low-level internal commands 2020-08-31 08:45:59 -04:00
Mahmood Ali
cd7ac5c1ee Apply suggestions from code review
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
2020-08-31 08:45:59 -04:00
Mahmood Ali
1896b8f7dd add helper commands for debugging state 2020-08-31 08:45:59 -04:00
Mahmood Ali
4e93e4bc4e Merge pull request #8749 from hashicorp/b-old-non-deployment
Handle migration of non-deployment jobs
2020-08-30 20:54:27 -04:00
Mahmood Ali
5ca8a33aa5 Merge pull request #8787 from Clivern/patch-1
Docs: update acl guide broken link
2020-08-29 17:59:32 -04:00
Mahmood Ali
32d635a4c2 Merge pull request #8778 from hashicorp/b-non-effective-copy
Fix accidental broken Copy
2020-08-29 17:57:18 -04:00
Mahmood Ali
aff2082663 Merge pull request #8784 from jf/fix_cmd_name
Fix cmd.Name() for NodeEligibilityCommand
2020-08-29 17:57:10 -04:00
Ahmed
9d11b3273c update acl guide link 2020-08-29 21:29:49 +02:00
Jeffrey 'jf' Lim
4f0cfbd752 Fix cmd.Name() for NodeEligibilityCommand 2020-08-29 22:45:42 +08:00
Kevin Pruett
32ffcb38cb Merge pull request #8756 from hashicorp/pruett.search-component
Replace local search with @hashicorp/react-search
2020-08-28 15:29:24 -04:00
Mahmood Ali
a80d9bcb0a Fix accidental broken clones
Fix CSIMountOptions.Copy() and VolumeRequest.Copy() where they
accidentally returned a reference to self rather than a deep copy.

`&(*ref)` in Golang apparently equivalent to plain `&ref`.
2020-08-28 15:29:22 -04:00
Kevin Pruett
a8e58662d8 Replace local search with @hashicorp/react-search 2020-08-28 15:15:35 -04:00
Tim Gross
5a01ab312d MRD: move 'job stop -global' handling into RPC (#8776)
The initial implementation of global job stop for MRD looped over all the
regions in the CLI for expedience. This changeset includes the OSS parts of
moving this into the RPC layer so that API consumers don't have to implement
this logic themselves.
2020-08-28 14:28:13 -04:00