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
Florian Wilhelm
79729adb3e
Fix piper version to v1.34.0 for release ( #1576 )
2020-05-22 10:12:33 +02:00
Daniel Kurzynski
1e252ea556
Disable duplicate go integration tests ( #1442 )
2020-05-06 10:00:24 +02:00
Florian Wilhelm
e77209922a
Run automated go dependency update once a month ( #1464 )
...
* Assign users to automated go dependency update
* update once a month
2020-04-29 16:28:57 +02:00
Christopher Fenner
b942dcd954
fix(telemetry): correct source URL for web reporting ( #1444 )
2020-04-23 14:33:06 +02:00
Daniel Kurzynski
168b82b92c
Fix integration tests on master ( #1440 )
2020-04-22 16:41:43 +02:00
Daniel Kurzynski
9bf8e60ba0
Run integration tests on github action instead of travis ( #1402 )
2020-04-22 10:35:13 +02:00
Christopher Fenner
46bee01ab9
chore: cache .m2 directory during groovy tests ( #1419 )
...
* chore: cache .m2 directory during groovy tests
* rename workflow job
2020-04-17 21:29:48 +02:00
Christopher Fenner
171a063590
chore: add gh-action to generate docs ( #1386 )
...
* add workflow to generate docs
* Update documentation.yaml
* Update createDocu.sh
* add caching
* fix c&p error
* Update documentation.yaml
* Update documentation.yaml
* remove docs build from travis
* activate workflow for PRs
2020-04-17 17:44:31 +02:00
Florian Wilhelm
6d7ab39e29
Use specific token for automated go dependency update PR ( #1413 )
2020-04-16 17:58:59 +02:00
Akshay Iyyadurai Balasundaram
1068de9582
Update update-go-dependencies.yaml ( #1399 )
...
Proposing to update the Git config so that commits from GitHub Action bot will be recognized by GitHub.
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-04-15 09:38:09 +02:00
Florian Wilhelm
4028db18f7
Automate go dependency updates ( #1393 )
2020-04-14 12:33:18 +02:00
Daniel Kurzynski
a3c18d403f
Allow MEMBERs to trigger integration tests ( #1376 )
2020-04-08 11:43:24 +02:00
Daniel Kurzynski
0c70ddbbf2
Allow MEMBERs to trigger integration tests ( #1375 )
2020-04-08 11:33:17 +02:00
Daniel Kurzynski
56b76dfad5
Trigger integration test with command ( #1368 )
2020-04-08 10:33:41 +02:00
Florian Wilhelm
f482f439b0
Allow to trigger release manually ( #1359 )
2020-04-03 16:26:53 +02:00
Florian Wilhelm
4e9b7f6cbf
Release go-binary via piper action ( #1243 )
2020-03-11 16:58:56 +01:00
Christopher Fenner
0b3b4aae3d
chore: streamline GH actions ( #1246 )
...
* chore: streamline GH actions
* force use of local piper
* look for piper in project root
* use local piper
* Update .github/workflows/verify-go.yml
* remove chmod
2020-03-05 13:35:35 +01:00
Florian Geckeler
9dc352029a
Add tag release when building go binary
2020-02-27 15:01:37 +01:00
Oliver Nocon
e81f40f645
Provide foundation for integration-like tests ( #1131 )
2020-02-18 15:19:50 +01:00
Christopher Fenner
5e06cc4ff5
chore(pipeline): enable GH actions for PRs from forks ( #1144 )
...
* Update verify-go.yml
* Update verify-go.yml
* revert dummy change
* Update verify-go.yml
* fix code climate
* Update verify-groovy.yml
2020-02-04 10:00:02 +01:00
Christopher Fenner
6494638106
chore(pipeline): add Groovy unit test as GH action ( #1140 )
...
* Create verify-groovy.yml
* correct indent
* correct indent
2020-02-03 15:59:56 +01:00
Christopher Fenner
d2b8b373b9
chore(pipeline): add GO unit test as GH action ( #1138 )
...
* add GO unit test job
* Update .github/workflows/verify-go.yml
2020-01-31 15:18:34 +01:00
Christopher Fenner
2da06bfa91
chore(build): use GH actions to verify if go codebase is up to date ( #1125 )
...
* add action to keep codebase up to date
* add go mod tidy command
* use official go action
* correct go fmt command
* fix code climate findings
* remove dummy changes
* separate checks
2020-01-29 18:09:51 +01:00
Oliver Nocon
84ad9d49e6
Enhance CONTRIBUTING.md ( #916 )
...
close #213
2019-10-25 15:44:58 +02:00
Florian Wilhelm
82cf1d43bd
Fix relative link to editorconfig ( #672 )
2019-04-23 15:00:23 +02:00
benhei
8113b20db1
Update CONTRIBUTING.md
2019-03-15 17:48:36 +01:00
SarahNoack
39c8b6f808
Make minor linguistic changes
2019-03-15 16:53:13 +01:00
Marcus Holl
e8b4225749
Incorporate review feedback
2019-03-15 15:45:09 +01:00
Marcus Holl
fb6edfc233
Document how to trigger integration tests.
2019-03-13 14:28:53 +01:00
Christoph Szymanski
f41adcf2d1
Fixing PULL_REQUEST_TEMPLATE.md ( #415 )
...
* Update PULL_REQUEST_TEMPLATE.md
* Update PULL_REQUEST_TEMPLATE.md
* CodeClimate
2019-01-09 10:41:02 +01:00
Christopher Fenner
f757a0e1d4
fix Markdown issues ( #365 )
...
* fix Markdown issue 'Headers should be surrounded by blank lines'
* fix MD012
* fix MD022
* fix MD026
* fix MD007
* fix MD032
* fix MD038
* fix MD040
* fix MD031
* fix MD034
* fix MD004
* fix new findings
* fix MD036
* fix MD038
* fix MD032
* fix MD006
2018-11-06 13:50:09 +01:00
Oliver Nocon
518a08bdb4
Update CONTRIBUTING.md
2018-09-19 09:25:40 +02:00
Marcus Holl
63cf375398
Pipeline steps are expected not to return a return value
2018-09-13 11:24:04 +02:00
Christopher Fenner
7ab2c3ee22
Create PULL_REQUEST_TEMPLATE.md ( #251 )
...
* Create PULL_REQUEST_TEMPLATE.md
* Rename CONTRIBUTING.md to .github/CONTRIBUTING.md
* Update PULL_REQUEST_TEMPLATE.md
2018-08-15 12:00:32 +02:00