Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: preserve case#569

Merged
yesnault merged 8 commits intomasterfrom
ye-preserve-case
Aug 12, 2022
Merged

feat: preserve case#569
yesnault merged 8 commits intomasterfrom
ye-preserve-case

Conversation

@yesnault
Copy link
Member

It's now possible to read something like that :

{
  "foo": "bar",
  "FOO": "truc",
}

and use these variables:

- type: readfile
    path: the_file.json
    info: "{{.Result.ContentJSON.foo}}-{{.Result.ContentJSON.FOO}}"

Environment variable: VENOM_PRESERVE_CASE

venom 1.1.x
VENOM_PRESERVE_CASE="AUTO" is equals to VENOM_PRESERVE_CASE="OFF"

venom 1.2.x
VENOM_PRESERVE_CASE="AUTO" is equals to VENOM_PRESERVE_CASE="ON"

venom 1.1 users, you can try:

> export VENOM_PRESERVE_CASE="ON";
> venom run ...

close #522
close #547
close #522

Signed-off-by: Yvonnick Esnault [email protected]

It's now possible to read something like that :
```json
{
  "foo": "bar",
  "FOO": "truc",
}
```
and use these variables:

```yml
- type: readfile
    path: the_file.json
    info: "{{.Result.ContentJSON.foo}}-{{.Result.ContentJSON.FOO}}"
```

Environment variable: VENOM_PRESERVE_CASE

venom 1.1.x
  VENOM_PRESERVE_CASE="AUTO" is equals to VENOM_PRESERVE_CASE="OFF"

venom 1.2.x
  VENOM_PRESERVE_CASE="AUTO" is equals to VENOM_PRESERVE_CASE="ON"

venom 1.1 users, you can try:

```sh
> export VENOM_PRESERVE_CASE="ON";
> venom run ...
```

close #522
close #547
close #522

Signed-off-by: Yvonnick Esnault <[email protected]>
@ovh-cds
Copy link
Collaborator

ovh-cds commented Aug 11, 2022

CDS Report build-venom-a#944.0 ✘

  • Build
    • Build ✔
    • Unit Tests ✔
  • Tests
    • Acceptance Tests ✘

@ovh-cds
Copy link
Collaborator

ovh-cds commented Aug 11, 2022

CDS Report build-venom-a#946.0 ✘

  • Build
    • Build ✔
    • Unit Tests ✔
  • Tests
    • Acceptance Tests ✘

Signed-off-by: Yvonnick Esnault <[email protected]>
Signed-off-by: Yvonnick Esnault <[email protected]>
@ovh-cds
Copy link
Collaborator

ovh-cds commented Aug 11, 2022

CDS Report build-venom-a#948.0 ✘

  • Build
    • Build ✔
    • Unit Tests ✔
  • Tests
    • Acceptance Tests ✘

Signed-off-by: Yvonnick Esnault <[email protected]>
@ovh-cds
Copy link
Collaborator

ovh-cds commented Aug 12, 2022

CDS Report build-venom-a#949.0 ✘

  • Build
    • Build ✔
    • Unit Tests ✔
  • Tests
    • Acceptance Tests ✘

Signed-off-by: Yvonnick Esnault <[email protected]>
Signed-off-by: Yvonnick Esnault <[email protected]>
Signed-off-by: Yvonnick Esnault <[email protected]>
@ovh-cds
Copy link
Collaborator

ovh-cds commented Aug 12, 2022

CDS Report build-venom-a#952.0 ✘

  • Build
    • Build ✔
    • Unit Tests ✔
  • Tests
    • Acceptance Tests ✔
  • Package-Analyze
    • Docker ✔
    • Sonar ✔
  • Stage 4
    • Buildinfo ✘

Signed-off-by: Yvonnick Esnault <[email protected]>
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

58.6% 58.6% Coverage
2.7% 2.7% Duplication

@yesnault yesnault merged commit 3d10d73 into master Aug 12, 2022
@yesnault yesnault deleted the ye-preserve-case branch August 12, 2022 10:49
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.

Variables in skip statements are not case sensitive

3 participants

Comments