Commit Graph

466 Commits

Author SHA1 Message Date
Mateusz Rzeszutek b17f20c08e
Limit junit-pioneer to 1.x (#7727)
junit-pioneer 2.0 requires Java 11
2023-02-03 08:48:27 -08:00
dependabot[bot] 0f4322ef19
Bump docker/build-push-action from 3 to 4 (#7681) 2023-01-30 21:26:35 -08:00
Trask Stalnaker fc81be47e5
Fix job name (#7654) 2023-01-25 10:13:00 -08:00
Trask Stalnaker 90209fe53b
Add labels for running openj9 and windows tests during PR builds (#7647)
Bringing back #6314 and extending to openj9
2023-01-25 09:53:54 -08:00
Trask Stalnaker 8b0880a8e3
Partition testLatestDeps to speed up CI (#7649) 2023-01-25 09:51:46 -08:00
Trask Stalnaker e869bd879b
Parallelize tests across multiple GitHub Actions jobs (#7639)
The build takes ~2 hours when there are changes to core modules that
force re-running of all tests.

Ran into the long test times (again) in #7632.

This also affects release times since the version bump PR build takes 2
hours to run, and then another 2 hours to run release (or wait 2 hours
for CI build to run and update gradle cache).
2023-01-24 12:22:42 -08:00
Trask Stalnaker 82ea80aba7
Skip openj9 in PR build (#7641)
to help offset new parallelization in #7639
2023-01-24 12:22:24 -08:00
Trask Stalnaker 7ffcc91b28
Fix dependabot.yml (#7622) 2023-01-20 10:21:31 +01:00
Trask Stalnaker df93f3b1ee
Update misspell link (#7612)
see
https://github.com/open-telemetry/opentelemetry-java/pull/5118/files#r1070170588
2023-01-19 10:44:21 +01:00
dependabot[bot] 6b0cfa5a0c
Bump actions/stale from 6 to 7 (#7609) 2023-01-18 13:54:26 -08:00
Trask Stalnaker f33a1b73ea
Add stale workflow (#7605)
This is the same workflow I added in the community repo recently.
2023-01-18 12:32:07 -08:00
Trask Stalnaker b6cc2fb2f9
Ignore Mockito 5 (#7602) 2023-01-18 08:15:12 +01:00
Trask Stalnaker ba09a69a0f
More dependabot (#7577) 2023-01-16 08:53:20 +01:00
Trask Stalnaker dd7931ac0b
Update repo settings doc (#7439)
No changes to actual settings in this repo, only updating the doc after
changes were made to community repo doc.
2022-12-16 10:52:50 -08:00
Trask Stalnaker 3786acb18a
Refine required checks (#7411)
Adds these are required checks for PRs (except on release branches where
they are still not required):
* shell-script-check
* markdown-lint-check
* misspell-check

This is still NOT a required check:
* markdown-link-check

Also in this PR:
* Avoids running `markdown-link-check` at all on release branches since
it's generally expected to be red due to pinning the release download
link before tagging
2022-12-14 07:57:56 -08:00
Trask Stalnaker 8672acc408
Update repo settings (#7356)
Missed one setting that is in place, and updated reasons for some
others.
2022-12-08 13:13:39 +01:00
Trask Stalnaker 66a112de30
Move repository-settings.md file (#7352)
I think this is a better location (and I'm going to suggest this as a
general practice for other repos where maintainers have admin rights)
2022-12-01 15:04:03 -08:00
Trask Stalnaker a4740264c2
Use windows-latest (#7299) 2022-11-29 07:54:03 -08:00
Trask Stalnaker db48ba147a
Add some comment-driven automations for PRs (#7321)
Available commands:
* `@opentelemetrybot spotless` - runs `./gradlew spotlessApply`
* `@opentelemetrybot license` - runs `./gradlew generateLicenseReport`
* `@opentelemetrybot apidiff` - runs `./gradlew jApiCmp`
* `@opentelemetrybot update` - updates branch with merge commit
* `@opentelemetrybot rerun` - re-runs failed checks (NOT IMPLEMENTED
YET)
* `@opentelemetrybot help` - displays available commands

see #7290
2022-11-29 07:47:26 -08:00
Trask Stalnaker fe680243d7
Add dependabot ignore (#7334)
will close #7332 once this is merged and that is rebased
2022-11-29 09:22:49 +01:00
Trask Stalnaker a15402f2b9
Better dependabot configuration (#7298)
I noticed that the smoke test projects weren't getting picked up by
dependabot. It seems that dependabot's `directory` configuration doesn't
really mean recursive, it means find the gradle file in that directory,
and follow any includes from it.

I tested this on my fork (temporarily bumping the dependabot limit to
100) and it only created 14 new PRs, so not too bad...
2022-11-28 12:59:11 -08:00
Trask Stalnaker 0e4c66a428
Update images to Windows 2022 (#7300)
preliminary step for #7299
2022-11-27 09:50:08 -08:00
Vasi Vasireddy 27805615aa
Update the usage of set-output command in GH actions (#7260)
This PR updates the usage of set-output command in GH actions.

Reference :
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

CHANGELOG entry is not required
2022-11-21 11:29:57 -08:00
Trask Stalnaker 7ccf0bd655
Update doc PR now that annotations are stable (#7219)
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2022-11-18 17:19:59 +00:00
Trask Stalnaker 86dd5dc477
Dependabot for logback 1.4+ (#7218) 2022-11-18 11:36:47 +01:00
Trask Stalnaker b0fb249a65
Post release updates (#7213)
fyi I added topic for SIG meeting in 2 weeks b/c I'd like to automate
this but have some questions:

* What is the purpose of keeping around old diffs?
* If we need them, what about not including the empty ones?
* Do we diff minor versions against patches (if any), or only against
last minor?
2022-11-18 10:55:57 +01:00
Aaron Ai 2d7395c44b
Introduce markdown lint check (#7175)
Fixes #7129
2022-11-16 20:48:42 -08:00
OpenTelemetry Bot 2db0b03cae
Update version to 1.21.0-SNAPSHOT (#7209)
Update version to `1.21.0-SNAPSHOT`.
2022-11-17 03:18:30 +00:00
Trask Stalnaker abc9f09efb
Fix publishing servlet images (#7194)
Resolves #7185
2022-11-16 09:33:15 +01:00
Trask Stalnaker b877a9f7fb
Remove unused script (#7193)
No longer needed after
https://github.com/open-telemetry/opentelemetry-java/pull/4943
2022-11-16 09:32:25 +01:00
Trask Stalnaker 1e6fb0088a
Don't open issue on re-runs (#7186)
to avoid confusions like
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7181#issuecomment-1315828235
2022-11-16 09:29:37 +01:00
Trask Stalnaker 19ce0f87b9
GitHub action sync (#7150) 2022-11-15 09:35:30 -08:00
Trask Stalnaker 5a88cd7462
Fix sporadically failing uploads (#7173)
I've seen CI fail several times lately on something like

```
An error was encountered when uploading deadlock-detector-test-19-hotspot
```

e.g.
https://github.com/open-telemetry/opentelemetry-java-instrumentation/actions/runs/3466878562/jobs/5791191014

when otherwise the job would have succeeded.
2022-11-15 16:23:48 +01:00
Trask Stalnaker 6bc43450df
Add shell check (#7125)
Motivated by @mateuszrzeszutek's
https://github.com/signalfx/splunk-otel-java/pull/992
2022-11-11 14:58:05 -08:00
Trask Stalnaker c45e7578c1
Add a release step (#7128) 2022-11-10 13:37:12 +02:00
Trask Stalnaker 2e66e207cd
More dependabot ignores (#7110) 2022-11-08 22:27:35 +00:00
Trask Stalnaker 7071bc2bd0
Add some dependabot ignores (#7108) 2022-11-08 21:45:29 +00:00
Trask Stalnaker 9dc9135814
Add smoke-tests to dependabot (#7072)
We need more dependabot!!!!
2022-11-08 11:08:54 -08:00
Trask Stalnaker d9c4784952
Stabilize annotations (#7046)
Resolves #6494
2022-11-08 08:46:11 -08:00
Trask Stalnaker 1a91fced2a
Remove -contrib and -docs workflows (#7051)
No longer needed because of
* https://github.com/open-telemetry/opentelemetry-java-contrib/pull/568,
and
* https://github.com/open-telemetry/opentelemetry-java-docs/pull/60
2022-11-08 08:45:55 -08:00
Trask Stalnaker 22d18c517f
Fix release script (#7083)
was missing one version update, see #7077
2022-11-08 08:45:28 -08:00
Trask Stalnaker 0ae271d51e
Fix dependabot (#7050)
it fails when directories do not have a gradle build file in them
2022-11-04 14:45:42 -07:00
Trask Stalnaker 102b47f245
Add dependabot for examples directory (#7039)
(and partially sorted the entries alphabetically by directory name)
2022-11-04 14:08:52 -07:00
Trask Stalnaker cd95517ddc
Add OWASP dependency check (#6978)
See comment in the github action that explains why I think this is
helpful:

> the benefit of this over dependabot is that this also analyzes
transitive dependencies
> while dependabot (at least currently) only analyzes top-level
dependencies
2022-10-27 19:21:38 -07:00
Trask Stalnaker 1a16ef1bf9
Fix dependabot (#6986)
Follow-up to #6977 

Dependabot started failing after this because it was looking for all of
the relative includes that were inside of
`.github/project-root-duplicates/settings.gradle.kts`.

The solution that seems to work (I've tested on my fork) is to split
those includes out into a separate file, and `apply` that file.

Also fixes a busted markdown link (probably should have sent that in a
separate PR).

Resolves #6989
2022-10-27 13:31:38 +03:00
Trask Stalnaker 2642c116bd
Fix play smoke-test image publishing (#6988)
Resolves #6983
2022-10-27 13:30:52 +03:00
Trask Stalnaker 9d23fd620a
More dependabot (#6977)
Apply dependabot to `settings.gradle.kts` and `build.gradle.kts` in a
rather roundabout way (see README.md).

Currently built on top of #6975
2022-10-26 15:30:26 -07:00
Trask Stalnaker 28459d890c
Use component owners extension matching (#6966)
I have submitted a PR to add support for this to the component-owners
action: https://github.com/dyladan/component-owners/pull/14, but we can
use my fork for now.
2022-10-26 11:23:02 -07:00
Trask Stalnaker 0575ab4fe3
Remove usage of deprecated docker image (#6969) 2022-10-26 11:22:34 -07:00
Trask Stalnaker 2778062528
Add gradle wrapper validation to required-status-checks (#6976)
So we can't accidentally merge a PR with this check failing.

Currently built on top of #6975
2022-10-26 11:16:20 -07:00