-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into f-1.3-boogie-nights
- Loading branch information
Showing
830 changed files
with
18,135 additions
and
10,456 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
cli: Added `nomad operator api` command to ease querying Nomad's HTTP API. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
csi: Added support for storage topology | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
namespaces: Allow adding custom metadata to namespaces. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
```release-note:improvement | ||
api: CSI secrets for list and delete snapshots are now passed in HTTP headers | ||
``` | ||
|
||
```release-note:improvement | ||
cli: CSI secrets argument for `volume snapshot list` has been made consistent with `volume snapshot delete` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
cli: Return a redacted value for mount flags in the `volume status` command, instead of `<none>` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
csi: Respect the verbose flag in the output of `volume status` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
csi: Sort allocations in `plugin status` output | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
csi: Allow volumes to be re-registered to be updated while not in use | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
csi: Fixed a bug where fields were missing from the Read Volume API response | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
api: Apply prefix filter when querying CSI volumes in all namespaces | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
```release-note:improvement | ||
api: Add support for filtering, sorting, and pagination to the ACL tokens and allocations list endpoint | ||
``` | ||
|
||
```release-note:improvement | ||
api: Add support for filtering and pagination to the jobs and volumes list endpoint | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
csi: Add pagination parameters to `volume snapshot list` command | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
csi: Fixed a bug where `plugin status` commands could choose the incorrect plugin if a plugin with a name that matched the same prefix existed. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
csi: Fixed a bug where creating snapshots required a plugin ID instead of falling back to the volume's plugin ID | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:bug | ||
csi: Fixed a bug where `volume snapshot list` did not correctly filter by plugin IDs. The `-plugin` parameter is required. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
server: Transfer Raft leadership in case the Nomad server fails to establish leadership | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:improvement | ||
api: Add `related` query parameter to the Evaluation details endpoint | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
```release-note:improvement | ||
cli: display the Raft version instead of the Serf protocol in the `nomad server members` command | ||
``` | ||
|
||
```release-note:improvement | ||
cli: rename the `nomad server members` `-detailed` flag to `-verbose` so it matches other commands | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
name: Core CI Tests | ||
on: | ||
push: | ||
branches-ignore: | ||
- main | ||
- release-** | ||
paths-ignore: | ||
- 'README.md' | ||
- 'CHANGELOG.md' | ||
- '.changelog/*' | ||
- '.tours/*' | ||
- 'contributing/*' | ||
- 'demo/*' | ||
- 'dev/*' | ||
- 'e2e/terraform/*' | ||
- 'integrations/*' | ||
- 'pkg/*' | ||
- 'scripts/*' | ||
- 'terraform/*' | ||
- 'ui/*' | ||
- 'website/*' | ||
env: | ||
GO_VERSION: 1.17.7 | ||
GOBIN: /usr/local/bin | ||
GOTESTARCH: amd64 | ||
CONSUL_VERSION: 1.11.3 | ||
VAULT_VERSION: 1.9.3 | ||
NOMAD_SLOW_TEST: 0 | ||
NOMAD_TEST_LOG_LEVEL: ERROR | ||
jobs: | ||
checks: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 # needs tags for checkproto | ||
- uses: magnetikonline/action-golang-cache@v1 | ||
with: | ||
go-version: ${{env.GO_VERSION}} | ||
cache-key-suffix: -checks | ||
- name: Run make check | ||
run: | | ||
make bootstrap | ||
make check | ||
compile: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04, macos-11, windows-2019] | ||
runs-on: ${{matrix.os}} | ||
timeout-minutes: 20 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: magnetikonline/action-golang-cache@v1 | ||
with: | ||
go-version: ${{env.GO_VERSION}} | ||
cache-key-suffix: -compile | ||
- name: Run make dev | ||
env: | ||
GOBIN: ${{env.GOROOT}}/bin # windows kludge | ||
run: | | ||
make bootstrap | ||
make dev | ||
tests-api: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: magnetikonline/action-golang-cache@v1 | ||
with: | ||
go-version: ${{env.GO_VERSION}} | ||
cache-key-suffix: -api | ||
- name: Run API tests | ||
env: | ||
GOTEST_MOD: api | ||
run: | | ||
make bootstrap | ||
make generate-all | ||
make test-nomad-module | ||
tests-pkgs: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 30 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
pkg: | ||
- acl | ||
- client | ||
- client/allocdir | ||
- client/allochealth | ||
- client/allocrunner | ||
- client/allocwatcher | ||
- client/config | ||
- client/consul | ||
- client/devicemanager | ||
- client/dynamicplugins | ||
- client/fingerprint | ||
# - client/lib/... | ||
- client/logmon | ||
- client/pluginmanager | ||
- client/state | ||
- client/stats | ||
- client/structs | ||
- client/taskenv | ||
- command | ||
- command/agent | ||
# - drivers/docker | ||
# - drivers/exec | ||
- drivers/java | ||
- drivers/rawexec | ||
- helper/... | ||
- internal/... | ||
- jobspec/... | ||
- lib/... | ||
- nomad | ||
- nomad/deploymentwatcher | ||
- nomad/stream | ||
- nomad/structs | ||
- nomad/volumewatcher | ||
- plugins/... | ||
- scheduler/... | ||
- testutil | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: magnetikonline/action-golang-cache@v1 | ||
with: | ||
go-version: ${{env.GO_VERSION}} | ||
cache-key-suffix: -pkgs | ||
- name: Run Matrix Tests | ||
env: | ||
GOTEST_PKGS: ./${{matrix.pkg}} | ||
run: | | ||
make bootstrap | ||
make generate-all | ||
hc-install vault ${{env.VAULT_VERSION}} | ||
hc-install consul ${{env.CONSUL_VERSION}} | ||
sudo sed -i 's!Defaults!#Defaults!g' /etc/sudoers | ||
sudo -E env "PATH=$PATH" make test-nomad | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.