Oliver Nocon
ef25e31acb
fix(vault): properly consider vault parameters & flags ( #5118 )
2024-10-04 09:33:53 +02:00
Oliver Nocon and Jk1484
22ff5717b3
fix(vault): consider vault flags ( #4486 )
...
* fix(vault): consider vault flags
* fix problem introduced with merge conflict resolution
---------
Co-authored-by: Jk1484 <35270240+Jk1484@users.noreply.github.com >
2024-06-03 12:45:07 +05:00
Oliver Nocon and tiloKo
7d9fc6aee4
fix(versioning): ensure that version is not empty ( #4173 )
...
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com >
2024-04-29 08:19:52 +02:00
Oliver Nocon and Anil Keshav
69a01b935a
fix(npm): don't consider dev dependencies for sbom ( #4690 )
...
* fix(npm): don't consider dev dependencies for sbom
* chore: update test
* fiy typo
---------
Co-authored-by: Anil Keshav <anil.keshav@sap.com >
2024-02-28 16:05:13 +01:00
Oliver Nocon and Anil Keshav
cd2fb914fa
feat: allow linting failures ( #4355 )
...
Co-authored-by: Anil Keshav <anil.keshav@sap.com >
2024-01-25 11:44:24 +01:00
Oliver Nocon and Anil Keshav
6587808062
fix(npm): don't publish sboms in npm package ( #4692 )
...
Co-authored-by: Anil Keshav <anil.keshav@sap.com >
2023-12-13 23:06:59 +05:30
Oliver Nocon
7c4262b0c6
chore (containerExecuteStructureTests): switch default container ( #4288 )
2023-03-21 08:06:22 +01:00
Oliver Nocon
25216b3ef8
chore: update formatting ( #4111 )
2022-11-08 08:47:38 +01:00
Oliver Nocon and Sven Merk
a2815c4567
fix(whitesourceExecuteScan): properly handle policy violations ( #4089 )
...
* fix(whitesourceExecuteScan): properly handle policy violations
* update files
* update formatting
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2022-11-07 11:16:07 +01:00
Oliver Nocon
761dc75e82
Update build-adr.yml ( #4101 )
2022-11-03 08:50:41 +01:00
Oliver Nocon
e44aaf86e4
chore: prepare setup for future ADRs ( #4054 )
...
* chore: prepare setup for future ADRs
* Update build-adr.yml
2022-11-02 14:30:34 +01:00
Oliver Nocon and Sven Merk
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
Oliver Nocon
85b277c7c6
fix: register base64 encoded secret ( #3973 )
...
fixes #3908
2022-08-16 17:52:20 +02:00
Oliver Nocon and Sven Merk
74cc828221
chore!: improve performance on Kubernetes ( #3932 )
...
* chore: test stashBack excludes
* improve logging
* chore!: improve performance on Kubernetes
* update stash pattern
* update test
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2022-08-15 12:55:51 +02:00
Oliver Nocon and Sven Merk
05319abfa3
fix(kanikoExecute): enforce image name for multi image build ( #3909 )
...
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2022-08-15 09:05:20 +02:00
Oliver Nocon and Sven Merk
1e2f2d93e3
feat: add commit and pipeline to GitHub reporting ( #3930 )
...
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2022-08-15 07:48:22 +02:00
Oliver Nocon
924ff6552f
fix(abapAddonAssemblyKitCheckPV): report generation ( #3949 )
2022-08-09 18:02:57 +02:00
Oliver Nocon
a46f796bcd
chore: cleanup reporting & some incorrect file usage in tests ( #3943 )
...
* chore: cleanup reporting & some incorrect file usage in tests
* cleanup interface
* chore: remove comment
* preserve error handling
* Rename FileUtils.go to fileUtils.go
* clean up formatting
* chore: address static check findings
* fix brittle test
* chore: cleanup formatting
2022-08-09 10:57:02 +02:00
Oliver Nocon
43bbea477c
fix(protecodeExecuteScan): correct regex pattern for replacing spaces ( #3941 )
2022-08-05 16:16:36 +02:00
Oliver Nocon and Anil Keshav
73f7d61743
fix: remove side-effects of #3875 ( #3928 )
...
with #3875 temp directory was created in current workspace.
This had negative side-effects: For example npm build packaged and published temporary files
Co-authored-by: Anil Keshav <anil.keshav@sap.com >
2022-08-04 09:20:59 +02:00
Oliver Nocon
d640d72dc6
feat: improve vulnerability reporting via GitHub issues ( #3924 )
...
* feat: improve vulnerability reporting via GitHub issues
* feat: update reports
* chore: add tls cert links
* only write log on error
* chore: update formatting
* chore: update handling of direct dependencies
* chore: fix linting issue
* chore: minor updates
2022-08-02 08:26:26 +02:00
Oliver Nocon
f6a6448631
chore: fix linting issues ( #3878 )
...
* chore: fix linting issues
* add more fixes
* correct formatting
* Delete depl.yaml
2022-07-21 09:04:21 +02:00
Oliver Nocon
890c437c3f
fix(whitesourceExecuteScan): failOnSevereVulnerabilities ( #3894 )
...
* fix(whitesourceExecuteScan): failOnSevereVulnerabilities
failOnSevereVulnerabilities has not been considered properly for security vulnerabilities.
* chore: remove comment
* chore: update formatting
2022-07-18 14:36:29 +02:00
Oliver Nocon and Anil Keshav
53f4ce96ae
feat(cpe): provide go templating functions ( #3872 )
...
* feat(cpe): provide go templating functions
* change type
* fix: type in test
* chore: add comment for exported function
* fix: ensure that custom returns string properly
* fix types and add tests
Co-authored-by: Anil Keshav <anil.keshav@sap.com >
2022-07-14 16:20:11 +02:00
Oliver Nocon and Sven Merk
b7c0831b7f
feat: allow OSVM scans to succeed with vulnerabilities ( #3889 )
...
For running open source vulnerability scans in de-coupled processes
it is helpful to allow that steps only create
compliance reports to inform users/teams
but not fail the pipeline.
This can now be achieved constitently with the flag:
`failOnSevereVulnerabilities`
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2022-07-12 11:43:24 +02:00
Oliver Nocon and Daniel Mieg
dbc459d6ea
chore: cleanup linting issues in abap steps ( #3876 )
...
* chore: cleanup linting issues in abap steps
* update
* do not break on errors during testing
* Fix warning
Co-authored-by: Daniel Mieg <daniel.mieg@sap.com >
2022-07-06 14:29:04 +02:00
Oliver Nocon
ce161590ae
fix(golangBuild): publish binary with default name ( #3773 )
...
* fix(golangBuild): publish binary with default name
* chore: merge changes with latest state
* fix & enhance tests
2022-06-30 09:57:48 +02:00
Oliver Nocon
5da174aeb0
feat(kubernetesDeploy): add infrastructure extensibility ( #3853 )
...
* feat(kubernetesDeploy): add infrastructure extensibility
* update comment
* update error handling
* remove trailing spaces
* chore: refactor to use reuse capabilities
* chore: add tests
* fix: use proper download function
* fix: expose credentials via groovy step
* fix: test
* chore: remove comment
* chore: address CodeClimate findings
2022-06-29 12:00:37 +02:00
Oliver Nocon
0d29a00b9a
doc: using dedicated versions ( #3809 )
...
* Update introduction.md
* Update introduction.md
2022-06-14 16:41:38 +02:00
Oliver Nocon
6070549704
fix(helmExecute): respect version from Chart ( #3780 )
...
* fix(helmExecute): respect version from Chart
using version from CPE can create failure situations in case format is not semver.
This is the case for maven artifacts, for example.
* chore: simplify condition
* chore: cleanup
* chore: cleanup
2022-05-18 08:58:01 +02:00
Oliver Nocon
57347702d4
fix(versioning): correct propagated version ( #3778 )
2022-05-16 10:02:25 +02:00
Oliver Nocon
ebe4ca7611
doc(helmExecute): add step documentation ( #3759 )
...
* doc(helmExecute): add step documentation
* Update mkdocs.yml
* Update mkdocs.yml
2022-04-27 17:46:07 +02:00
Oliver Nocon
62b3a9a459
fix(versioning): properly consider go.mod ( #3687 )
...
* fix(versioning): properly consider go.mod
* fix test
2022-03-31 17:07:10 +02:00
Oliver Nocon and ffeldmann
23ea4111fb
Update release-go.yml ( #3689 )
...
Co-authored-by: ffeldmann <f.feldmann@sap.com >
2022-03-31 16:42:15 +02:00
Oliver Nocon
20c5f0a63b
fix(optimization) use proper cpe reference ( #3683 )
2022-03-31 10:52:54 +02:00
Oliver Nocon
276844e6a2
fix(optimization): expose parameters to general section ( #3680 )
2022-03-30 12:20:51 +02:00
Oliver Nocon
fed08c2399
fix(whitesourceExecuteScan): proper container options for golang ( #3660 )
2022-03-22 10:40:33 +01:00
Oliver Nocon and ffeldmann
eef6c028aa
feat(artifactPrepareVersion): context-sensitive versioningType ( #3579 )
...
* feat(artifactPrepareVersion): context-sensitive versioningType
Add functionality to switch to `versioningType: cloud_noTag` for
* PR voting
* scheduled and optimizes pipelines
* add missing file
* update tests
* update docs
* chore: update generation
* chore: fix tests
Co-authored-by: ffeldmann <f.feldmann@sap.com >
2022-03-22 08:31:59 +01:00
Oliver Nocon
a466b60aaf
feat(helmExecute): allow reading specific credentials from cpe ( #3647 )
2022-03-21 08:41:22 +01:00
Oliver Nocon
504f076613
feat: support cpe credentials for multiple repos ( #3641 )
2022-03-17 08:01:00 +01:00
Oliver Nocon
7ec512cb9f
feat(artifactPrepareVersion): helm & propagate version ( #3627 )
...
* feat(artifactPrepareVersion): helm & propagate version
* chore: small refactoring
* chore: fix linting issue
* fix version persistence
2022-03-15 09:08:24 +01:00
Oliver Nocon
1151fc4de0
chore: export config functions ( #3631 )
...
* chore: export config functions
* add docs
2022-03-14 12:33:52 +01:00
Oliver Nocon
2a56723d40
feat(kanikoExecute): Trim names for multi-image builds ( #3617 )
...
* feat(kanikoExecute): Trim names for multi-image builds
* chore: fix yaml linting issue
2022-03-11 09:47:44 +01:00
Oliver Nocon and ffeldmann
2c837927d4
chore(whitesourceExecuteScan): Gradle config changes ( #3621 )
...
* chore(whitesourceExecuteScan): Gradle config changes
supersedes #3293
closes #3293
* update config
Co-authored-by: ffeldmann <f.feldmann@sap.com >
2022-03-11 08:18:21 +01:00
Oliver Nocon
f9ad6dc048
fix(whitesourceExecuteScan): orgToken from Vault ( #3614 )
...
supersedes #3168
2022-03-08 08:59:12 +01:00
0998a80f07
chore: update to go 1.17 ( #3557 )
...
* chore: update to go 1.17
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com >
* update workflows
Co-authored-by: Pavel Busko <pavel.busko@sap.com >
* fixed multipart upload tests
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com >
* go fmt
Co-authored-by: Pavel Busko <pavel.busko@sap.com >
* Update to go 1.17
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com >
* Update vault to v1.9.3
Co-authored-by: Pavel Busko <pavel.busko@sap.com >
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com >
Co-authored-by: Pavel Busko <pavel.busko@sap.com >
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com >
Co-authored-by: ffeldmann <f.feldmann@sap.com >
2022-03-07 17:15:36 +01:00
Oliver Nocon
f711925bc1
chore(cloudFoundryDeploy): deprecate deep config structure ( #3486 )
...
* chore(cloudFoundryDeploy): deprecate deep config structure
* Update cloudFoundryDeploy.yaml
* update generation
2022-02-21 15:08:07 +01:00
Oliver Nocon and Christian Volk
6247c5dddd
feat(buildsettings): golang and future tools ( #3561 )
...
Co-authored-by: Christian Volk <christian.volk@sap.com >
2022-02-21 09:16:48 +01:00
Oliver Nocon
a4a0873081
feat(checkmarx): create GitHub issue with findings ( #3543 )
...
* feat(checkmarx): create GitHub issue with findings
* add github issue reporting
2022-02-17 15:16:55 +01:00
Oliver Nocon
0f26838f0a
fix(kanikoExecute): use repository root as context ( #3522 )
2022-02-09 12:36:43 +01:00
Oliver Nocon
2ae1d9dac1
feat(kanikoExecute): allow building multiple images ( #3443 )
...
* feat(kanikoExecute): allow building multiple images
* enhance tests
* chore: allow running tests in parallel
* small fixes
* fix: fix destination bug
* update formatting and defaults
* fix yml formatting
* chore: change cpe parameter names
* chore: improve variable naming
2022-02-07 07:58:41 +01:00
Oliver Nocon
42b9c2ce48
Revert "fix(golangBuild): keep track of the artifactversion in binary names ( #3498 )" ( #3499 )
...
This reverts commit ec783b0da6 .
2022-02-03 11:23:34 +01:00
Oliver Nocon
bad3331597
doc: fix rendering of stage overview ( #3371 )
2021-12-17 08:45:21 +01:00
Oliver Nocon
b1eeca54ff
fix(commonPipelineEnvironment): add missing gitHttpsUrl ( #3370 )
2021-12-15 17:34:45 +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 and Christopher Fenner
9a78fabc89
feat(golangBuild): add new step for building go ( #3178 )
...
* feat(golangBuild): add new step for building go
* chore(golangBuild): increase test coverage
* remove indirect dependencies
* cleanup go.sum
* chore: remove trailing spaces
* chore(golangBuild): cleanup params, add groovy wrapper
* fix: update docker options
* update docs
* update installation according to https://golang.org/doc/go-get-install-deprecation
* fix: update installation
* update groovy test exclusion
* Update vars/golangBuild.groovy
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
* update branch
* address PR feedback
* fix compilation error
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
2021-12-06 16:17:59 +01:00
Oliver Nocon
24d8584c3f
chore: update Vault dependency ( #3332 )
2021-12-06 12:54:42 +01:00
Oliver Nocon
a76b9d563d
feat(kubernetesDeploy): consume credentials from environment ( #3129 )
...
* feat(kubernetesDeploy): consume credentials from environment
* update vault
* update handling of docker config.json
* chore: remove comments
2021-12-02 12:18:21 +01:00
Oliver Nocon
533b77a0be
chore: remove outdated info from doc ( #3289 )
2021-11-18 08:11:56 +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
0a51561d2c
chore(kaniko): update to latest image ( #3280 )
...
* chore(kaniko): update to latest image
* update yaml
2021-11-17 07:49:14 +01:00
Oliver Nocon and Thorsten Duda
7be9b2b038
chore(mbt): update mbt image ( #3186 )
...
image `mbtci` has been deprecated and is no longer maintained.
As per: https://hub.docker.com/r/devxci/mbtci
Co-authored-by: Thorsten Duda <thorsten.duda@sap.com >
2021-11-15 14:04:16 +01:00
Oliver Nocon
f431054b6f
feat(WhiteSource): consume credentials from cpe ( #3206 )
...
* feat: func for Docker config.json
Provide re-use function to create/update Docker conifg.json
* add comment
* update WhiteSource step
* fixes and additional tests
2021-11-15 07:48:40 +01:00
Oliver Nocon
b4d314215e
chore(cloudFoundryDeploy): remove deprecated groovy-based part ( #3242 )
...
* chore(cloudFoundryDeploy): remove deprecated groovy-based part
* chore: update test due to different step logic
* chore: update documentation
* fix yaml issue
2021-11-09 07:44:31 +01:00
Oliver Nocon and Christopher Fenner
31cd2df1bd
chore(docker): add re-use functionality for config.json ( #3244 )
...
* feat: func for Docker config.json
Provide re-use function to create/update Docker conifg.json
* add comment
* update WhiteSource step
* fixes and additional tests
* Delete whitesourceExecuteScan.go
* revert whitersource changes
* chore: update formatting
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
2021-11-04 10:19:33 +01:00
Oliver Nocon
be81da225e
feat(getConfig): allow file output ( #3194 )
...
allow to target the output of a `getConfig` call to a file
2021-10-21 14:00:51 +02:00
Oliver Nocon
6eba3e9e4f
fix(vault): correct Vault references ( #3173 )
...
* fix(vaultRotateSecretId): correct Vault reference
* fix(vault): correct vault refernces
* update Vault secret name
* change name of parameter pointing to secret
2021-10-13 16:28:51 +02: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
Oliver Nocon
817901c2e3
fix(detectEcecuteScan) remove possible values for multi-value fields ( #3144 )
...
Looks like validation introduced with PR #3125 has issues with
validation of possible values for multi-value parameters.
This is a workaround to remove the list of possible values for some parameters
and prevent the issue from happening
2021-10-04 08:22:46 +02:00
c23088f7b3
Add GitHub Action to clean up stale issues and PRs ( #2034 )
...
* Add GitHub Action to clean up stale issues and PRs
* Update config.yml
* Update stale.yaml
* update messages
* Update stale.yaml
* update text and closing timeout
* Update stale.yaml
* Update stale.yaml
* Update stale.yaml
* Update .github/workflows/stale.yaml
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com >
* Update .github/workflows/stale.yaml
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com >
* Update .github/workflows/stale.yaml
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com >
* Update .github/workflows/stale.yaml
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com >
* fix string syntax
Co-authored-by: Linda Siebert <39100394+LindaSieb@users.noreply.github.com >
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com >
2021-10-01 14:45:23 +02:00
Oliver Nocon
37cea1b998
chore(docker): do not swallow error ( #3056 )
2021-08-17 15:52:18 +02:00
Oliver Nocon
5096b3bfe1
fix(checkIfStepActive): respect explicit (de-)activation ( #3055 )
2021-08-17 11:20:04 +02:00
Oliver Nocon
481f0a1282
fix(getConfig): custom metadata ( #3047 )
...
* fix(getConfig): custom metadata
when re-using getConfig it is now possible to provide a custom metadata resolver
* clean up coding
2021-08-12 14:54:46 +02:00
Oliver Nocon and Sven Merk
97b84429f1
feat(Vault): custom prefix for test credentials ( #3043 )
...
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-08-11 16:20:08 +02:00
Oliver Nocon
f308fbfc0d
feat(getConfig) allow reading stage configuration ( #3026 )
...
* feat(getConfig) allow reading stage configuration
* update test
* use fix version of Selenium Image for Karma tests
2021-08-04 10:09:02 +02:00
Oliver Nocon
6f32b437be
fix(dockerOptions) allow proper usage of empty values ( #3025 )
...
This follows up on #3024
Setting emptyValue to s.th. like `--entrypoint=''` will break in case the argument is properly escaped.
Docker will return with
`container process caused: exec: "''": executable file not found in $PATH`
2021-08-02 14:57:37 +02:00
Oliver Nocon and Sven Merk
f455a8a4a0
fix(dockerOptions) properly pass empty values ( #3024 )
...
it is possible to overwrite the entrypoint for docker execution:
https://docs.docker.com/engine/reference/run/#entrypoint-default-command-to-execute-at-runtime
This is ideally done by passing `entrypoint=''` and not pass two options to the call.
This also helps with escaping issues of the empty value on other systems.
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-08-02 10:21:14 +02:00
Oliver Nocon and Sven Merk
6d2bc023b0
Create missing documentation for step gitopsUpdateDeployment ( #3003 )
...
* Create gitopsUpdateDeployment.md
* Update mkdocs.yml
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-07-30 12:45:14 +02:00
cf39f37d9a
feat(detectExecuteScan): generate ip result json ( #2945 )
...
* feat(detectExecuteScan): generate ip result json
json will currently only be created in success cases.
No information about policy violation details available in the step yet.
* update report name
* Update cmd/detectExecuteScan.go
Co-authored-by: Giridhar Shenoy <giridhar.shenoy@sap.com >
* Update cmd/detectExecuteScan.go
Co-authored-by: Giridhar Shenoy <giridhar.shenoy@sap.com >
* Update cmd/detectExecuteScan_test.go
Co-authored-by: Giridhar Shenoy <giridhar.shenoy@sap.com >
* Update cmd/detectExecuteScan_test.go
Co-authored-by: Giridhar Shenoy <giridhar.shenoy@sap.com >
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
Co-authored-by: Giridhar Shenoy <giridhar.shenoy@sap.com >
2021-07-23 09:36:16 +02:00
Oliver Nocon and Christopher Fenner
d04d533604
chore(pipelineCreateScanSummary): update issue text ( #2999 )
...
* chore(pipelineCreateScanSummary): update issue text
* Update cmd/pipelineCreateScanSummary.go
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
2021-07-20 16:38:11 +02:00
Oliver Nocon
8458dd6afa
chore: export GitHub token unmarshalling ( #2988 )
2021-07-16 08:59:53 +02:00
Oliver Nocon
805a8fd88f
feat(config): read config/defaults with authentication ( #2975 )
...
* feat(config):read config/defaults with authentication
This change allows to use defaults and config files from a protected GitHub repository.
The options `--customConfig` and `--defaultConfig` already allowed to provide a link to an uprotected file.
Now, by passing a value in the form `<hostname>:<token>` to parameter `gitHubTokens` (this parameter can be passed multiple times) a token can be provided for dedicated hosts.
This makes it possible to use a link like
`https://api.github.com/repos/SAP/jenkins-library/contents/resources/my-defaults.yml?ref=master `
as reference to a default file or similarly as reference to a configuration file.
* update generation to allow protected config/defaults
* fix CodeClimate issues
* update missing generations
2021-07-08 15:26:07 +02:00
Oliver Nocon
8883a5148c
feat(mavenBuild): accept build profiles ( #2921 )
2021-06-18 11:57:00 +02:00
Oliver Nocon
d6b7a0f566
fix(commonPipelineEnvironment): StackOverflowError ( #2917 )
...
* chore(cpe): add debug messages and catch error
* fix catch
* fix variable declaration
* fix type name
* check for instanceof JSONNull
* check for net.sf.json.JSONNull
* fix formatting
* fix StackOverflow exception
* Update vars/writePipelineEnv.groovy
2021-06-17 15:42:39 +02:00
188e409a87
feat(protecodeExecuteScan): allow scanning a binary ( #2889 )
...
* feat(protecodeExecuteScan): allow scanning a binary
so far the step only accepts a Docker image or a FetchURL
This adds functionality to also pass a FilePath
* Update protecodeExecuteScan.go
* Update protecodeExecuteScan.go
* Update protecodeExecuteScan.go
* Update protecodeExecuteScan.go
* Update protecodeExecuteScan.go
* Update protecodeExecuteScan.go
* Fix fmt
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
Co-authored-by: Sven Merk <s.merk@sap.com >
2021-06-17 09:40:21 +02:00
Oliver Nocon and Sven Merk
78d7c4c71a
fix(githubCreateIssue): prevent panic for Github error ( #2914 )
...
In case the Github connection leads to an error it can happen that a nil pointer dereference exception can occur.
This is to fix this.
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-06-16 22:31:01 +02:00
0b48bfcc73
feat: retrieve metadata by stepName - corrected ( #2892 )
...
* refactored getConfig to allow stepName param for metadata fetching
* extended step generator
* go generate
* Update cmd/getConfig.go
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
* Update cmd/getConfig.go
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
* Update cmd/getConfig.go
* update generated files
* update golden files to care for generator update
* update and add tests
* update generated files
* Update cmd/getConfig.go
* Update cmd/getConfig.go
* update/fix formatting
* feat: retrieve metadata by stepName - corrected
* update generation
* update condition logic for defaults
* update generation & tests
* support multiple conditions
* update generation
* Add generated
Co-authored-by: Leander Schulz <leander.schulz01@sap.com >
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
Co-authored-by: Sven Merk <s.merk@sap.com >
2021-06-16 08:43:30 +02:00
Oliver Nocon
4250ca8bed
Revert "feat(getConfig): retrieve metadata by stepName ( #2736 )" ( #2891 )
...
This reverts commit ae4a24c594 .
2021-06-14 10:57:44 +02:00
Oliver Nocon
bcb76eff06
fix(windows build): fix golang.org/x/sys ( #2887 )
...
* chore: release binaries for darwin and win
* fix(windows build): fix golang.org/x/sys
This is necessary doe to a dependency of github.com/hashicorp/vault to docker@v17.12 .0-ce-rc1.0.20200309214505-aa6a9891b09c+incompatible\pkg\system\filesys_windows.go
This creates a build error.
Further information can be found here:
https://github.com/golang/go/issues/34610
* Update .github/workflows/upload-go-master.yml
* update go.sum
2021-06-10 16:50:17 +02:00
Oliver Nocon and Christopher Fenner
06e67db5e3
chore: release binaries for darwin and win ( #2883 )
...
* chore: release binaries for darwin and win
* Apply suggestions from code review
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com >
2021-06-10 12:39:23 +02:00
Oliver Nocon
d8a8a73184
feat(commonPipelineEnvironment): add artifact coordinates ( #2867 )
...
* add coordinates to CPE
* revert go.mod changes
2021-06-02 15:41:05 +02:00
Oliver Nocon
c088e623aa
feat(pipelineCreateSummary): enhance content with reference link ( #2837 )
...
* feat(pipelineCreateSummary): enhance content with reference link
* Update cmd/pipelineCreateScanSummary.go
* Update cmd/pipelineCreateScanSummary.go
2021-05-19 07:57:44 +02:00
Oliver Nocon
4b666003c8
feat(reporting) update markdown reports ( #2819 )
2021-05-11 08:01:02 +02:00
Oliver Nocon
5899746767
chore: update error categories ( #2827 )
2021-05-10 17:44:28 +02:00
Oliver Nocon
b9cd425091
fix(whitesource) proper error message when tokens are not found ( #2786 )
2021-04-23 11:33:10 +02:00
Oliver Nocon
d04a7c2eb3
feat(pipelineCreateScanSummary) Create groovy wrapper ( #2743 )
...
* feat(pipelineCreateScanSummary) Create groovy wrapper
* add command to binary
* stash step reports
* update stash
* fix typo
* unstash reports first
* update reporting
* update json reporting
* update tests & enhance logging
* update md report
* update md reporting
* fix rendering
* update tests
2021-04-15 07:45:06 +02:00
Oliver Nocon and Sven Merk
0696f64ecd
feat(whitesourceExecuteScan) allow custom maven arguments ( #2735 )
...
* feat(whitesourceExecuteScan) allow custom maven arguments
* remove comment
Co-authored-by: Sven Merk <33895725+nevskrem@users.noreply.github.com >
2021-04-01 14:17:15 +02:00