1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
Jenkins shared library for Continuous Delivery pipelines.
Go to file
Florian Wilhelm 485faed812
Reduce go binary size by updating to go 1.15 (#1968)
* Update go to 1.15 to reduce binary size

Go made improvements to reduce binary size, cf https://golang.org/doc/go1.15

> Go 1.15 reduces typical binary sizes by around 5% compared to Go 1.14 by eliminating certain types of GC metadata and more aggressively eliminating unused type metadata.

In my test, this equates to about 3 mb diff between Go 1.13 and Go 1.15:

-rwxr-xr-x 1 root root 36M Aug 31 14:43 piper-go-113
-rwxr-xr-x 1 root root 33M Aug 31 14:44 piper-go-115

* Go Generate

* go mod tidy

Co-authored-by: Stephan Aßmus <stephan.assmus@sap.com>
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-09-17 08:44:42 +02:00
.github Reduce go binary size by updating to go 1.15 (#1968) 2020-09-17 08:44:42 +02:00
.hooks chore(go): add pre-commit hook (#1006) 2019-11-27 21:16:01 +01:00
.pipeline Run automated go dependency update once a month (#1464) 2020-04-29 16:28:57 +02:00
.reuse compliance with reuse (#1910) 2020-08-11 11:53:42 +02:00
cfg Deploy mkdocs when merging to master 2018-03-12 09:58:32 +01:00
cmd Vault AppRole login (#1971) 2020-09-16 14:50:09 +02:00
consumer-test Fix integration tests on master (#1440) 2020-04-22 16:41:43 +02:00
contrib Allow to trigger release manually (#1359) 2020-04-03 16:26:53 +02:00
documentation GitHub steps: convenience updates (#2026) 2020-09-15 17:50:55 +02:00
integration Vault AppRole login (#1971) 2020-09-16 14:50:09 +02:00
LICENSES compliance with reuse (#1910) 2020-08-11 11:53:42 +02:00
pkg Vault AppRole login (#1971) 2020-09-16 14:50:09 +02:00
resources refactor: align parameter name for username (#1960) 2020-09-16 11:33:03 +02:00
src/com/sap/piper Reduce go binary size by updating to go 1.15 (#1968) 2020-09-17 08:44:42 +02:00
template remove !#groovy header 2019-05-23 10:37:28 +02:00
test refactor: align parameter name for username (#1960) 2020-09-16 11:33:03 +02:00
vars refactor: align parameter name for username (#1960) 2020-09-16 11:33:03 +02:00
.codeclimate.yml Add exclude patterns to codeclimate 2020-02-25 13:42:47 +01:00
.editorconfig Add golang implementation for karma tests (#919) 2019-10-25 14:58:59 +02:00
.gitignore New step: abapEnvironmentAssemblePackages (#1884) 2020-08-27 07:54:03 +02:00
.markdownlint.yml chore(pipeline): add action to lint markdown files (#1593) 2020-06-15 21:10:12 +02:00
config.toml Add revive config for proper linting 2020-02-26 09:44:18 +01:00
DEVELOPMENT.md Step generation: allow usage of go generate (#1793) 2020-07-17 08:06:11 +02:00
Dockerfile Reduce go binary size by updating to go 1.15 (#1968) 2020-09-17 08:44:42 +02:00
go.mod Reduce go binary size by updating to go 1.15 (#1968) 2020-09-17 08:44:42 +02:00
go.sum Add step to set GitHub status (#2012) 2020-09-14 18:08:24 +02:00
LICENSE compliance with reuse (#1910) 2020-08-11 11:53:42 +02:00
main.go Step generation: allow usage of go generate (#1793) 2020-07-17 08:06:11 +02:00
pom.xml Protecode as GoLang (#1119) 2020-02-06 16:16:34 +01:00
README.md Update README.md 2020-08-11 12:01:39 +02:00

Build Status Maintainability Test Coverage Go Report Card REUSE status

Project Piper Repository

The Project "Piper" offers default pipelines to easily implement CI/CD processes integrating SAP systems. The corresponding "Shared Library" provides a set of "steps" to build your own scenarios beyond defaults.

User Documentation

If you want to view the User Documentation of Project Piper please follow this Piper Pages Link.

Known Issues

A list of known issues is available on the GitHub issues page of this project.

How to obtain support

Feel free to open new issues for feature requests, bugs or general feedback on the GitHub issues page of this project.

Register to our google group in order to get updates or for asking questions.

Contributing

Read and understand our contribution guidelines before opening a pull request.