cd243ee542
feat(gcs): allow upload to gcs from steps ( #3034 )
...
* Upload reports to Google Cloud Storage bucket
* Added tests. Made fixes
* Update step generation. GCS client was moved to GeneralConfig
* Code was refactored
* Fixed issues
* Fixed issues
* Code correction due to PR comments
* Improved gcs client and integration tests
* Integrated gcp config. Updated step metadata
* Fixed issues. Added tests
* Added cpe, vault, aliases resolving for reporting parameters
* Added tests
* Uncommented DeferExitHandler. Removed useless comments
* fixed cloning of config
* Added comments for exported functions. Removed unused mock
* minor fix
* Implemented setting of report name via paramRef
* some refactoring. Writing tests
* Update pkg/config/reporting.go
* Update cmd/sonarExecuteScan_generated.go
* Apply suggestions from code review
* Update pkg/config/reporting.go
* Update pkg/config/reporting.go
* fixed removing valut secret files
* Update pkg/config/reporting.go
* restore order
* restore order
* Apply suggestions from code review
* go generate
* fixed tests
* Update resources/metadata/sonarExecuteScan.yaml
* Update resources.go
* Fixed tests. Code was regenerated
* changed somewhere gcp to gcs. Fixed one test
* move gcsSubFolder to input parameters
* fixed removing valut secret files
* minor fix in integration tests
* fix integration tests
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com >
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-12-15 15:07:47 +01:00
Siarhei Pazdniakou and Christopher Fenner
0879fa591a
fix(influx): fix generated output parameters ( #3362 )
...
* fixed generated output parameters for influx
* change name to lower case
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
2021-12-15 09:40:50 +01:00
Siarhei Pazdniakou and Oliver Nocon
e97242b7e7
Fixed validation for possibleValues option ( #3228 )
...
* Fixed validation for possibleValues option
* Change oneof-custom to possible-values
* go generate
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com >
2021-11-15 12:06:48 +01:00
46bafc40a3
Improve validation of configuration ( #3125 )
...
* Implemented validation for the option possibleValues
* Has been added the option mandatoryIf to config with validation
* Fixed issues found during code review
* improved golang template
* Fixed tests. Added validation for mandatoryIf option
* Fix typo
* Fixed tests
* Validation was refactored. Added options
* Added default value for parameters with possibleValues option
* Validation was moved after the configuration resolution
* Canceled some default values
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com >
2021-10-01 12:49:05 +02:00
Siarhei Pazdniakou and Oliver Nocon
7a325e6fc8
Convert step/stage condition logic to golang ( #2993 )
...
* Added checkIfStepActive step
* Implemented npmScripts condition. Code was refactored
* Added some unit tests
* Fixed go modules
* Fixed go modules
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com >
2021-07-26 07:47:43 +02:00
54f2a0d471
Added go-based influxWriteData step ( #2890 )
...
* Added go-based influxWriteData step
* Wrote tests & fixed issues
* Fixed issues
* Created go-based step tests. Fixed issues
* Fixed issues
* Integration test was added
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com >
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-06-30 11:18:49 +02:00
0673d3fed6
Writing secrets to vault ( #2770 )
...
Co-authored-by: Kevin Stiehl <kevin.stiehl@numericas.de >
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com >
2021-05-06 10:27:23 +02:00
33699c7388
Convert containerExecuteStructureTests to go implementation ( #2701 )
...
* Converted containerExecuteStructureTests to go implementation
* Added tests
* Fixed issues
* Made fixes
Co-authored-by: lndrschlz <leander.schulz01@sap.com >
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com >
2021-03-25 08:18:30 +01:00