Philipp Stehle
4c18f2a128
feat: Add support for deprecating step parameters ( #3554 )
...
this was already used in fortifyExecuteScan, but had no effect.
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
2022-02-23 15:16:05 +01:00
Anil Keshav
04c4460c78
including vaultSecretFile to parameter generator docu ( #3436 )
...
Co-authored-by: anilkeshav27 <you@example.com>
2022-01-14 15:03:29 +01:00
Oliver Nocon
bad3331597
doc: fix rendering of stage overview ( #3371 )
2021-12-17 08:45:21 +01:00
Siarhei Pazdniakou
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
Oliver Nocon
cf8dad1edd
doc: fix generation of empty stages ( #3354 )
2021-12-13 13:05:07 +01:00
Oliver Nocon
cddbdf2ce2
doc: improve stage documentation ( #3343 )
...
* remove unnecessary sections in case stage does not contain steps (e.g. confirm stage)
* improve readibiliy of condition section
* fix naming
2021-12-13 11:35:41 +01:00
Oliver Nocon
6c5434f957
feat(checkIfStepActive): support new CRD style conditions ( #3254 )
...
* feat: first parts of new run struct
* add parts for new stage condition handling
* update conditions
* feat: finalize conditions and tests
* feat(checkIfStepActive): support new CRD style conditions
* feat(docs): allow generating stage docs
* chore(docs): make step directory configurable
* fix: tests
* add option to output file
* Update checkIfStepActive_test.go
2021-11-18 07:24:00 +01:00
Oliver Nocon
db6b465ff1
chore(doc): conditionally mandatory parameters ( #3172 )
...
enhance documentation generation to properly reflect
parameters which are conditionally mandatory.
2021-10-12 12:49:38 +02:00
Oliver Nocon
ba694b6737
fix(doc) proper tab creation for step docs ( #3169 )
2021-10-11 16:51:54 +02:00
Oliver Nocon
60a114d738
chore(docs): improve step documentation ( #3162 )
...
* chore(docs): improve step documentation
* chore: fix test
* chore: add note box
* use latest mkdocs imgage
* add extensions and fix config
2021-10-11 15:22:24 +02:00
Eugene Kortelyov
56be54c504
Feature/vault refactoring ( #3113 )
...
* refactor vault code
* adjust generator
* wip: fix tests
* regenerate influxdb
* fix test
* add another test
* fix test & docs
* fix formatting
* Minorupdate and fixes
Co-authored-by: Kevin Stiehl <kevin.stiehl@numericas.de>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-09-21 13:06:32 +02:00
lndrschlz
e60bdb94a6
feat(uiVeri5): golang implmementation for uiVeri5ExecuteTests ( #2394 )
...
* added uiVeri5ExecuteTests step files
* added confPath an regenerated step
* added test for uiVeri5ExecuteTests
* config modified
* added groovy wrapper
* ambiguous method fixed
* uiveri5 wrapper
* removed install command
* fixed defaults
* added testOptions as confPath arg
* test set env
* test npm install local
* changed env settings
* tests regenerated
* go generate
* fix code climate
* overwrite groovy step
* remove groovy wrapper go
* unstash piper bin
* test older node version
* test piperExecuteBin
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* refactored params
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* set testServerUrl as os env for uiveri5
* Update config.yml
* fix naming of testServerUrl param
* wip
* refactored setEnv and fixed tests
* wip
* step param for NPM_CONFIG_PREFIX
* fix runCommand
* refactored step param, regenerate, docu, fix tests
* fix groovy wrapper test
* cleanup
* add to CommonStepsTest field whitelist
* fixed default pipeline environment vars
* fix []string default
* fix metadata.go bug
* added test for docu metadata gen
* fix metadata_test.go in doc gen
* Update metadata_generated.go
* Update metadata_generated.go
* remove npm config prefix param; doc fix
* remove tab
* changed npm config prefix
* removed groovy wrapper test
* removed groovy step defaults
* modify path variable
* modified npm config prefix
* fix error wrapper and tests
* doc update
* add testRepository support
* wip
* fix testRepository param
* wip
* add utils
* init stash content
* wip
* wip
* wip
* add comment for deprecated parameters
* fixed commonStepTest
* fixed commonStepTest
* added error category for testOptions failure
* Update vars/uiVeri5ExecuteTests.groovy
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
* Update vars/uiVeri5ExecuteTests.groovy
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
* fix condition
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2021-01-28 11:31:24 +01:00
Kevin Stiehl
e2335b7181
(documentation) fix documentation render bug ( #2423 )
...
* fix documentation render bug
* fix tests
* fix complexity
2020-11-26 07:51:43 +01:00
Kevin Stiehl
6c51b76fcf
(documentation) Vault Setup documentation ( #2366 )
...
* add vault documentation
* fix test
* fix typo
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-11-16 11:53:52 +01:00
Christopher Fenner
0797f4049a
feat(docs): use custom defaults during docs generation ( #2022 )
...
* remove docs generator code from step-generator
* add docs generator to dedicated package
* add test cases
* add entry point for docs generation
* make output more readable
* read additional defaults
* add custo defaults parameters
* remove commented code
* adjust custom default parameter in workflow
* remove conflict leftovers
* handle custom default values
* remove comment
* extract code to function
* extract metadata reading to function
* do not print empty strings in favor of PIPER_* env vars
* extract new code to own metadata file
* only reset default on booleans
* remove obsolete test case
2020-10-16 12:50:39 +02:00
Christopher Fenner
8eef130b22
fix(docs): flag mandatory parameters with default value as non-mandatory ( #2193 )
...
* fix(docs): flag mandatory parameters with default value as non-mandatory
* Update parameters.go
* add test cases
2020-10-16 09:06:39 +02:00
Christopher Fenner
b859ab411c
fix(docs): correct md syntax for headlines ( #2177 )
...
* fix doc headlines
* correct headline level
* adjust test case
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-10-15 08:21:57 +02:00
Christopher Fenner
b16f0428e1
docs: make used library and binary name in samples exchangeable for custom steps ( #2092 )
...
* add code block type
* add parameters to hand in library and binary name
* use library and binary name parameters
* add test cases
* use yaml file to distintuish custom from regular steps
* add test case
2020-09-30 15:02:00 +02:00
Christopher Fenner
b2e345f4dc
docs: add note about Jenkins credentials ( #2078 )
...
* add note about Jenkins credentials
* remove copy&paste issue
* Update parameters.go
2020-09-28 11:45:21 +02:00
Christopher Fenner
cd819f205e
use correct template library ( #2077 )
...
fixes #2073
2020-09-28 09:10:52 +02:00
Christopher Fenner
b219fb6514
fix(typo): found by misspell ( #2064 )
...
* fix typos in step yamls
* fix typos in go files
* regenerate step code
* fix typos in md files
* fix typos in groovy files
* fix further typos
2020-09-24 07:41:06 +02:00
Christopher Fenner
54ff93233e
refactor(docs): separate step and docs generator ( #2033 )
...
* remove docs generator code from step-generator
* add docs generator to dedicated package
* add test cases
* add entry point for docs generation
* make output more readable
* remove dead code
2020-09-23 13:55:17 +02:00