Commit Graph

454 Commits

Author SHA1 Message Date
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
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 465d4d3f9b
Fix patch release process (#6893)
Same as
https://github.com/open-telemetry/opentelemetry-java-contrib/pull/538
2022-10-18 12:02:02 -07:00
Trask Stalnaker b25283d2ca
Fix release contributors script (#6879)
Similar to
https://github.com/open-telemetry/opentelemetry-java-contrib/pull/530.

Also, I fixed the contributor list in the release notes which was
incorrect due to this bug (I believe only in this latest release due to
introduction of dependabot).
2022-10-14 08:54:45 -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 7104290294
Fix markdown link check (#6868)
https://kotlinlang.org/docs/coroutines-overview.html appears to be
bot-aware, I can go to it in my browser, but can't curl it
2022-10-13 12:21:17 +03:00
Trask Stalnaker c5cd8d67a3
Fix create website pull request (#6852) 2022-10-11 18:07:56 -07:00