1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00
Commit Graph

85 Commits

Author SHA1 Message Date
renovate[bot]
31c76be81c
chore(deps): update paambaati/codeclimate-action action to v5 (#4527)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 13:02:45 +02:00
renovate[bot]
e4fb5f7a19
chore(deps): update dominikh/staticcheck-action action to v1.3.0 (#4529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 12:01:06 +02:00
Anil Keshav
bca2a17cae
fix(ci): add conditional coverage upload to CodeClimate (#4455)
* separating the unit test and test upload

* enhacing conditions

* making the condition more strict to run on pr from a local branch

* enhacing condition when unit test are successfull

* removing condition for previous step checks

* pinning gauge to 1.4.3 for regression test

* reverting integration test
2023-07-11 10:39:35 +02:00
renovate[bot]
b9bb5265ca
chore(deps): update actions/cache action to v3 (#4439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-05 12:08:14 +02:00
renovate[bot]
9b1aebfd13
chore(deps): update actions/setup-java action to v3 (#4436)
* chore(deps): update actions/setup-java action to v3

* Apply suggestions from code review

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2023-07-05 11:35:34 +02:00
renovate[bot]
380144b457
chore(deps): update actions/setup-go action to v4 (#4435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-05 10:14:28 +02:00
renovate[bot]
3e0da62a0b
chore(deps): update actions/checkout action to v3 (#4440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 17:34:16 +02:00
renovate[bot]
920c2480e7
chore(deps): update actions/stale action to v8 (#4438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 15:53:40 +02:00
renovate[bot]
8fe1d5553e
chore(deps): update actions/setup-python action to v4 (#4437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-04 14:35:44 +02:00
Christopher Fenner
9c23cb3820
Update verify-go.yml (#4425) 2023-06-27 17:29:59 +02:00
Jk1484
ffc931aad1
feat(golangBuild): use 'unit' build tag to include tests during test execution (#4345)
* Added unit tag as argument. Added description to runTests command. Changed code generator to have unit build tag in generated unit test files.

* Added unit build tag to all unit test files.

* added to new unit test unit build tag

* Update verify-go.yml

* small fix

---------

Co-authored-by: Muhammadali Nazarov <Muhammadali.Nazarov@acronis.com>
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2023-05-03 21:02:11 +05:00
Christopher Fenner
0fa1e09464
chore(pipeline): update go-version for linting action (#4213)
* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml

* Update verify-go.yml
2023-02-03 12:35:57 +01:00
Philipp Stehle
9533280459
chore(GitHub actions): update deprecated output syntax (#4197) 2023-02-03 10:21:24 +01:00
gerstneralex
1ae967061d
Add TMS service key to environment in integration test workflow job (#4192) 2023-01-19 10:02:56 +01:00
Philipp Stehle
2a18b9dc29
fix ci: missing needs in github action yaml (#4146) 2022-12-12 08:55:38 +01:00
Pavel Busko
fb9784dd67
fix(workflow): pin mkdocs-material version to v8.5.11 (#4153)
Co-authored-by: Johannes Dillmann <j.dillmann@sap.com>
Co-authored-by: Pavel Busko <pavel.busko@sap.com>
2022-12-09 09:45:25 +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
Marc Bormeth
db5351f4d3
Build and release Piper binary for Apple Silicon as well (#4016) 2022-10-05 15:31:47 +04:00
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
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
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
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
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