Skip to content

sdk: simplify parseutil handling of json data#9345

Closed
greut wants to merge 3 commits into
hashicorp:mainfrom
greut:lazy-parseutil
Closed

sdk: simplify parseutil handling of json data#9345
greut wants to merge 3 commits into
hashicorp:mainfrom
greut:lazy-parseutil

Conversation

@greut
Copy link
Copy Markdown
Contributor

@greut greut commented Jun 30, 2020

while reading that code; it seemed that some simplifications could be done.

  1. the type hinting with JSON type is always done when I suspect it to be some edge cases
  2. no tests for ParseInt

greut added 3 commits June 30, 2020 06:56
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
@vercel vercel Bot temporarily deployed to Preview – vault June 23, 2021 19:37 Inactive
@VioletHynes
Copy link
Copy Markdown
Contributor

As this PR is older and cannot currently be merged due to merge conflicts, I’m going to go ahead and close it. Please feel free to open a new PR if your desired changes are still applicable!

pull Bot pushed a commit to Zezo-Ai/vault that referenced this pull request Sep 19, 2025
…mages on HCP into ce/main (#9433)

[VAULT-39160] actions(hcp): add support for testing custom images on HCP (hashicorp#9345)

Add support for running the `cloud` scenario with a custom image in the
int HCP environment. We support two new tags that trigger new
functionality. If the `hcp/build-image` tag is present on a PR at the
time of `build`, we'll automatically trigger a custom build for the int
environment. If the `hcp/test` tag is present, we'll trigger a custom
build and run the `cloud` scenario with the resulting image.

* Fix a bug in our custom build pattern to handle prerelease versions.
* pipeline(hcp): add `--github-output` support to `show image` and
  `wait image` commands.
* enos(hcp/create_vault_cluster): use a unique identifier for HVN
  and vault clusters.
* actions(enos-cloud): add workflow to execute the `cloud` enos
  scenario.
* actions(build): add support for triggering a custom build and running
  the `enos-cloud` scenario.
* add more debug logging and query without a status
* add shim build-hcp-image for CE workflows

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
anwittin pushed a commit that referenced this pull request Sep 19, 2025
… custom images on HCP into release/1.20.x+ent into ce/release/1.20.x (#9439)

* [VAULT-39160] actions(hcp): add support for testing custom images on HCP (#9345)

Add support for running the `cloud` scenario with a custom image in the
int HCP environment. We support two new tags that trigger new
functionality. If the `hcp/build-image` tag is present on a PR at the
time of `build`, we'll automatically trigger a custom build for the int
environment. If the `hcp/test` tag is present, we'll trigger a custom
build and run the `cloud` scenario with the resulting image.

* Fix a bug in our custom build pattern to handle prerelease versions.
* pipeline(hcp): add `--github-output` support to `show image` and
  `wait image` commands.
* enos(hcp/create_vault_cluster): use a unique identifier for HVN
  and vault clusters.
* actions(enos-cloud): add workflow to execute the `cloud` enos
  scenario.
* actions(build): add support for triggering a custom build and running
  the `enos-cloud` scenario.
* add more debug logging and query without a status
* add shim build-hcp-image for CE workflows

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants