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
Anil Keshav
81e7423ea6
Revert "publishing master binary once after all builds ( #3885 )" ( #3890 )
...
This reverts commit c3b4925f0b
.
2022-07-12 16:22:18 +02:00
Anil Keshav
c3b4925f0b
publishing master binary once after all builds ( #3885 )
...
Co-authored-by: anilkeshav27 <you@example.com>
2022-07-11 11:30:38 +02:00
Ashly Mathew
fc143235d4
fix : update mkdocs version ( #3847 )
2022-06-27 10:11:13 +02:00
Julian Schmitt
ea001341cb
upgrade lint-test to go 1.18 ( #3804 )
...
Co-authored-by: Thorsten Duda <thorsten.duda@sap.com>
2022-05-25 15:30:52 +02:00
Thorsten Duda
7748e81b59
Update go version to 1.18 ( #3783 )
...
* Update go version to 1.18
* Update go version to 1.18
* Create awsS3Upload (#3737 )
* add Step awsS3Upload
* fix JSON Read
* fix groovy wrapper
* change credentials to secret text
* Change credentials type to token
* add cleanup for environment variables
* Add AwsS3UploadCommand to piper.go
* add documentation of awsS3Upload
* Fix JSON String Example in Documentation
* add the Upload of whole directories
* add Logging to awsS3Upload.go
* imporve Logging
* fix and improve unit tests
* fix non-existing-filepaths-Bug
* fix windows filepaths
* remove ... from logging
* change step description
* fix PR Tests
* remove redundant code
* try to run tests sequentially
* fix file.Close
* executed go mod tidy
* requested changes
* fix comments and awsCredentials
* Update documentation/docs/steps/awsS3Upload.md
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
* use temporary files for unit tests
* executed go generate
Co-authored-by: ffeldmann <f.feldmann@sap.com>
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
Co-authored-by: Thorsten Duda <thorsten.duda@sap.com>
* fix go.sum
* Fix project config reset when preset is set (#3782 )
Co-authored-by: Julian Schmitt <97178428+JulianPSchmitt@users.noreply.github.com>
Co-authored-by: ffeldmann <f.feldmann@sap.com>
Co-authored-by: Oliver Feldmann <oliver.feldmann@sap.com>
Co-authored-by: Adrien <99400874+hubadr@users.noreply.github.com>
2022-05-19 10:30:10 +02:00
Daniel Mieg
b2209c088a
Extend codeowners (ABAP) ( #3761 )
...
* Extend codeowners (ABAP)
* formatting
2022-04-28 14:47:58 +02:00
Philipp Stehle
511a541bd5
add more codeowners ( #3430 )
...
* add more codeowners
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
* Apply suggestions from code review
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
* apply decisions from alignment meeting
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
Co-authored-by: tiloKo <70266685+tiloKo@users.noreply.github.com>
2022-04-13 13:19:48 +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
eea443e138
fix copy&paste issue ( #3698 )
2022-04-04 12:55:47 +02:00
Oliver Nocon
23ea4111fb
Update release-go.yml ( #3689 )
...
Co-authored-by: ffeldmann <f.feldmann@sap.com>
2022-03-31 16:42:15 +02:00
Siarhei Pazdniakou
a1e2d8e8f3
Increased timeout for integration tests ( #3648 )
2022-03-18 16:30:41 +01:00
Oliver Nocon
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
Philipp Stehle
c525936314
add staticcheck github action ( #3605 )
2022-03-07 14:52:20 +01:00
Christopher Fenner
ba30ee6def
ci: name release steps ( #3304 )
2021-11-23 07:39:30 +01:00
Philipp Stehle
f9f0cbfd33
enforce that step metadata yaml file is called <step>.yaml ( #3226 )
...
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com>
2021-11-15 14:20:20 +01: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
Christopher Fenner
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
Oliver Nocon
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
Kevin Stiehl
1079aaba53
ci(release): remove unused copies and name downloads correctly ( #2897 )
2021-06-15 14:04:38 +02:00
Oliver Nocon
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
Marc Bormeth
911d4bc770
feat(sonar): make step orchestrator-agnostic ( #2874 )
...
* Make sonarExecuteScan orchestrator-agnostic
* Increase coverage + support empty or false env vars
* Use cleared env for unit tests
* Refactor to standalone package
* Fix review findings
* Fix review findings
* Fix unit test
* Add logging
* Refactor
* Add to codeowners 😎
* Apply suggestions from code review
* Remove unreachable code
* no message
* fix typos
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2021-06-09 09:38:52 +02:00
Christopher Fenner
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 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
f9c0092f2e
chore(voter): show changes caused by git diff ( #2633 )
2021-03-12 10:12:40 +01:00
Florian Wilhelm
9f25fd5950
Run build on java 8 ( #2675 )
...
Workaround for #1723 , because Ubuntu 20.04 VMs include Java 11 by default
2021-03-11 10:35:56 +01:00
Christopher Fenner
fbbb55471d
tests: expose sonar test secret to workflows ( #2646 )
...
* Update integration-tests-pr.yaml
* Update integration-tests.yaml
2021-02-24 12:58:48 +01:00
Marcus Holl
a6b2cb9c83
Tell us what was changed. ( #2492 )
...
With the current approach we get a failure when the generated
content triggers a change. But we cannot see what was changed.
With this commit we can see the diff. In case there is not diff
we will not see anything, so there is in that case no real change
in the behaviour. But in case there is a change we will see that
change.
Without that we have to reproduce locally, which means additional
efforts.
2021-01-04 13:23:30 +01:00
Florian Wilhelm
2ac5c42d15
Don't update go dependencies on schedule ( #2447 )
2020-12-07 09:20:31 +01:00
Florian Wilhelm
020ed15f34
Replace deprecated set-env github actions command ( #2264 )
...
cf https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
Co-authored-by: Daniel Kurzynski <daniel.kurzynski@sap.com>
2020-10-30 10:47:03 +01:00
Christopher Fenner
0797f4049a
feat(docs): use custom defaults during docs generation ( #2022 )
...
* remove docs generator code from step-generator
* add docs generator to dedicated package
* add test cases
* add entry point for docs generation
* make output more readable
* read additional defaults
* add custo defaults parameters
* remove commented code
* adjust custom default parameter in workflow
* remove conflict leftovers
* handle custom default values
* remove comment
* extract code to function
* extract metadata reading to function
* do not print empty strings in favor of PIPER_* env vars
* extract new code to own metadata file
* only reset default on booleans
* remove obsolete test case
2020-10-16 12:50:39 +02:00
Christopher Fenner
b219fb6514
fix(typo): found by misspell ( #2064 )
...
* fix typos in step yamls
* fix typos in go files
* regenerate step code
* fix typos in md files
* fix typos in groovy files
* fix further typos
2020-09-24 07:41:06 +02:00
Christopher Fenner
54ff93233e
refactor(docs): separate step and docs generator ( #2033 )
...
* remove docs generator code from step-generator
* add docs generator to dedicated package
* add test cases
* add entry point for docs generation
* make output more readable
* remove dead code
2020-09-23 13:55:17 +02:00
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
Florian Wilhelm
f5df533c68
Allow trigger IT via github UI ( #1830 )
...
cf https://docs.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow\#manually-running-a-workflow
2020-07-23 11:43:59 +02:00
Christopher Fenner
987eeefa81
chore(pipeline): add Code Climate coverage reporting for GO ( #1148 )
...
* add Code Climate coverage reporting
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
* Update verify-go.yml
2020-07-22 12:30:15 +02:00
Christopher Fenner
7afc4cb60e
chore(actions): cache Golang packages ( #1824 )
...
Co-authored-by: Oliver Nocon <33484802+OliverNocon@users.noreply.github.com>
2020-07-22 12:01:05 +02:00
Christopher Fenner
6c25c28801
chore(pipeline): add action to lint markdown files ( #1593 )
...
* add markdownlint action
* add markdownlint config
* add dummy change to MD file
* rename job
* run on master branch
* remove ignore files
* add dummy change
* revert dummy change
* Update markdown.yml
* Update .markdownlint.yml
* Update README.md
* Update .markdownlint.yml
* Update markdown.yml
2020-06-15 21:10:12 +02:00
Florian Wilhelm
7fc9002ce1
Build go binary without debug symbols ( #1618 )
...
This produces a much smaller binary for faster downloads.
See https://golang.org/cmd/link/ for docs on -s and -w flag.
2020-06-02 12:32:29 +02:00
Stephan Aßmus
6a96629d65
Provide a timeout of 20m for the go Integration Tests ( #1613 )
...
* Provide a timeout of 20m for the go IT
Default is 10m, see https://golang.org/cmd/go/#hdr-Testing_flags
Co-authored-by: Daniel Kurzynski <daniel.kurzynski@sap.com>
2020-05-28 18:28:38 +02:00
Florian Wilhelm
5a7b3db3a9
Publish jar for releases ( #1588 )
2020-05-25 18:29:52 +02:00
Florian Wilhelm
a9bf975a00
Use master version of piper binary in all usages of the action ( #1581 )
2020-05-22 17:18:40 +02:00