Commit Graph

399 Commits

Author SHA1 Message Date
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 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 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
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 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 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 2642c116bd
Fix play smoke-test image publishing (#6988)
Resolves #6983
2022-10-27 13:30:52 +03: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
Trask Stalnaker 0ba68177e3
More reuse in github actions (#6975) 2022-10-26 09:09:48 -07:00
dependabot[bot] 89b173c5ae
Bump gradle/wrapper-validation-action from 1.0.4 to 1.0.5 (#6970) 2022-10-25 14:07:27 -07:00
Trask Stalnaker b7602c746b
Remove CodeQL workaround (#6949)
same as
https://github.com/open-telemetry/opentelemetry-java-contrib/pull/556
2022-10-23 09:29:28 -07:00
Trask Stalnaker 034cac3f76
Fix comment (#6926)
First I tried to update to `20`, but looks like there are no ea releases
available, I think I "mispoke" in that comment, so fixed it.
2022-10-20 14:01:00 -07:00
Trask Stalnaker bac8b0c8b0
Don't assign PRs to component owners (#6918)
It will still assign @theletterf as a reviewer
2022-10-19 13:42:22 -07:00
Trask Stalnaker 9621ea08cf
Update repo settings (#6862)
it seems that github recently tightened up the branch protection
restrictions (in a way that makes more sense than the prior behavior)
2022-10-13 20:07:36 -07:00
Trask Stalnaker 63302ccd3e
Split out license check as separate github action (#6863)
I've been having a bit of trouble with the license check in our distro
repo, and I think it's helpful for it to be a separate github action
(also for visibility).
2022-10-13 19:09:22 -07:00
Trask Stalnaker b1bc39db59
Fix website PR (#6869)
Need to manually run the action after merging.
2022-10-13 07:32:30 -07:00
Trask Stalnaker c5cd8d67a3
Fix create website pull request (#6852) 2022-10-11 18:07:56 -07:00
Mateusz Rzeszutek 709ab76dd2
Add @theletterf as docs codeowner (#6830)
cc @theletterf
2022-10-07 12:08:34 -07:00
Trask Stalnaker 06b6f0a2f2
Split out separate spotless CI check (#6743)
To make it clearer when the only problem with a PR is spotless (and may
follow-up with a comment-driven automation to apply spotless to a PR)
2022-10-05 17:17:01 -07:00
Trask Stalnaker 93a578b8db
Enable testLatestDeps in PRs (#6744)
but do not make it a required check.

The reason for my change of mind here is:

When new library versions are released which break testLatestDeps, the
quick fix is to temporarily limit the upper bound, but it's not clear
what the quick fix is if we end up merging in a change which breaks
testLatestDeps (short of reverting the change, which then potentially
requires reengaging the contributor after they have moved on from the
PR).
2022-09-29 10:59:26 -07:00
Trask Stalnaker 6fdea85873
Remove unnecessary CI steps (#6742)
Since tests aren't run on assemble, these shouldn't be needed.
2022-09-25 13:12:10 +03:00
Trask Stalnaker 5e2df2b81f
Run integration tests against Java 19 (#6690)
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-09-24 12:31:15 -07:00
Trask Stalnaker 3371d93f51
Remove Java 18 and add Java 20 in smoke tests (#6703)
Need to follow-up after images are published from `main` in order to
update the tests themselves.
2022-09-22 09:56:02 -07:00
Trask Stalnaker 08ba0a9ddd
Create website PR on release (#6650) 2022-09-19 08:39:27 -07:00
Trask Stalnaker 6c9e88e78a
Fix at mention in operator pr (#6630) 2022-09-15 13:38:31 +03:00
Trask Stalnaker ba9876eae1
Fix operator pull request (#6629) 2022-09-14 17:58:38 -07:00
Mateusz Rzeszutek edf421ede5
Stabilize instrumentation-api and introduce jApiCmp checks (#6566)
* Stabilize instrumentation-api and introduce jApiCmp checks

* Update

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-09-09 15:26:39 -07:00
Lauri Tulmin dd752816b7
Spring boot application class should have a public constructor (#6509) 2022-08-25 12:28:05 -07:00
Trask Stalnaker edc5a6cf8a
Add reviewer to external PRs (#6498) 2022-08-24 09:24:27 -07:00
Trask Stalnaker abfc65c255
Add comment to generated PRs (#6468)
* Add comment to generated PRs

* Review

* More
2022-08-17 14:38:33 -07:00
Trask Stalnaker 6ded36095e
Small release improvements (#6433) 2022-08-08 08:39:30 -07:00
Trask Stalnaker c070817272
Update java docs repo on release (#6434) 2022-08-08 08:29:49 -07:00
Trask Stalnaker 0b15109107
Keep licenses up-to-date (#6399)
* Keep licenses in sync

* Oops

* Wording

* Wording

* Update
2022-08-02 12:41:02 -07:00
Trask Stalnaker a58d6dfc3a
Add Java 19 to smoke test matrix (#6390)
* Test Java 19

* Fix build
2022-07-31 09:32:33 -07:00
Trask Stalnaker 84719052c9
Add Java 18 to integration test matrix (#6391)
* Add Java 18 to integration test matrix

* Fix build
2022-07-31 09:32:18 -07:00
Trask Stalnaker 9bf5a04d1f
Auto-update contrib on release (#6351) 2022-07-22 11:09:07 +02:00
Trask Stalnaker 2cdaa01650
Fix operator script (#6347) 2022-07-20 08:35:59 -07:00
Lauri Tulmin 11bc28f044
Add a label for running windows smoke tests (#6314)
* Add a label for running windows smoke tests

* Trigger build
2022-07-12 10:44:24 -07:00
Trask Stalnaker 580a40eaf4
Fix build (#6311) 2022-07-12 10:08:22 +03:00
Trask Stalnaker 8adebaadca
Run github actions on windows-latest (#6295) 2022-07-11 14:31:39 -07:00