dependabot[bot]
ababacc9ab
chore(deps): bump github.com/shoenig/test from 1.12.1 to 1.12.2 in /api ( #26757 )
...
* chore(deps): bump github.com/shoenig/test from 1.12.1 to 1.12.2 in /api
Bumps [github.com/shoenig/test](https://github.com/shoenig/test ) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/shoenig/test/releases )
- [Commits](https://github.com/shoenig/test/compare/v1.12.1...v1.12.2 )
---
updated-dependencies:
- dependency-name: github.com/shoenig/test
dependency-version: 1.12.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* root dep needs to be updated too
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Gross <tgross@hashicorp.com >
2025-09-15 09:06:41 -04:00
dependabot[bot]
00fd92a1d4
chore(deps): bump github.com/hashicorp/cronexpr in /api ( #26715 )
...
Bumps [github.com/hashicorp/cronexpr](https://github.com/hashicorp/cronexpr ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/hashicorp/cronexpr/releases )
- [Commits](https://github.com/hashicorp/cronexpr/compare/v1.1.2...v1.1.3 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/cronexpr
dependency-version: 1.1.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 17:06:16 +02:00
James Rasell
85c30dfd1e
test: Remove use of "mitchellh/go-testing-interface" for stdlib. ( #25640 )
...
The stdlib testing package now includes this interface, so we can
remove our dependency on the external library.
2025-04-14 07:43:49 +01:00
dependabot[bot]
d67a74d0f4
chore(deps): bump github.com/gorilla/websocket in /api ( #25502 )
...
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket ) from 1.5.0 to 1.5.3.
- [Release notes](https://github.com/gorilla/websocket/releases )
- [Commits](https://github.com/gorilla/websocket/compare/v1.5.0...v1.5.3 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-25 10:53:27 -04:00
dependabot[bot]
f16104ab84
chore(deps): bump github.com/shoenig/test from 1.7.1 to 1.12.1 in /api ( #25501 )
...
Bumps [github.com/shoenig/test](https://github.com/shoenig/test ) from 1.7.1 to 1.12.1.
- [Release notes](https://github.com/shoenig/test/releases )
- [Commits](https://github.com/shoenig/test/compare/v1.7.1...v1.12.1 )
---
updated-dependencies:
- dependency-name: github.com/shoenig/test
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-25 10:52:56 -04:00
dependabot[bot]
de723690f7
chore(deps): bump github.com/felixge/httpsnoop in /api ( #25499 )
...
Bumps [github.com/felixge/httpsnoop](https://github.com/felixge/httpsnoop ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/felixge/httpsnoop/releases )
- [Commits](https://github.com/felixge/httpsnoop/compare/v1.0.3...v1.0.4 )
---
updated-dependencies:
- dependency-name: github.com/felixge/httpsnoop
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-25 10:02:00 -04:00
Seth Hoenig
ae6c4c8e3f
deps: purge use of old x/exp packages ( #20373 )
2024-04-12 08:29:00 -05:00
Seth Hoenig
4d83733909
tests: swap testify for test in more places ( #20028 )
...
* tests: swap testify for test in plugins/csi/client_test.go
* tests: swap testify for test in testutil/
* tests: swap testify for test in host_test.go
* tests: swap testify for test in plugin_test.go
* tests: swap testify for test in utils_test.go
* tests: swap testify for test in scheduler/
* tests: swap testify for test in parse_test.go
* tests: swap testify for test in attribute_test.go
* tests: swap testify for test in plugins/drivers/
* tests: swap testify for test in command/
* tests: fixup some test usages
* go: run go mod tidy
* windows: cpuset test only on linux
2024-02-29 12:11:35 -06:00
Seth Hoenig
3ba364e42f
deps: update some dependencies ( #19002 )
...
* deps: update shoenig/test to 1.7.0
* deps: update go-set/v2 to v2.1.0
* deps: update shoenig/go-landlock to v1.2.0
2023-11-07 07:34:40 -06:00
dependabot[bot]
3c7a44daea
build(deps): bump github.com/shoenig/test from 0.6.6 to 0.6.7 in /api ( #18191 )
...
Bumps [github.com/shoenig/test](https://github.com/shoenig/test ) from 0.6.6 to 0.6.7.
- [Release notes](https://github.com/shoenig/test/releases )
- [Commits](https://github.com/shoenig/test/compare/v0.6.6...v0.6.7 )
---
updated-dependencies:
- dependency-name: github.com/shoenig/test
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 09:21:29 -05:00
Charlie Voiselle
585b0533c0
[dep] bump golang.org/x/exp ( #18102 )
...
There are some refactorings that have to be made in the getter and state
where the api changed in `slices`
* Bump golang.org/x/exp
* Bump golang.org/x/exp in api
* Update job_endpoint_test
* [feedback] unexport sort function
2023-08-01 11:50:17 -04:00
dependabot[bot]
e8683e3f49
build(deps): bump github.com/hashicorp/cronexpr in /api ( #17787 )
2023-07-10 11:23:00 +01:00
Charlie Voiselle
fc9076731c
[api] Return a shapely error for unexpected response ( #16743 )
...
* Add UnexpectedResultError to nomad/api
This allows users to perform additional status-based behavior by rehydrating the error using `errors.As` inside of consumers.
2023-05-22 11:45:31 -04:00
dependabot[bot]
85376af1b7
build(deps): bump github.com/shoenig/test from 0.6.4 to 0.6.6 in /api ( #17178 )
...
* build(deps): bump github.com/shoenig/test from 0.6.4 to 0.6.5 in /api
* deps: update shoenig/test to v0.6.5
* deps: update again to v0.6.6
---------
Co-authored-by: Tim Gross <tgross@hashicorp.com >
Co-authored-by: Seth Hoenig <shoenig@duck.com >
2023-05-22 07:53:12 -05:00
James Rasell
8e57473781
api: update Go mod go version to 1.20 to match main mod. ( #17137 )
2023-05-10 16:29:06 +01:00
dependabot[bot]
76a0630f22
build(deps): bump github.com/shoenig/test from 0.6.3 to 0.6.4 in /api ( #16895 )
...
Bumps [github.com/shoenig/test](https://github.com/shoenig/test ) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/shoenig/test/releases )
- [Commits](https://github.com/shoenig/test/compare/v0.6.3...v0.6.4 )
---
updated-dependencies:
- dependency-name: github.com/shoenig/test
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 11:39:37 -05:00
Seth Hoenig
fd900d0723
client/fingerprint: correctly fingerprint E/P cores of Apple Silicon chips ( #16672 )
...
* client/fingerprint: correctly fingerprint E/P cores of Apple Silicon chips
This PR adds detection of asymetric core types (Power & Efficiency) (P/E)
when running on M1/M2 Apple Silicon CPUs. This functionality is provided
by shoenig/go-m1cpu which makes use of the Apple IOKit framework to read
undocumented registers containing CPU performance data. Currently working
on getting that functionality merged upstream into gopsutil, but gopsutil
would still not support detecting P vs E cores like this PR does.
Also refactors the CPUFingerprinter code to handle the mixed core
types, now setting power vs efficiency cpu attributes.
For now the scheduler is still unaware of mixed core types - on Apple
platforms tasks cannot reserve cores anyway so it doesn't matter, but
at least now the total CPU shares available will be correct.
Future work should include adding support for detecting P/E cores on
the latest and upcoming Intel chips, where computation of total cpu shares
is currently incorrect. For that, we should also include updating the
scheduler to be core-type aware, so that tasks of resources.cores on Linux
platforms can be assigned the correct number of CPU shares for the core
type(s) they have been assigned.
node attributes before
cpu.arch = arm64
cpu.modelname = Apple M2 Pro
cpu.numcores = 12
cpu.reservablecores = 0
cpu.totalcompute = 1000
node attributes after
cpu.arch = arm64
cpu.frequency.efficiency = 2424
cpu.frequency.power = 3504
cpu.modelname = Apple M2 Pro
cpu.numcores.efficiency = 4
cpu.numcores.power = 8
cpu.reservablecores = 0
cpu.totalcompute = 37728
* fingerprint/cpu: follow up cr items
2023-03-28 08:27:58 -05:00
Seth Hoenig
78bcd32ad4
deps: update test to 0.6.2 for new functions ( #16326 )
2023-03-06 09:24:45 -06:00
dependabot[bot]
7c956ce65a
build(deps): bump github.com/shoenig/test from 0.6.0 to 0.6.1 in /api ( #15939 )
...
* build(deps): bump github.com/shoenig/test from 0.6.0 to 0.6.1 in /api
Bumps [github.com/shoenig/test](https://github.com/shoenig/test ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/shoenig/test/releases )
- [Commits](https://github.com/shoenig/test/compare/v0.6.0...v0.6.1 )
---
updated-dependencies:
- dependency-name: github.com/shoenig/test
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* deps: update test
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Seth Hoenig <shoenig@duck.com >
2023-01-29 14:03:56 -06:00
Benjamin Buzbee
dc6b08851d
Return buffered text from log endpoint if decoding fails ( #15558 )
...
To see why I think this is a good change lets look at why I am making it
My disk was full, which means GC was happening agressively. So by the
time I called the logging endpoint from the SDK, the logs were GC'd
The error I was getting before was:
```
invalid character 'i' in literal false (expecting 'l')
```
Now the error I get is:
```
failed to decode log endpoint response as JSON: "failed to list entries: open /tmp/nomad.data.4219353875/alloc/f11fee50-2b66-a7a2-d3ec-8442cb3d557a/alloc/logs: no such file or directory"
```
Still not super descriptive but much more debugable
2023-01-16 10:39:56 +01:00
Seth Hoenig
4698d8da79
consul/connect: support for proxy upstreams opaque config ( #15761 )
...
This PR adds support for configuring `proxy.upstreams[].config` for
Consul Connect upstreams. This is an opaque config value to Nomad -
the data is passed directly to Consul and is unknown to Nomad.
2023-01-12 08:20:54 -06:00
Seth Hoenig
283be3d641
deps: update shoenig/test to v0.6.0 ( #15715 )
...
Adds support for custom cmp.Options; need to fix one minor thing
causing api breakage.
2023-01-09 09:37:08 -06:00
Seth Hoenig
9bfd89ccd3
api: purge testify and pretty dependencies ( #15627 )
...
* api: swap testify for test (acl)
* api: swap testify for test (agent)
Please enter the commit message for your changes. Lines starting
* api: swap testify for test (allocations)
* api: swap testify for test (api)
* api: swap testify for test (compose)
* api: swap testify for test (constraint)
* api: swap testify for test (consul)
* api: swap testify for test (csi)
* api: swap testify for test (evaluations)
* api: swap testify for test (event stream)
* api: swap testify for test (fs)
* api: swap testify for test (ioutil)
* api: swap testify for test (jobs)
* api: swap testify for test (keyring)
* api: swap testify for test (operator_ent)
* api: swap testify for test (operator_metrics)
* api: swap testify for test (operator)
* api: swap testify for test (quota)
* api: swap testify for test (resources)
* api: swap testify for test (fix operator_metrics)
* api: swap testify for test (scaling)
* api: swap testify for test (search)
* api: swap testify for test (sentinel)
* api: swap testify for test (services)
* api: swap testify for test (status)
* api: swap testify for test (system)
* api: swap testify for test (tasks)
* api: swap testify for test (utils)
* api: swap testify for test (variables)
* api: remove dependencies on testify and pretty
2023-01-01 12:57:26 -06:00
Seth Hoenig
51cc205cc1
deps: update shoenig/test to 0.5.2 and fixup breaking changes ( #15574 )
2022-12-20 07:52:10 -06:00
Seth Hoenig
12034f90a3
api: make api tests fast and more concurrency safe ( #15543 )
...
This PR tries to make API tests run fast, as an experiment to later apply
to all packages. Key changes include
- Swapping freeport for test/portal for port allocations
- Swappng some uses of WaitForResult with test/wait
- Turning on parallelism in api/testutil/slow.go
- Switching to custom public runner (32 vcpu)
There's also chunk of cleanup brought in for the ride
2022-12-16 12:25:28 -06:00
Seth Hoenig
c8e0d5d37d
fingerprint: add fingerprinting for CNI plugins presense and version ( #15452 )
...
This PR adds a fingerprinter to set the attribute
"plugins.cni.version.<name>" => "<version>"
for each CNI plugin in <client>.cni_path (/opt/cni/bin by default).
2022-12-05 14:22:47 -06:00
dependabot[bot]
aae9d8e464
build(deps): bump github.com/shoenig/test from 0.4.4 to 0.4.5 in /api ( #15405 )
...
* build(deps): bump github.com/shoenig/test from 0.4.4 to 0.4.5 in /api
Bumps [github.com/shoenig/test](https://github.com/shoenig/test ) from 0.4.4 to 0.4.5.
- [Release notes](https://github.com/shoenig/test/releases )
- [Commits](https://github.com/shoenig/test/compare/v0.4.4...v0.4.5 )
---
updated-dependencies:
- dependency-name: github.com/shoenig/test
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* deps: update github.com/shoenig/test v0.4.4 -> v0.4.5
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com >
2022-11-29 13:25:53 -05:00
dependabot[bot]
233092157f
build(deps): bump github.com/shoenig/test from 0.4.3 to 0.4.4 in /api ( #15163 )
...
* build(deps): bump github.com/shoenig/test from 0.4.3 to 0.4.4 in /api
Bumps [github.com/shoenig/test](https://github.com/shoenig/test ) from 0.4.3 to 0.4.4.
- [Release notes](https://github.com/shoenig/test/releases )
- [Commits](https://github.com/shoenig/test/compare/v0.4.3...v0.4.4 )
---
updated-dependencies:
- dependency-name: github.com/shoenig/test
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* deps: also update root go mod
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Seth Hoenig <shoenig@duck.com >
2022-11-06 08:06:01 -06:00
dependabot[bot]
1c02fd984d
build(deps): bump github.com/stretchr/testify in /api ( #15082 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-31 08:45:04 -05:00
dependabot[bot]
195a1adde2
build(deps): bump github.com/kr/pretty from 0.3.0 to 0.3.1 in /api ( #14859 )
...
* build(deps): bump github.com/kr/pretty from 0.3.0 to 0.3.1 in /api
Bumps [github.com/kr/pretty](https://github.com/kr/pretty ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/kr/pretty/releases )
- [Commits](https://github.com/kr/pretty/compare/v0.3.0...v0.3.1 )
---
updated-dependencies:
- dependency-name: github.com/kr/pretty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* deps: update in root as well
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Seth Hoenig <shoenig@duck.com >
2022-10-27 11:58:00 -05:00
Seth Hoenig
f02a09578d
deps: bump shoenig for str func bugfixes ( #14974 )
...
And fix the one place we use them.
2022-10-20 08:11:43 -05:00
Seth Hoenig
cbf2ed2f18
deps: bump shoenig/test to 0.4.1 ( #14931 )
...
bugfix for SliceContainsAll and adding SliceContainsSubset
2022-10-18 09:46:25 -05:00
dependabot[bot]
4967abeb09
build(deps): bump github.com/docker/go-units from 0.4.0 to 0.5.0 in /api ( #14430 )
...
* build(deps): bump github.com/docker/go-units from 0.4.0 to 0.5.0 in /api
Bumps [github.com/docker/go-units](https://github.com/docker/go-units ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/docker/go-units/releases )
- [Commits](https://github.com/docker/go-units/compare/v0.4.0...v0.5.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/go-units
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* deps: also update go-units in nomad
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Seth Hoenig <shoenig@duck.com >
2022-09-26 09:30:17 -05:00
dependabot[bot]
da196a8ae1
build(deps): bump github.com/shoenig/test from 0.3.1 to 0.4.0 in /api ( #14681 )
...
Bumps [github.com/shoenig/test](https://github.com/shoenig/test ) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/shoenig/test/releases )
- [Commits](https://github.com/shoenig/test/compare/v0.3.1...v0.4.0 )
---
updated-dependencies:
- dependency-name: github.com/shoenig/test
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 08:48:37 -05:00
Seth Hoenig
21a2afd464
build: go.mod should require go1.19
...
Since we started using atomic.Pointer, we should specify the go1.19
requirement in our go.mod files.
2022-08-21 20:41:49 -05:00
dependabot[bot]
f9f6bc4057
build(deps): bump github.com/shoenig/test from 0.3.0 to 0.3.1 in /api ( #14194 )
...
Bumps [github.com/shoenig/test](https://github.com/shoenig/test ) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/shoenig/test/releases )
- [Commits](https://github.com/shoenig/test/compare/v0.3.0...v0.3.1 )
---
updated-dependencies:
- dependency-name: github.com/shoenig/test
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-19 11:32:59 +02:00
Piotr Kazmierczak
c4be2c6078
cleanup: replace TypeToPtr helper methods with pointer.Of ( #14151 )
...
Bumping compile time requirement to go 1.18 allows us to simplify our pointer helper methods.
2022-08-17 18:26:34 +02:00
dependabot[bot]
b75beae852
chore(deps): bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0 in /api ( #12725 )
...
* chore(deps): bump github.com/mitchellh/mapstructure in /api
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.3...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Also bump mapstructure in main go.mod
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Schurter <mschurter@hashicorp.com >
2022-07-13 11:57:16 -07:00
dependabot[bot]
6e0eb786f9
build(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.0 in /api ( #12075 )
...
* build(deps): bump github.com/gorilla/websocket in /api
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket ) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/gorilla/websocket/releases )
- [Commits](https://github.com/gorilla/websocket/compare/v1.4.2...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* deps: also bump websocket dep in main binary
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Schurter <mschurter@hashicorp.com >
2022-07-12 16:49:31 -07:00
dependabot[bot]
68cf2dc058
build(deps): bump github.com/docker/go-units from 0.3.3 to 0.4.0 in /api ( #11519 )
...
* build(deps): bump github.com/docker/go-units from 0.3.3 to 0.4.0 in /api
Bumps [github.com/docker/go-units](https://github.com/docker/go-units ) from 0.3.3 to 0.4.0.
- [Release notes](https://github.com/docker/go-units/releases )
- [Commits](https://github.com/docker/go-units/compare/v0.3.3...v0.4.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/go-units
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Tidy go.sum
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Schurter <mschurter@hashicorp.com >
2022-07-12 12:54:56 -07:00
dependabot[bot]
49c04a5670
build(deps): bump github.com/stretchr/testify in /api
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-01 09:50:54 -05:00
Seth Hoenig
b940e4e15c
tests: update testify dependency
2022-06-24 15:39:21 +00:00
dependabot[bot]
8cc812197e
build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 ( #12306 )
2022-03-23 19:12:51 -04:00
Seth Hoenig
5ef844c827
deps: update api go version and dependencies
...
This PR sets the minimum Go version for the `api` submodule to Go 1.17.
It also upgrades
- gorilla/websocket 1.4.1 -> 1.4.2
- mitchelh/mapstructure 1.4.2 -> 1.4.3
- stretchr/testify 1.5.1 -> 1.7.0
Closes #11518 #11602 #11528
2022-01-24 12:23:26 -06:00
dependabot[bot]
9088bc3df0
build(deps): bump github.com/hashicorp/cronexpr from 1.1.0 to 1.1.1 in /api ( #11132 )
...
* build(deps): bump github.com/hashicorp/cronexpr in /api
Bumps [github.com/hashicorp/cronexpr](https://github.com/hashicorp/cronexpr ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/hashicorp/cronexpr/releases )
- [Commits](https://github.com/hashicorp/cronexpr/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/cronexpr
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* go mod tidy
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Gross <tim@0x74696d.com >
2021-11-17 11:46:48 -05:00
dependabot[bot]
3e2bbc1db4
build(deps): bump github.com/kr/pretty from 0.1.0 to 0.3.0 in /api ( #11135 )
...
* build(deps): bump github.com/kr/pretty from 0.1.0 to 0.3.0 in /api
Bumps [github.com/kr/pretty](https://github.com/kr/pretty ) from 0.1.0 to 0.3.0.
- [Release notes](https://github.com/kr/pretty/releases )
- [Commits](https://github.com/kr/pretty/compare/v0.1.0...v0.3.0 )
---
updated-dependencies:
- dependency-name: github.com/kr/pretty
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* update in core as well and tidy
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tim Gross <tim@0x74696d.com >
2021-11-17 10:41:21 -05:00
dependabot[bot]
a5e9fe6ffb
build(deps): bump github.com/mitchellh/mapstructure in /api ( #11188 )
...
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure ) from 1.3.3 to 1.4.2.
- [Release notes](https://github.com/mitchellh/mapstructure/releases )
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.3.3...v1.4.2 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/mapstructure
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-17 10:04:12 -05:00
dependabot[bot]
903c3907a3
build(deps): bump github.com/hashicorp/go-cleanhttp in /api ( #11133 )
...
Bumps [github.com/hashicorp/go-cleanhttp](https://github.com/hashicorp/go-cleanhttp ) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/hashicorp/go-cleanhttp/releases )
- [Commits](https://github.com/hashicorp/go-cleanhttp/compare/v0.5.1...v0.5.2 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-cleanhttp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-17 08:42:34 -05:00
dependabot[bot]
abfdb6a0b5
build(deps): bump github.com/mitchellh/go-testing-interface in /api ( #11136 )
...
Bumps [github.com/mitchellh/go-testing-interface](https://github.com/mitchellh/go-testing-interface ) from 1.0.0 to 1.14.1.
- [Release notes](https://github.com/mitchellh/go-testing-interface/releases )
- [Commits](https://github.com/mitchellh/go-testing-interface/compare/v1.0.0...v1.14.1 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/go-testing-interface
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-17 08:38:35 -05:00
Drew Bailey
be2024ab90
Api/event stream payload values ( #9277 )
...
* Get concrete types out of dynamic payload
wip
pull out value setting to func
* Add TestEventSTream_SetPayloadValue
Add more assertions
use alias type in unmarshalJSON to handle payload rawmessage
shorten unmarshal and remove anonymous wrap struct
* use map structure and helper functions to return concrete types
* ensure times are properly handled
* update test name
* put all decode logic in a single function
Co-authored-by: Kris Hicks <khicks@hashicorp.com >
2020-11-05 13:04:18 -05:00