Pavel Busko
c16fba873e
fix(syft): correctly set DOCKER_CONFIG env variable ( #4158 )
...
* fix(syft): correctly set DOCKER_CONFIG env variable
2022-12-13 15:37:06 +01:00
Pavel Busko
63a79c9e41
feat(cnbBuild) generate SBOM files with syft
( #4150 )
...
* feat(cnbBuild) generate SBOM files with syft
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
Co-authored-by: Sumit Kulhadia <sumit.kulhadia@sap.com>
2022-12-13 10:51:14 +01:00
Johann Goltz
4855e78a72
Fix race condition in kanikoExecute ( #4122 )
...
* Update kanikoExecute.go
* Update kanikoExecute_test.go
Co-authored-by: Anil Keshav <anil.keshav@sap.com>
2022-11-14 21:57:04 +01:00
Anil Keshav
1bc6595d27
fix (whitesourceExecuteScan) correct type cast for receiver functions tomarkdown() and title() ( #4117 )
...
* correct type cast for tomarkdown and title
* commenting kaniko create multi bom test case
* removing mocked file
Co-authored-by: anilkeshav27 <you@example.com>
2022-11-14 18:48:45 +01:00
Ashly Mathew
37a380b12e
install syft with binary instead of shell script ( #4116 )
2022-11-14 08:17:49 +01:00
Ashly Mathew
e2c710c035
Introducing syft to generate SBOMS for kaniko builds ( #4093 )
...
* Update kanikoExecute.go
* Syft function
* Change installation directory to ease cleanup
* Add createBOM option
* Unit tests
* Refactor code
Co-authored-by: raman-susla-epam <104915202+raman-susla-epam@users.noreply.github.com>
2022-11-07 14:27:05 +01:00
Anil Keshav
72896fab70
fix (kanikoExecute) enhance existing docker config json with additional credential params : user, password and registry Url ( #3892 )
...
* passing registry username and password
* enhance the case for creating docker config json with user credentials
* refactoring code
* unit test and maintaing user provided docker config json file
* go generate
* remove addtional file addition to unit test
Co-authored-by: anilkeshav27 <you@example.com>
2022-07-15 08:40:33 +02:00
Christian Volk
4b29f2e001
fix(kaniko): deactivate reproducible flag ( #3653 )
2022-03-21 09:14:36 +01:00
Christian Volk
956cab5de3
fix(kaniko): backwards compatibility with kaniko 1.3.0 ( #3583 )
...
* fix(kaniko): jnlp issues
* fix
* fix(kanikoExecute): backwards compatibility with kaniko 1.3.0
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2022-02-24 17:38:47 +01:00
Christian Volk
d428cfcbd1
feat(kanikoExecute): image digests ( #3566 )
...
* feat(init stage): artifact version
* feat(kaniko): expose image digests to cpe
* fix
* handle tmp folder creation differently
* fix
* fix
* fix tests
* set ignore-path to /
2022-02-23 11:41:26 +01:00
Christian Volk
20f5e955f9
Revert "feat(kaniko): pass image digests to cpe ( #3542 )" ( #3556 )
...
This reverts commit 2af9d3aae5b964355fd19757a44fccce8cee1b1b.
2022-02-18 08:25:31 +01:00
Christian Volk
2af9d3aae5
feat(kaniko): pass image digests to cpe ( #3542 )
...
* feat(kaniko): expose image digests to cpe
* fix
2022-02-17 10:06:54 +01:00
Christian Volk
a1cd6cdb3a
fix(kaniko): set cpe consistently ( #3545 )
2022-02-17 08:20:30 +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
Johannes Dillmann
4f23507bb7
Support custom tls certs in cnbBuild ( #3103 )
...
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com>
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
2021-10-01 13:48:24 +02:00
Pavel Busko
cba94dcb35
Cnb build custom buildpacks ( #3090 )
...
* [WIP] cnbBuild custom buildpacks draft
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
* Store custom buildpacks in the dedicated tmp folder
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
* added test
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
* updated documentation
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
* use Files for toml files cleanup
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
* Add missing function to the FileUtils interface
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
2021-09-14 16:14:50 +02:00
Anil Keshav
3c41788405
fix(mavenBuild) looses trust to existing java cacerts ( #2977 )
...
* using default java truststore
* default java keytore
* remove trust store
* working directory
* change dir java_home
* env variable
* trying to find jre home
* changing directory to jre home and java home
* trying java jre
* remving $
* trying to search the cacerts
* copying existing cacerts
* removing change directory
* searching for secrutiy folder only
* searching cacerts
* new path for cacert
* path to ca-cert
* new trust store
* changing cacert location
* only adding maven_opts env variable once
* log message
* ca cert path from user
* handelling interface modification
* enhance logs and code clean up
* code clean up
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2021-07-22 11:06:46 +02:00
Srinikitha Kondreddy
95ebfb3b2f
Make cert updates optional based on param value ( #2722 )
2021-03-25 15:32:10 +01:00
Oliver Nocon
39089bed5d
kanikoExecute: improve user experience ( #2141 )
...
* kanikoExecute: improve user experience
* ensure proper tags
* update permissions
in case a container runs with a different user
we need to make sure that the orchestrator user
can work on the file
* update permissions
* ensure availablility of directories on Jenkins
* (fix) clean up tmp dir in test
* add resilience for incorrect step yaml
* incorporate PR feedback
2020-10-14 11:13:08 +02:00
Daniel Kurzynski
8ee0d358b9
Support maven params in detect scan ( #1855 )
...
Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
2020-07-30 10:35:46 +02:00
Daniel Kurzynski
bcab73d332
Support m2path for mtaBuild ( #1850 )
...
Co-authored-by: Florian Wilhelm <florian.wilhelm02@sap.com>
2020-07-28 17:06:17 +02:00
Marcus Holl
8af0540de2
Introduce chmod in file utils ( #1808 )
2020-07-16 14:25:01 +02:00
Oliver Nocon
111e4de8c3
kanikoExecute - golang version ( #1765 )
...
* kanikoExecute golang version
* update entrypoint
* update entrypoint
* update entrypoint
* update entrypoint
* update entrypoint
* add command
* include PR feedback
* remove trailing spaces
* remove defaults for certificates
* Update generated file
2020-07-10 08:07:59 +02:00