Commit Graph

477 Commits

Author SHA1 Message Date
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
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 a6702bc192
Increase dependabot limit (#6706) 2022-09-22 09:52:27 -07:00
Trask Stalnaker d5e9e7d639
Disable dependabot rebasing (#6705)
Because our build takes a long time, and most of the time rebasing is
not required. We can always manually request `@dependabot rebase` if it
is needed due to conflicts.
2022-09-22 12:33:10 +03:00
Trask Stalnaker 6e649d36c3
More dependabot (#6647)
Part of #6645
2022-09-19 11:13:31 -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 9fe3761731
Document upper version limits (#6436) 2022-08-08 10:08:40 -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 865a4bbd43
Add script to help with doc (#6430)
* Add script to help with doc

* better
2022-08-07 17:06:27 -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
Trask Stalnaker 5d4cf1af8f
chmod (#6341) 2022-07-19 09:13:28 -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
jason plumb 392181a44b
Fix petclinic docker image (#6303)
* pin petclinic revision

* don't tag docker image with latest.
2022-07-11 12:40:05 -07:00
Trask Stalnaker df4eeefdb8
Switch from opentelemetry-java-bot to opentelemetrybot (#6294) 2022-07-11 08:48:11 -07:00
Lauri Tulmin 3f3e94ddb6
Increase gradle daemon heap size for latest deps test (#6265)
* Increase gradle daemon heap size for latest deps test

* correct file name
2022-07-05 19:23:47 -07:00
Trask Stalnaker a141a21b01
Small gradle-build-action fixes (#6266) 2022-07-05 23:06:35 +03:00
Trask Stalnaker 3dda14afc4
Extract reusable create-operator-pull-request workflow (#6193)
* Extract reusable create-operator-pull-request workflow

* Renames

* Fix

* Sync
2022-06-21 11:02:30 +03:00
Trask Stalnaker 84aa843b60
Fix javaagent jar not being found when making release (#6183)
* Sync

* Fix

* More small updates

* Fix
2022-06-17 09:54:49 +03:00
Trask Stalnaker 9d628d13c4
Update change log (#6176)
* Update change log

* Add one more
2022-06-16 13:17:44 -07:00
Trask Stalnaker 0bdf26af51
Release workflow simplifications (#6169)
* Release workflow simplifications

* Remove now unused workflow

* Fix

* Remove prerelease support
2022-06-14 10:29:56 +03:00
Trask Stalnaker 47f6504dc8
Add diff-suppression-keys-with-docs script back (#6046)
* Add diff-suppression-keys-with-docs script back

* feedback
2022-05-18 11:08:47 -07:00
Trask Stalnaker 4fa30a84b0
Fix release workflow (#6040) 2022-05-16 19:59:42 -07:00
Trask Stalnaker 59e47a2865
Workflow updates (#6027) 2022-05-16 11:59:30 +03:00
Trask Stalnaker 432606a168
Sync (#5998) 2022-05-10 09:27:00 -07:00
dependabot[bot] c89297f250
Bump docker/build-push-action from 2 to 3 (#5988)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-05 21:10:25 -07:00
dependabot[bot] 91ee7cdb28
Bump docker/setup-buildx-action from 1 to 2 (#5987)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 10:26:00 +09:00
dependabot[bot] 12c1c6a784
Bump docker/login-action from 1 to 2 (#5986)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-05 17:57:44 -07:00
Trask Stalnaker 8c65b99d30
Remove markdown-link-check version pin (#5976) 2022-05-04 13:18:40 -07:00
Jérôme Prinet b0482cae57
Add dependabot configuration to monitor Gradle plugins (#5974)
* Add dependabot configuration to monitor Gradle plugins

* Freeze markdown-link-check-version (#5975)

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2022-05-04 10:52:16 -07:00
Mateusz Rzeszutek c82fb91fa1
Freeze markdown-link-check-version (#5975) 2022-05-04 17:25:09 +03:00
Trask Stalnaker 10d759e7c7
Update gradle in standalone modules (#5970) 2022-05-04 12:02:50 +03:00
dependabot[bot] 8ed3b2001f
Bump github/codeql-action from 1 to 2 (#5932)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-25 14:57:09 -07:00
Trask Stalnaker 773ee15ba8
More resilient change log merging (#5921)
* More resilient change log merging

* --3way
2022-04-25 09:13:54 -07:00
Trask Stalnaker 483caae4d1
Fix muzzle release branch exclusion (#5914) 2022-04-22 13:41:35 -07:00
Trask Stalnaker 8e5e815e6b
More release branch exclusions (#5919)
* More release branch exclusions

* wording
2022-04-22 12:18:06 -07:00
Trask Stalnaker 4fe412bd93
Fix release workflow (#5918) 2022-04-22 12:15:40 -07:00
Trask Stalnaker d949a82d06
Sync (#5900) 2022-04-21 09:28:09 -07:00
Trask Stalnaker 5f0c6a2dc3
Use BOT_TOKEN instead of GITHUB_TOKEN (#5889)
* Rename to BOT_TOKEN

* Use BOT_TOKEN

* more

* more
2022-04-19 20:02:37 -07:00
Lauri Tulmin 4d89b729ae
Use separate steps to build and test smoke tests (#5887)
* Use separate steps to build and test smoke tests

* Use gradle-build-action only to set up cache

* Update .github/workflows/reusable-smoke-test.yml

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-04-19 14:12:51 -07:00
Trask Stalnaker 0a0e10b1f0
Fix job suppressions (#5872) 2022-04-18 19:58:17 -07:00
Trask Stalnaker 7352e39e7e
Fix update change log automation (#5875) 2022-04-18 19:52:51 -07:00
Trask Stalnaker 0b9037bc85
Still fixing prepare release workflow (#5868) 2022-04-18 15:14:42 -07:00
Trask Stalnaker 0c26464235
Fix prepare release workflow more (#5865)
* Fix prepare release workflow more

* and more

* more

* more
2022-04-18 13:29:11 -07:00
Lauri Tulmin a822e6b2d9
Fix collecting crash dumps (#5862)
* Fix collecting crash dumps

* Fix collecting crash dumps

* fix collection smoke test dumps on windows

* spelling
2022-04-18 13:25:30 -07:00
Trask Stalnaker 00d2033b38
Fix release workflow (#5863) 2022-04-18 09:24:42 -07:00
Trask Stalnaker 6a87cea0a9
Retry markdown link check on failure (#5853) 2022-04-18 09:08:18 -07:00
Trask Stalnaker c447b8ab8c
Don't fail fast on matrix build (#5854) 2022-04-16 20:00:05 -07:00
dependabot[bot] 1fb74f8bd1
Bump actions/setup-java from 2 to 3 (#5852)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-16 17:32:08 +09:00
Trask Stalnaker 1c9b1c6445
Smaller github action cache (#5848) 2022-04-15 18:18:45 -07:00
dependabot[bot] 23d346773e
Bump actions/upload-artifact from 2 to 3 (#5851)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-15 14:29:45 -07:00
dependabot[bot] 8cfb2ff00f
Bump actions/cache from 2 to 3 (#5850)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-15 14:29:36 -07:00
Trask Stalnaker 87a51414f7
Move and improve change log script (#5845) 2022-04-15 14:29:09 -07:00
Trask Stalnaker ad798e8469
Add quotes to fix dependabot (#5846)
* Add quotes to (hopefully) fix dependabot

* more
2022-04-15 14:16:43 -07:00
Anuraag Agrawal 784f4b6704
Integrate servlet smoke into main build (#5829)
* Integrate servlet smoke test into main build.

* errorprone

* Update updater
2022-04-14 17:01:58 +09:00
Anuraag Agrawal ed0b17df21
Integrate fake-backend project into main build. (#5828) 2022-04-14 15:33:10 +09:00
Anuraag Agrawal 1ca700525f
Integrate smoketests into the normal build (#5825)
* Integrate grpc, play, quarks, spring boot projects into main build.

* Apply spotless

* Apply spotless

* Fix spring-boot

* Fix quarkus

* README drift

* Update updater
2022-04-14 14:37:42 +09:00
Trask Stalnaker fd5c7c5b23
markdown link checker updates (#5804) 2022-04-13 08:52:21 -07:00
Trask Stalnaker 59df222c0d
sync (#5810) 2022-04-12 19:41:29 -07:00
Trask Stalnaker bfd456addc
Workflow updates and fixes (#5785)
* Port https://github.com/open-telemetry/opentelemetry-java/pull/4353

* Port https://github.com/open-telemetry/opentelemetry-java/pull/4359

* Port https://github.com/open-telemetry/opentelemetry-java/pull/4361

* Port https://github.com/open-telemetry/opentelemetry-java/pull/4362

* More syncing

* And sync markdown link check

Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-04-11 14:55:29 -07:00
Trask Stalnaker ad2243fcf4
Fix misspell check (#5786) 2022-04-11 10:19:42 +03:00