Daria Kuznetsova
cfa26f7c3f
improved logging with fortify server URL ( #4098 )
...
* improved logging with fortify server URL
2022-11-02 17:18:54 +05:30
Vyacheslav Starostin
a84b9d65ac
sonarExecuteScan: run sonar image as root ( #4097 )
2022-11-01 20:51:25 +06:00
Vyacheslav Starostin
e9c366392e
Update sonar image version ( #4094 )
...
Co-authored-by: Vyacheslav Starostin <vyacheslav.starostin@sap.com>
2022-10-31 16:33:24 +01:00
Johannes Dillmann
cfacde97be
Allow run-image to be specified ( #4088 )
...
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
2022-10-27 15:18:32 +02:00
Philipp Stehle
95c8166796
fix(cnbBuild): allow setting empty env variables in project descriptor ( #4084 )
2022-10-25 14:35:24 +02:00
Vyacheslav Starostin
a7dd0bac50
gradleExecuteBuild: get published artifacts names and write those to CPE ( #4076 )
...
* Add new output to CPE && go generate
* Add published artifacts names to CPE
* Add tests
* Change name
Co-authored-by: Vyacheslav Starostin <vyacheslav.starostin@sap.com>
Co-authored-by: Ashly Mathew <ashly.mathew@sap.com>
Co-authored-by: Anil Keshav <anil.keshav@sap.com>
2022-10-25 13:17:42 +02:00
Anil Keshav
2d56e3f4dc
fix (npmExecuteScripts) pinning @cyclonedx/bom to major version 3 ( #4081 )
...
* pinning cyclone dx to major version 3
* fxing unit test
Co-authored-by: anilkeshav27 <you@example.com>
2022-10-24 13:42:11 +02:00
Philipp Stehle
48e959b4a9
fix(golangBuild) pass testOptions to gotestsum ( #4077 )
...
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
2022-10-21 11:29:23 +02:00
Philipp Stehle
4c1ecdbbba
fix(JenkinsConfigProvider): panic in GetBuildReason ( #4073 )
...
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
Co-authored-by: Sumit Kulhadia <sumit.kulhadia@sap.com>
2022-10-20 08:38:10 +02:00
Anil Keshav
f270aa4a17
including sarif files when running implicit report upload from the step itself ( #4068 )
...
Co-authored-by: anilkeshav27 <you@example.com>
2022-10-18 09:48:07 +02:00
thtri
8d1e1bac96
fix(fortify,checkmarx): enable SARIF generation as baseline ( #4053 )
...
Co-authored-by: sumeet patil <sumeet.patil@sap.com>
2022-10-17 14:09:02 +02:00
Oliver Nocon
e2db94dc5e
chore(mavenBuild): add default retries for certificate download ( #3957 )
...
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
2022-10-14 10:31:28 +02:00
dependabot[bot]
183f792674
chore(deps): bump github.com/hashicorp/vault from 1.9.3 to 1.9.9 ( #4045 )
...
Bumps [github.com/hashicorp/vault](https://github.com/hashicorp/vault ) from 1.9.3 to 1.9.9.
- [Release notes](https://github.com/hashicorp/vault/releases )
- [Changelog](https://github.com/hashicorp/vault/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/vault/compare/v1.9.3...v1.9.9 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/vault
dependency-type: direct:production
...
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>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2022-10-14 08:11:56 +02:00
Sven Merk
ea04a63412
fix(whitesourceExecuteScan): Fix processing of assessment ( #4059 )
...
* Fix potential nil reference
* Fix handling of assessed vulns
* Fix test code
* Add error detail
* Fix parsing
* Adding debug output
* Fix nil reference
* fix
* Add debug
* Update cmd/whitesourceExecuteScan.go
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
* Update cmd/whitesourceExecuteScan.go
* Update cmd/whitesourceExecuteScan.go
* Fix fmt
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2022-10-13 10:34:02 +00:00
Pavel Busko
cf301a758f
fix(helmExecute): explicitly set buildDescriptorFile if the chartPath is configured ( #4063 )
...
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
2022-10-13 11:11:00 +02:00
Daniel Mieg
37a3504152
Adapt default ( #4066 )
2022-10-12 13:46:19 +02:00
Daniel Mieg
ebac0da332
Add create tag to abapEnvironmentPipeline ( #3870 )
...
* Add alias
* Add step and defaults
* Add closing }
* Add test
* Remove alias
* initial copy
* Change step activation
* Change test
* Read foreign config
* Fix Syntax
* Test
* Test
* Only consider stage config
* Test config
* Test
* Test
* Change echo
* Fix
* Test
* Default test
* Uncomment
* Test different outputs
* Adapt Config
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2022-10-12 10:20:13 +02:00
Linda Siebert
4e0b4824f0
cloudFoundryDeploy- support manifest.yml as true default ( #4050 )
...
* Add new default
* Revert "Add new default"
This reverts commit c9c3ae2e80
.
* Change config to have default
* Revert "Change config to have default"
This reverts commit e65517457f
.
* Add method
* Add space to match
* Add cf native test
2022-10-11 14:12:35 +02:00
tiloKo
6bf6e0b3ea
rename actual to current ( #4058 )
2022-10-11 10:52:24 +02:00
Umidjon Urunov
e9707e7638
Added user API key authentication method ( #3748 )
...
* changes to detectExec before master merge
* changes for detectExecuteScan
* self generated code added
* fix syntax errors and update docu
* added unit tests for fail and Group
* fix failOn bug
* add Groups as string array
* add Groups as string array
* tests and validation for groups, failOn
* Updated docs and added more tests
* documentation md files should not be changed
* Handle merge conflicts from PR 1845
* fix merge errors
* remove duplicate groups, merge error
* adding buildCode and buildTool as params
* switching build options
* building maven modules
* parameter correction
* parameter correction
* gnerate with new build parameter
* adding comments
* removing piper lib master and modifying goUtils to download 1.5.7 release
* first cleaning then installing
* multi module maven built
* multi module maven built removing unwanted code
* multi module maven built moving inside switch
* testing
* modifying the default use case to also call maven build
* modifying the default use case to also call maven build wih --
* corrected maven build command
* corrected maven build command with %v
* skipping test runs
* testing for MTA project with single pom
* adding absolute path to m2 path
* clean up
* adding switch for mta and maven and removing env from containers
* commiting changes for new detect step
* correting log message
* code clean up
* unit tests changes to detectExecute
* basic tests for new change
* restoring piperGoUtils to download correct piper binary
* code clean up
* code clean up
* protecodeExecuteScan -> Added authentication with user API key
* protecodeExecuteScan -> updating .yml file
* protecodeExecuteScan -> go generate fixed
* protecodeExecuteScan -> naming convention applied for UserAPIKey parameter
* protecodeExecuteScan -> extending groovy code for mapping jenkins credentials
Co-authored-by: D072410 <giridhar.shenoy@sap.com>
Co-authored-by: Keshav <anil.keshav@sap.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2022-10-10 10:55:21 +02:00
Sven Merk
e8ba1b043d
Fix(detectExecuteScan): rework struct methods to meet interface requirements ( #4048 )
...
* Fixed struct methods to meet interface requirements
* Fix test and ruleID
* Small adjustments
* Readability of code
* Added testcases
* Code rework
* Fix fmt
* Mod
* Fix taxonomy
* Fix ruleIndex
* Fix taxonomies
* Fix format
* Remove name
* Fix Fortify and Checkmarx SARIF
* Fix fmt, address comments
* Addressing comments
* Fix fmt
2022-10-10 10:06:20 +02:00
Marc Bormeth
db5351f4d3
Build and release Piper binary for Apple Silicon as well ( #4016 )
2022-10-05 15:31:47 +04:00
Jordi van Liempt
8035a8c38e
docs(development): Add info about release process ( #4005 )
...
* docs(development): Add info about release process
* fix linting issue
* Update DEVELOPMENT.md
* fix lint error
Co-authored-by: I557621 <jordi.van.liempt@sap.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2022-09-27 12:51:57 +02:00
Christopher Fenner
07eeb2f33e
feat: update node image for various steps to new LTS ( #3913 )
...
* update node image for steps
* update defaults
* update generated sources
* update tests
Co-authored-by: Vyacheslav Starostin <vyacheslav.starostin@sap.com>
2022-09-26 18:40:55 +06:00
Giridhar Shenoy
d31c0584ff
detectExecuteScan : Add minScanInterval parameter through Piper ( #4006 )
...
* add minscaninterval parameter
* update detectExec
* removed a single trailing space which caused a lint failure
* Add test case
* Ensure unmap is false
* fix test case
* update format of param value
2022-09-26 14:08:12 +02:00
Peter Persiel
bfca6eb020
Reuse software component before leading software component ( #4046 )
2022-09-26 12:37:39 +02:00
Vyacheslav Starostin
6cadb15a11
kubernetesDeploy: add additional unstashing ( #4017 )
...
Co-authored-by: Alexey Matvievsky <72048991+matvievsky@users.noreply.github.com>
2022-09-23 17:46:05 +06:00
Jan von Löwenstein
2843d6ae75
Remove leftover Printf ( #4002 )
...
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
2022-09-23 10:01:12 +02:00
Alexey Matvievsky
2dfca180a7
(feat) Golang integration tests dynamic workflow
...
* Dynamic version detection of Golang
* Dynamic Golang integration tests run matrix
* Golang timeout to build set at 5 min
* Golang integration test timeout to run set at 10 min
* Consumer tests timeout set at 20 min
Co-authored-by: Alexey Matvievsky <alexey.matvievsky@sap.com>
2022-09-22 19:12:13 +02:00
Alexey Matvievsky
b28df9d9dd
it/integration-tests-event-fix@v4 ( #4040 )
...
* uses: styfle/cancel-workflow-action@0.10.0
* specify pull request repository directly
Co-authored-by: Alexey Matvievsky <alexey.matvievsky@sap.com>
2022-09-22 13:14:53 +03:00
Alexey Matvievsky
2ac8ead02c
Integration tests workflow quick fix 3 ( #4033 )
...
* Integration tests fix #2
* Now on event GHA job should look at the pull request branch
* fix
Co-authored-by: Alexey Matvievsky <alexey.matvievsky@sap.com>
2022-09-21 13:08:15 +06:00
Alexey Matvievsky
e61d358306
Integration tests workflow fix 2 ( #4032 )
2022-09-20 22:29:21 +06:00
Alexey Matvievsky
881d10354f
Integration tests workflow event triggering quick fix ( #4031 )
2022-09-20 12:23:31 +02:00
Alexey Matvievsky
a6a8f4b142
Integration tests workflow fix and execution time reduction ( #4026 )
...
Consumer tests moved to separate workflow
2022-09-20 10:24:04 +04:00
Alexey Matvievsky
e5f2f1414e
Improve integration tests ( #4019 )
...
Improve integration tests
2022-09-19 14:47:13 +04:00
Linda Siebert
3ba7a8dfa4
Adapt npmExecuteEndToEndTests ( #4008 )
...
* Adapt step
* Adapt comment
2022-09-16 17:30:19 +02:00
Srinikitha Kondreddy
25bfc61e95
Revert changes from PR #3982 ( #4015 )
2022-09-16 13:12:29 +02:00
Srinikitha Kondreddy
4da4ced95e
Add new param for npmExecuteEndToEndTests step ( #4012 )
...
* Set default docker image for npmExecuteEndToEndTests
* Adapt docker image param
* Update npmExecuteEndToEndTests.groovy
* Update npmExecuteEndToEndTests.groovy
* Update npmExecuteScripts.groovy
* Update npmExecuteEndToEndTests.groovy
* Update npmExecuteEndToEndTests.groovy
* Clean up
* Remove default image
2022-09-15 19:32:09 +02:00
Mayur Belur Mohan
32152be940
API Changes For Integration Artifact Deploy Command ( #3992 )
...
* API Changes For Integration Artifact Deploy Command
* CodeReview Fixes
* Change wording
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com>
2022-09-15 11:01:36 +02:00
Srinikitha Kondreddy
3432637320
Add npmExecuteScripts to Acceptance stage ( #3982 )
...
* Enable npmExecuteScripts in Acceptance stage
* Add test case
2022-09-12 17:51:44 +02:00
Vyacheslav Starostin
eba9890e62
helmExecute: change permissions for downloaded dependency ( #3991 )
...
* Change permissions for downloaded dependency
* Add check if charts exists
2022-09-07 02:28:07 +06:00
Srinikitha Kondreddy
ac9bd28c42
[E2E Tests step] Allow Conditional check with on_k8s env variable ( #3985 )
...
* Conditional check with on_k8s env variable
* Add ON_K8S unit test
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
2022-09-06 11:23:12 +02:00
Srinikitha Kondreddy
e610bda779
Set script 'ci-e2e' as default for acceptance stage ( #4000 )
...
* Set script 'ci-e2e' as default for acceptance stage
* Refactor test case
* Clean up
* Adjust parameter comment
2022-09-05 09:38:45 +00:00
Ashly Mathew
c7342cfb0e
fix(general purpose pipeline): enable checkIfStepActive to handle use case with no .pipeline/config.yaml ( #3993 )
...
* Fix for making config.yaml not mandatory in checkifstepactive
* Create customConfig.yaml
* Revert resource
* Remove nil for customConfig
* Fix tests
2022-09-05 10:20:32 +02:00
Vyacheslav Starostin
72e257e83e
helmExecute: rename remoteHelmChartPath to helmChartUrl ( #3999 )
2022-09-02 15:55:30 +06:00
Anil Keshav
6b5bf5232a
fix(ssh auth) downgrade x/crypto to allow ssh auth with all git instances ( #3998 )
...
* fixing ssh by downgrading x/crypto
* comments on the why downgrade is needed
* comment update
Co-authored-by: anilkeshav27 <you@example.com>
2022-09-02 10:59:13 +02:00
Christopher Fenner
0554f3cdb8
chore(protecode): reduct polling interval during tests ( #3995 )
...
* cleanup imports
* reduce wait time during tests
* cleanup imports
* cleanup imports
2022-09-02 10:07:04 +02:00
raman-susla-epam
bf57938520
fix(getConfig): add error handling for config JSON marshalling
...
Co-authored-by: Ashly Mathew <ashly.mathew@sap.com>
Co-authored-by: Jordi van Liempt <35920075+jliempt@users.noreply.github.com>
2022-09-01 11:33:28 +02:00
tiloKo
0ef399cd1c
Reserve package log output ( #3981 )
...
* beautify log output
2022-09-01 08:53:41 +02:00
Daniel Bernd
721994fac5
Feature ATC Run Step - fail on severity ( #3986 )
...
* new Parameter - for ATC step "Fail on Severity"
* .yml - add description
* fail on Severity & Unit Test
* Update abapEnvironmentRunATCCheck_test.go
Unit Test correction
* Fail Message
* Fail Step - at last (after persisting files)
* Parameter description change
* yaml trailing spaces removal
* correct Parameter typo and description adjust
* Unit Test correct
* Update cmd/abapEnvironmentRunATCCheck.go
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
* Update abapEnvironmentRunATCCheck.go
* Update abapEnvironmentRunATCCheck_test.go
typo
Co-authored-by: Daniel Bernd <93763187+danManSAP@users.noreply.github.com>
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
Co-authored-by: Daniel Mieg <56156797+DanielMieg@users.noreply.github.com>
2022-08-31 16:57:20 +02:00