Commit Graph
100 Commits
Author SHA1 Message Date
Christopher Fenner f7d9349923 chore(renovate): Add ignorePaths for test data (#5586) 2025-12-12 12:29:39 +01:00
Christopher Fenner dcd07eb4fc chore(renovate): Add ignorePaths for integration test data (#5584) 2025-12-12 10:35:02 +01:00
Christopher Fenner ceb05835af chore(ci): Enhance CI workflow with SonarQube analysis (#5563) 2025-12-03 14:45:41 +01:00
Christopher Fennerandmaxcask c80efa56ec chore(telemetry): report version (#5564)
Co-authored-by: maxcask <bondarcask@gmail.com>
2025-12-03 13:30:36 +01:00
Christopher Fenner 784c148986 chore(telemetry): report stage template name (#5553) 2025-11-13 14:29:10 +01:00
Christopher Fenner 15eb019d29 chore(docs): fix typo in pythonBuild docs (#5551) 2025-11-11 14:44:02 +01:00
Christopher Fenner 7674ab6213 fix(docs): Update docs for Python build step (#5530) 2025-11-05 13:26:28 +01:00
Christopher FennerandPetko Dimitrov c143c3bb65 feat(python): support toml file in versioning step (#5492)
Co-authored-by: Petko Dimitrov <petko.dimitrov@sap.com>
2025-11-04 16:40:04 +02:00
Christopher FennerandPetko Dimitrov ffb9c658bb feat(python): handle python build for pyproject.toml based projects (#5463)
Co-authored-by: Petko Dimitrov <petko.dimitrov@sap.com>
2025-11-04 15:51:09 +02:00
Christopher Fenner 72522576a0 fix(deps): update python to v3.11 for pythonBuild (#5472) 2025-11-04 09:35:42 +01:00
Christopher Fenner 6740963b68 refactor(python): create python package (#5482) 2025-09-23 09:59:21 +02:00
Christopher Fenner de63042799 fix(python): correct parameter typo (#5485) 2025-09-23 09:22:39 +02:00
Christopher Fenner b042ba490e chore(renovate): add rule to update python Docker image (#5474) 2025-09-12 09:37:24 +02:00
Christopher Fenner db7e796296 fix(deps):update python to v3.10 for pythonBuild (#5468) 2025-09-05 12:19:10 +02:00
Christopher Fenner 750481ddbe fix(docs): fix typo in link anchor (#5369) 2025-06-04 10:20:05 +02:00
Christopher Fenner 7334dd1e02 fix(mta build): typo in vault lookup path for mtaDeploymentRepositoryPassword (#5345) 2025-05-19 09:16:42 +02:00
Christopher Fenner a569637623 fix(maven build): typo in vault lookup path for altDeploymentRepositoryPassword (#5344) 2025-05-19 09:16:23 +02:00
Christopher Fenner eed6aa1836 chore: fix typo in mavenBuild docs (#5352) 2025-05-16 16:35:36 +02:00
Christopher Fenner 892543de53 fix(golang): handle errors with simple module names (#5339) 2025-04-30 13:58:06 +03:00
Christopher Fenner b57264f3cc chore(sonar): drop code ownership for sonar (#5315) 2025-04-08 10:30:25 +02:00
Christopher Fenner 7250494c09 fix(docs): update Gauge url (#5313) 2025-04-04 16:17:06 +02:00
Christopher Fenner 2ca110adfc feat(telemetry): report binary version (#5303) 2025-03-26 15:16:24 +01:00
Christopher Fenner b5e18ffdff fix: remove invalid secret references (#5292) 2025-03-07 12:50:28 +01:00
Christopher Fenner 2f4387c65f fix: invalid anchors (#5293) 2025-03-06 23:00:01 +01:00
Christopher Fenner 06ac96e22b fix(docs): invalid links (#5291) 2025-03-06 16:45:52 +01:00
Christopher Fenner 7d26079c57 fix(docs): invalid anchor (#5290)
* fix anchor

* update generated files

* fix anchor

* update generated files
2025-03-06 16:30:53 +01:00
Christopher Fenner 899478d27c Update npmExecuteTests.md (#5265) 2025-02-12 17:33:23 +01:00
Christopher Fenner cf368e6894 chore(Splunk): expose orchestrator to Splunk (#5243)
* expose orchestrator to splunk

* update test case

* fix format
2025-01-21 09:34:29 +01:00
Christopher Fenner 57e4f1130a fix(docs): correct anchor (#5191)
* Update cnbBuild.yaml

* Update cnbBuild_generated.go
2024-12-02 09:06:17 +01:00
Christopher Fenner e462d324e4 fix(docs): fix doc anchor (#5177)
* Update fortifyExecuteScan.yaml

* Update whitesourceExecuteScan.yaml

* Update protecodeExecuteScan.yaml

* Update sonarExecuteScan.yaml

* Update detectExecuteScan.yaml

* Update fortifyExecuteScan_generated.go
2024-11-27 08:16:27 +01:00
Christopher Fenner a242bca1ae fix(docs): remove dead links (#5051)
* fix(docs): remove dead links

* Update parameters_test.go
2024-09-20 14:21:33 +02:00
Christopher Fenner 0ca2f72699 chore(mockery): add mockery configuration (#4941)
* update mockery config

* update mockery config

* rename mockery config

* update existing mocks

* update mockery config

* update mockery config

* move cmd mocks to cmd pkg

* add hadolint mocks to config

* use moved files

* remove comment
2024-06-04 13:40:35 +02:00
0f83941765 feat(events): add step to emit events to GCP (#4901)
* feat(gcp): add step to send events to GCP (#4896)

* add gcp token handling

* add initial step

* publish events

* add test cases

* fix test case

---------

Co-authored-by: Jordi van Liempt <35920075+jliempt@users.noreply.github.com>

* feat(gcp): Generate and validate the GCP OIDC token (#4899)

* test setup for generation of jwt token

* oidc token generator

* push new step files

* formatted code

* removed toolchain and jose

* removed toolchain:go 1.22.2

---------

Co-authored-by: jliempt <>
Co-authored-by: D071696 <sachin.baral.ramesh@sap.com>
Co-authored-by: d071696 <153099976+d071696@users.noreply.github.com>

* feat(events): add pipeline start and end event (#4900)

* add gcp token handling

* add initial step

* publish events

* add test cases

* fix test case

* move files

* add possible values

* handle start and end event

* add sap events

* dependencies

---------

Co-authored-by: Jordi van Liempt <35920075+jliempt@users.noreply.github.com>

* log successful event publish

* remove dummy step

* prevent step from failing

* improve event creation

* improve event creation

* simplify eventing

* remove detailed events

* update parameter scope

* update go.sum

* fix test case

* add missing method

* refactor OIDC part

* add oidc.go to vault pkg

* mock OIDC token retrieval

* mock GCP functions

* update OIDC function name in Vault mocks

* get event data from CPE

* don't encode data payload in b64

* remove vault related changes

* remove vault changes from step code

* remove commented out code

* documentation/steps/gcpPublishEvent.md

* documentation/steps/gcpPublishEvent.md

* remove hardcoded eventData

* update roleID

* go generate

* add ordering key for pubsub event

---------

Co-authored-by: Jordi van Liempt <35920075+jliempt@users.noreply.github.com>
Co-authored-by: D071696 <sachin.baral.ramesh@sap.com>
Co-authored-by: d071696 <153099976+d071696@users.noreply.github.com>
Co-authored-by: jliempt <>
2024-05-06 09:28:28 +02:00
Christopher Fenner 70b860f47f feat: remove SAP web analytics reporting (#4773)
* improve vault logging

* remove swa calls

* Revert "improve vault logging"

This reverts commit 8335bbf365.
2024-01-15 13:17:53 +01:00
Christopher Fenner 20e1fb53aa chore(vault): structure vault logs (#4627)
* structure vault logs

* Update client.go
2023-10-11 10:14:31 +02:00
Christopher Fenner e38ee67748 fix(docs): add Karma deprecation notice (#4567) 2023-09-18 09:45:07 +02:00
Christopher Fenner 8507ca2c17 feat(logging): print out commit sha of code used to build the binary (#4541)
* feat(logging): print out commit sha of code used to build the binary

* Update piper.go
2023-08-30 17:28:03 +02:00
Christopher Fenner 0c1a52acd8 fix(malwareExecuteScan): add missing error handling (#4536) 2023-08-28 15:06:35 +02:00
Christopher FennerandAnil Keshav 2be4461cde Update vault.go (#4464)
Co-authored-by: Anil Keshav <anil.keshav@sap.com>
2023-07-14 09:50:20 +02:00
Christopher Fenner 9c23cb3820 Update verify-go.yml (#4425) 2023-06-27 17:29:59 +02:00
Christopher Fenner 56c12a6f5f feat(karma): add verbose logging for karma (#4340)
* feat(karma): add verbose logging for karma

* Update karmaExecuteTests_test.go

* Update karmaExecuteTests.go

* Update karmaExecuteTests.go

* fmt

* correct test case
2023-05-04 09:38:23 +02:00
Christopher Fenner 99603cdee9 chore(tests): correct test assertions (#4276) 2023-04-11 23:15:00 +02:00
Christopher Fenner bee1ffe4f1 feat(golangBuild): create test report json file (#4306)
* feat(golangBuild): create test report json file

* Update golangBuild_test.go

* Update golangBuild_test.go

* Update integration_golang_test.go

* Update integration_golang_test.go

* Update golangBuild.go

* rename test files

* rename
2023-04-05 15:07:54 +02:00
Christopher Fenner 31ee45ad30 fix(sonar): archive result file via handleStepResults (#4227)
* Update sonarExecuteScan.groovy

* Update sonarExecuteScan.go
2023-02-22 12:28:17 +01:00
Christopher FennerandVyacheslav Starostin 278c5a7125 fix(sonar): update integration test (#4241)
* Update integration_sonar_test.go

* Disable TestNexusIntegration

---------

Co-authored-by: Vyacheslav Starostin <32613074+vstarostin@users.noreply.github.com>
2023-02-22 15:19:56 +06:00
Christopher Fenner 0fa1e09464 chore(pipeline): update go-version for linting action (#4213)
* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml
2023-02-03 12:35:57 +01:00
Christopher Fenner 0626c7d861 feat(sonar): add parameter to wait for Quality Gate (#4047) 2023-01-27 16:14:34 +01:00
Christopher FennerandOliver Nocon 083c7edbfe chore(codeowners): change default code owners
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2022-12-27 10:02:22 +01:00
Christopher FennerandVyacheslav Starostin 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
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
Christopher Fenner d883a729b0 docs(sonar): update dead link (#3795) 2022-05-23 11:40:55 +02:00
Christopher Fenner d326a44b92 chore(release): publish all binaries with one piper step (#3720)
This reverts commit 5ff656a208.
2022-04-08 14:46:03 +02:00
Christopher Fenner 5ff656a208 chore(release): reverts #3703 (#3719)
This reverts commit 30e06b8311.
2022-04-08 13:52:18 +02:00
Christopher Fenner 30e06b8311 chore(release): publish all binaries with one piper step (#3703) 2022-04-08 13:27:46 +02:00
Christopher Fenner 465bab8ddf feat(githubRelease): publish multiple assets (#3702)
* add parameter for uploading multiple assets

* use assetPathList parameter

* add test case

* fix typo

* fix test case

* generage ghClient mock

* add test files

* make function testable

* add test case

* regenerate mock

* regenerate mocks
2022-04-08 11:29:07 +02:00
Christopher Fenner eea443e138 fix copy&paste issue (#3698) 2022-04-04 12:55:47 +02:00
Christopher FennerandJordi van Liempt ebcbb73b46 feat: add command to fetch default files (#3445)
* some ideas..

* Add getDefaults command (WIP) (#3444)

* add getYAML function for configs

* create getDefaults command(based on getConfig)

* add getDefaults command to CLI

* read defaults files, using github tokens as well

* write defaults to stdout as JSON object with YAMLs embedded

* catch case where no input files are given

* actually write output to file if outputFile is specified

* mark defaultsFile flag as required

* add basic tests

* add output (string)  test

* adapt generateDefaults() to return output (used for test of previous commit)

* Changes to getDefaults() JSON output (#3449)

* change JSON output to contain separate fields

* filename -> filepath

* Apply suggestions from code review

* Apply suggestions from code review

* Update pkg/config/config_test.go

Co-authored-by: Jordi van Liempt <35920075+jliempt@users.noreply.github.com>
2022-01-24 13:55:28 +01:00
Christopher Fenner 8e0209db74 feat(GitHub): fetch commit statistics (#3381)
* fetch GH statistics

* move GH and Sonar integration tests to own files

* fix imports

* add integration test case

* add result type

* Apply suggestions from code review
2022-01-24 13:43:07 +01:00
Christopher Fenner 51feacadbf chore: align Vault naming (#3372)
* Align Vault naming

* remove duplicate debug  output

* correct message

* align vault naming

* Update vault.md
2021-12-21 11:52:10 +01:00
Christopher FennerandOliver Nocon 9180f54f86 feat(sonar): reuse existing TLS truststore (#3312)
* do not load sap certificates with groovy

* add toggle

* add keytool package

* copy existing default truststore

* ignore import failure

* fix typo

* rename

* extract maven opts

* add todo

* add tests

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-12-16 12:49:15 +01:00
Christopher Fenner b7e1d28675 fix: prevent endless loop in exit handler (#3363)
* do not fatal in exit handler

* update generated sources

* update golden sources

* update generated sources
2021-12-15 14:26:23 +01:00
Christopher Fenner 279ad5800c fix(sonar): correct VaultSecretName (#3358)
* fix(sonar): correct VaultSecretName

* update generated sources
2021-12-14 18:28:20 +01:00
Christopher FennerandOliver Nocon 6f06ce0f56 feat(hadolint): allow config secret from vault (#3353)
* allow config secret from vault

* add credential alias

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-12-14 13:42:06 +01:00
Christopher Fenner 38e4e0a133 fix(hadolint): change docker image (#3351)
* use hadolint alpine image

* update generated files
2021-12-13 14:21:09 +01:00
Christopher Fennerandffeldmann d0762f5db9 fix: use correct metadata resolver (#3342)
* fix something

* add default metadata resolver

Co-authored-by: ffeldmann <f.feldmann@sap.com>
2021-12-07 15:54:59 +01:00
Christopher Fenner b9eb48c149 fix: add kaniko env var for container detection (#3157)
* add kaniko env var

* Rename kaniko.yaml to kanikoExecute.yaml

* update generated files
2021-12-07 08:38:53 +01:00
Christopher Fenner 950f4287c2 fix: correct env var name for git branch for Jenkins orchestrator implementation (#3311)
* fix: correct env var name for git branch for Jenkins orchestrator implementation

* fix test case
2021-11-26 12:08:22 +01:00
Christopher Fenner 835be3c333 feat(sonar): use go-based certificate loading (#3307)
* do not load sap certificates with groovy

* add toggle
2021-11-25 07:42:54 +01:00
Christopher Fenner ba30ee6def ci: name release steps (#3304) 2021-11-23 07:39:30 +01:00
Christopher FennerandLinda Siebert ca50cc895e chore: add note about DCO (#2985)
* Update CONTRIBUTING.md

* Apply suggestions from code review

Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com>

Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com>
2021-10-11 13:54:43 +02:00
Christopher Fenner f585e932ef docs: remove hadolint docs in Groovy (#3164)
* allow buildTool yarn

* remove groovy docs for hadolint

* remove unused import
2021-10-11 10:08:20 +02:00
Christopher FennerandOliver Nocon 59cf4d1096 fix: allow buildTool yarn for versioning (#3160)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-10-11 08:51:17 +02:00
Christopher FennerandOliver Nocon 4525c1daa4 fix: use orchestrator specific stage name (#3127)
* extend orchestator to provide stage name

* use orchestrator specific stage name

* fix test case

* remove comment

* fix test case

* prettify

* change something..

* do not exit

* Update pkg/orchestrator/azureDevOps.go

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-09-29 08:31:45 +02:00
Christopher Fenner f78777f784 feat(npm): allow to publish artifact to registry (#2871)
* add new paraeters

* update generated sources

* run npm publish

* add repositoryUrl parameter

* handle registry credentials

* rename parameter

* handle base64encoding

* remove vault reference

* make username secret

* add publish method

* use publish method

* use dedicated registry

* use dry run

* fix

* prepend path

* fix workdir

* move code to npm package

* do changes

* update dependencies

* correct property init

* remomve dry-run

* regenerate

* add mock

* add logging

* add debug log

* dry-run

* remove try run

* remove append

* add debug outut

* change

* add debug output

* changes

* cleanup

* use different auth property

* add credential utils

* add debug log outputs

* remove auth handling & reuse writeFile

* rename

* fix debug output

* remove comments

* update comment

* rename function

* update docs

* update generated files

* handle npm ignore

* remove commented code

* add debug output
2021-07-15 14:46:04 +02:00
367ca6211a refactor(protecode): simplify protecode calls (#2838)
* simplify protecode calls

* add todos

* reomve todo

* restore go.sum

* Update cmd/protecodeExecuteScan.go

Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>

* Apply suggestions from code review

* remove productID

Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
2021-06-15 22:29:24 +02:00
Christopher Fenner 8c5a7f5db5 feat(docs): add possibleValues for artifactPrepareVersion (#2865)
* correct docs

* update generated sources
2021-06-04 12:20:24 +02:00
Christopher Fenner 824cd7d768 fix(jenkins): fix job invocation (#2868)
* update mock

* update signarture

* add test case

* use latest gojenkins

* add integration test

* update mock

* add todo

* add job wrapper

* add job mock

* add test cases

* refactor

* cleanup

* update integration test case
2021-06-02 16:45:22 +02:00
Christopher Fenner e24b38da24 fix(jenkins): correct interface (#2862)
* update mock

* update signarture

* add test case
2021-05-31 08:54:04 +02:00
Christopher Fenner 62836a64e7 feat(http): expose standard client (#2860)
* expose standard client

* reset go.summ
2021-05-28 12:13:19 +02:00
Christopher Fenner 40c32598a4 feat(jenkins): update jenkins go dependency (#2848)
* update dependency

* use context

* regenerate mock

* decapitalize error messages

* use getBuildFromQueueID

* add comments about mockery

* update mocks

* update tests

* add context parameter

* pull up context

* update mocks

* update tests
2021-05-28 11:12:42 +02:00
Christopher Fenner 19b9efc4ee chore(license): update LICENSE text (#2855) 2021-05-26 09:58:12 +02:00
Christopher Fenner 3a14a91ae5 refactor(versioning): simplify versioning model method (#2825)
* rename artifactVersion to version

* simplify versioningModel
2021-05-14 09:35:31 +02:00
Christopher FennerandOliver Nocon 98fac0a455 chore(deprecation): change format of deprecation notice from config command (#2822)
* Update config.go

* Update config.go

* add library name

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-05-10 19:18:16 +02:00
Christopher FennerandOliver Nocon 1cbc40f3d0 claim code ownership for Sonar (#2812)
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-05-06 11:39:07 +02:00
Christopher FennerandSven Merk aaa1869ec0 feat(protecode): rename artifactVersion to version (#2813)
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com>
2021-05-05 19:52:13 +02:00
Christopher Fenner 804e66d4cd feat(detect): add customScanVersion to detect scan (#2790)
* add versioningModel parameter

* extract versioning model to own package

* move log message

* use versioning method

* add customScanVersion parameter

* use customScanVersion

* adjust docs on other steps

* add customScanVersion parameter

* use customScanVersion

* adjust docs on other steps

* change log message

* update test case

* fix typo

* correct variable name
2021-05-05 10:24:05 +02:00
Christopher Fenner 2426486e7b feat(sonar): add versioningModel and customScanVersion to sonar scan (#2787)
* add versioningModel parameter

* extract versioning model to own package

* move log message

* use versioning method

* add customScanVersion parameter

* use customScanVersion

* adjust docs on other steps

* update test case
2021-05-05 09:02:19 +02:00
Christopher Fenner 4603bf3c0e refactor(protecode): rename parameter reuseExisting (#2809)
* rename parameter

* update code

* correct tests
2021-05-04 15:03:43 +02:00
Christopher Fenner a91f1f7597 docs(vault): add note about vault auth env vars (#2795)
* Update vault.md

* fix code climate findings
2021-05-03 08:50:06 +02:00
Christopher Fenner e11de9dbeb chore(ci): add yamllint action (#2774)
* chore(ci): add yamllint action

* Create .yamllint.yml

* Update verify-yaml.yml

* Update verify-yaml.yml

* Update verify-yaml.yml

* Update verify-yaml.yml

* Update verify-yaml.yml

* correct yaml format

* correct yamllint findings

* disable truthy rule

* add pattern for workflows yamls

* fix c&p issue
2021-04-22 12:55:35 +02:00
Christopher Fenner 5b4b5518c8 fix(karma): provide env parameters for port and host name (#2763)
* add env vars for piper-karma-config

* update generated code
2021-04-16 15:18:34 +02:00
Christopher Fenner b531c2a017 docs(whitesource): correct description (#2762)
* Correct description

* update generated code
2021-04-15 19:15:59 +02:00
Christopher Fenner 0fcbfa8da7 feat(sonar): create report for issue count (#2691)
* create json report

* archive report

* add test case

* generate report

* correct report name
2021-03-12 15:05:07 +01:00
Christopher Fenner f9c0092f2e chore(voter): show changes caused by git diff (#2633) 2021-03-12 10:12:40 +01:00
Christopher Fenner 4cabbca26e docs(protecode): add description how to use fetch url for docker image (#2665)
* Update protecode.yaml

* update generated files

* update files

* fix typo
2021-03-12 09:58:21 +01:00
Christopher Fenner be68270cb4 fix(piperExecuteBin): move CPE.readFromDisk to own finally block (#1885)
* Update piperExecuteBin.groovy

fixes #1881

* Update piperExecuteBin.groovy
2021-03-12 09:42:19 +01:00
Christopher FennerandOliver Nocon f999925788 fix(influx): correct data type of influx measurements (#2171)
* update data type of influx measurements

* Update checkmarx.yaml

* pick changes from #1885 for testing

* update generated code

* update to new datatype

* adjust to type changes

* change back to string type

* Update fortifyExecuteScan.go

* add typo to be backward compatible

* change type to int for files_scanned and lines_of_code_scanned

* add typo

* add measurements to whitesource

* update generated sources

* adjust test cases

Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-03-10 16:00:53 +01:00
Christopher Fenner abc711299d fix(sonar): disable measurements if no credentials are provided (#2653)
* disable if no credentials are provided

* exit early
2021-02-25 12:06:12 +01:00
Christopher Fenner 3875de8134 fix(sonar): use token provided by sonar-scanner-jenkins plugin (#2649) 2021-02-24 20:14:41 +01:00
Christopher Fenner 80515f3cfb fix(sonar): remove warnings handling (#2650) 2021-02-24 19:21:40 +01:00