Commit Graph

544 Commits

Author SHA1 Message Date
Trask Stalnaker 827236e749
Remove opentelemetry-operator automation (#8728) 2023-06-15 08:56:20 -07:00
Lauri Tulmin f0b9a25d05
Run native image test with jdk17 (#8717) 2023-06-14 11:24:47 +02:00
Trask Stalnaker ee986a035b
Open issue on native test failure (#8699)
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-06-13 14:54:27 +00:00
Lauri Tulmin c888c085ec
Fix comment driven automation (#8614) 2023-05-31 06:41:41 +00:00
Lauri Tulmin f3a58b2524
Stop gradle daemon before codeql analysis (#8600) 2023-05-30 10:57:26 +00:00
Lauri Tulmin 4497c10b8f
Increase gradle heap size for codeql action (#8593) 2023-05-29 16:32:07 +02:00
Mateusz Rzeszutek 0007b160b8
Use Java 17 for all GHA gradle builds (#8590) 2023-05-29 12:01:21 +02:00
Trask Stalnaker 66d3363be8
Open issue on OWASP workflow failure (#8579) 2023-05-26 07:46:25 +02:00
Lauri Tulmin aabe3da0ea
Pin jdk 17 version to 17.0.6 (#8557) 2023-05-24 07:46:56 -07:00
Trask Stalnaker 58cc55dba4
Fix update-gradle-wrappers workflow (again) (#8549) 2023-05-23 08:42:45 +03:00
Trask Stalnaker 2b0310e1b9
Fix gradle wrapper workflow notification (#8545) 2023-05-22 16:07:50 +00:00
Trask Stalnaker bea517a3fc
Fix workflow notifications (#8544) 2023-05-22 08:49:30 -07:00
Trask Stalnaker a41158fa1b
Auto-update gradle wrappers (#8532) 2023-05-19 16:01:10 -07:00
Trask Stalnaker 50ca91d1c5
Fix workflows (#8457) 2023-05-09 11:56:25 -07:00
Trask Stalnaker 48688b8f37
Don't create duplicate issues on workflow failures (#8441)
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2023-05-09 08:57:47 -07:00
Lauri Tulmin f1d946e0f3
Run tests with java 20 (#8314) 2023-04-19 13:44:38 -07:00
Trask Stalnaker 41d7ed00b5
Fix auto-update SDK automation (#8260) 2023-04-10 08:47:26 -07:00
Lauri Tulmin 8fba02e391
Skip spotless and other checks in CI test step (#8142)
Currently we run spotless and other checks for each of the parallel test
steps which seems wasteful. Here is an attempt to run only the tests in
given partition without any extra checks in the `test` step and run all
the checks in the `build` step.
2023-04-04 10:43:12 -07:00
Trask Stalnaker eb83b216a7
Remove doc version auto-update (#8198)
the auto-update will be triggered from the doc repo after
https://github.com/open-telemetry/opentelemetry.io/pull/2568
2023-04-03 11:33:23 -07:00
dependabot[bot] 67aabce866
Bump actions/checkout from 2 to 3 (#8178) 2023-03-30 15:55:00 -07:00
Jean Bisutti c5ef8ffd60
Add GraalVM native tests (#8163)
This PR allows:
* Executing the OTel Logback appender tests as GraalVM native
executables
* Executing the native tests once a day on Github

---------

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-03-30 14:10:48 -07:00
Trask Stalnaker b3204d9852
Better comment-driven automation (#8168) 2023-03-30 11:40:37 +02:00
dependabot[bot] de0f51ef47
Bump actions/stale from 7 to 8 (#8118)
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/stale/releases">actions/stale's
releases</a>.</em></p>
<blockquote>
<h2>v8.0.0</h2>
<p>⚠️ This version contains breaking changes ⚠️</p>
<h2>What's Changed</h2>
<ul>
<li>New option labels-to-remove-when-stale enables users to specify list
of coma delimited labels that will be removed when the issue or PR
becomes stale by <a
href="https://github.com/panticmilos"><code>@​panticmilos</code></a> <a
href="https://redirect.github.com/actions/stale/issues/770">actions/stale#770</a></li>
<li>Skip deleting the branch in the upstream of a forked repo by <a
href="https://github.com/dsame"><code>@​dsame</code></a> <a
href="https://redirect.github.com/actions/stale/pull/913">actions/stale#913</a></li>
<li>abort the build on the error by <a
href="https://github.com/dsame"><code>@​dsame</code></a> in <a
href="https://redirect.github.com/actions/stale/pull/935">actions/stale#935</a></li>
</ul>
<h2>Breaking Changes</h2>
<ul>
<li>In this release we prevent scenarios when the build is not
interrupted on some exceptions, which led to successful builds when they
are supposed to fail</li>
</ul>
<h2>Example</h2>
<pre lang="yaml"><code>name: 'Remove labels when the issue or PR becomes
stale'
on:
  schedule:
    - cron: '30 1 * * *'
<p>permissions:
pull-request: write</p>
<p>jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
labels-to-remove-when-stale: 'label1,label2'
</code></pre></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/actions/stale/blob/main/CHANGELOG.md">actions/stale's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h1>[7.0.0]</h1>
<p>⚠️ Breaking change ⚠️</p>
<ul>
<li>Allow daysBeforeStale options to be float by <a
href="https://github.com/irega"><code>@​irega</code></a> in <a
href="https://redirect.github.com/actions/stale/pull/841">actions/stale#841</a></li>
<li>Use cache in check-dist.yml by <a
href="https://github.com/jongwooo"><code>@​jongwooo</code></a> in <a
href="https://redirect.github.com/actions/stale/pull/876">actions/stale#876</a></li>
<li>fix print outputs step in existing workflows by <a
href="https://github.com/irega"><code>@​irega</code></a> in <a
href="https://redirect.github.com/actions/stale/pull/859">actions/stale#859</a></li>
<li>Update issue and PR templates, add/delete workflow files by <a
href="https://github.com/IvanZosimov"><code>@​IvanZosimov</code></a> in
<a
href="https://redirect.github.com/actions/stale/pull/880">actions/stale#880</a></li>
<li>Update how stale handles exempt items by <a
href="https://github.com/johnsudol"><code>@​johnsudol</code></a> in <a
href="https://redirect.github.com/actions/stale/pull/874">actions/stale#874</a></li>
</ul>
<h1>[6.0.1]</h1>
<p>Update <code>@​actions/core</code> to v1.10.0 (<a
href="https://redirect.github.com/actions/stale/pull/839">#839</a>)</p>
<h1>[6.0.0]</h1>
<p>⚠️ Breaking change ⚠️</p>
<p>Issues/PRs default <code>close-issue-reason</code> is now
<code>not_planned</code>(<a
href="https://redirect.github.com/actions/stale/issues/789">#789</a>)</p>
<h1>[5.1.0]</h1>
<p><a href="https://redirect.github.com/actions/stale/issues/696">Don't
process stale issues right after they're marked stale</a>
[Add close-issue-reason option]<a
href="https://redirect.github.com/actions/stale/pull/764">#764</a><a
href="https://redirect.github.com/actions/stale/pull/772">#772</a>
Various dependabot/dependency updates</p>
<h2><a
href="https://github.com/actions/stale/compare/v3.0.19...v4.1.0">4.1.0</a>
(2021-07-14)</h2>
<h2>Features</h2>
<ul>
<li><a
href="9912fa74d1">Ability
to exempt draft PRs</a></li>
</ul>
<h2><a
href="https://github.com/actions/stale/compare/v3.0.19...v4.0.0">4.0.0</a>
(2021-07-14)</h2>
<h3>Features</h3>
<ul>
<li><strong>options:</strong> simplify config by removing skip stale
message options (<a
href="https://redirect.github.com/actions/stale/issues/457">#457</a>)
(<a
href="6ec637d238">6ec637d</a>),
closes <a
href="https://redirect.github.com/actions/stale/issues/405">#405</a> <a
href="https://redirect.github.com/actions/stale/issues/455">#455</a></li>
<li><strong>output:</strong> print output parameters (<a
href="https://redirect.github.com/actions/stale/issues/458">#458</a>)
(<a
href="3e6d35b685">3e6d35b</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>dry-run:</strong> forbid mutations in dry-run (<a
href="https://redirect.github.com/actions/stale/issues/500">#500</a>)
(<a
href="f1017f33dd">f1017f3</a>),
closes <a
href="https://redirect.github.com/actions/stale/issues/499">#499</a></li>
<li><strong>logs:</strong> coloured logs (<a
href="https://redirect.github.com/actions/stale/issues/465">#465</a>)
(<a
href="5fbbfba142">5fbbfba</a>)</li>
<li><strong>operations:</strong> fail fast the current batch to respect
the operations limit (<a
href="https://redirect.github.com/actions/stale/issues/474">#474</a>)
(<a
href="5f6f311ca6">5f6f311</a>),
closes <a
href="https://redirect.github.com/actions/stale/issues/466">#466</a></li>
<li><strong>label comparison</strong>: make label comparison case
insensitive <a
href="https://redirect.github.com/actions/stale/pull/517">#517</a>,
closes <a
href="https://redirect.github.com/actions/stale/pull/516">#516</a></li>
<li><strong>filtering comments by actor could have strange
behavior</strong>: &quot;stale&quot; comments are now detected based on
if the message is the stale message not <em>who</em> made the comment(<a
href="https://redirect.github.com/actions/stale/pull/519">#519</a>),
fixes <a
href="https://redirect.github.com/actions/stale/pull/441">#441</a>, <a
href="https://redirect.github.com/actions/stale/pull/509">#509</a>, <a
href="https://redirect.github.com/actions/stale/pull/518">#518</a></li>
</ul>
<h3>Breaking Changes</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="1160a22402"><code>1160a22</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/stale/issues/965">#965</a>
from actions/dependabot/npm_and_yarn/prettier-2.8.6</li>
<li><a
href="5f7b396645"><code>5f7b396</code></a>
build(deps-dev): bump prettier from 2.8.4 to 2.8.6</li>
<li><a
href="b002e7ec85"><code>b002e7e</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/stale/issues/941">#941</a>
from panticmilos/vmpantic/rebuild-dist-vercel-bump</li>
<li><a
href="52903732a4"><code>5290373</code></a>
Rebuild dist after rebase</li>
<li><a
href="b006677dea"><code>b006677</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/stale/issues/962">#962</a>
from actions/dependabot/npm_and_yarn/jest-and-types/j...</li>
<li><a
href="4f29769aee"><code>4f29769</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/stale/issues/961">#961</a>
from actions/dependabot/npm_and_yarn/typescript-5.0.2</li>
<li><a
href="83453dd842"><code>83453dd</code></a>
build(deps-dev): bump jest and <code>@​types/jest</code></li>
<li><a
href="79e8c046ed"><code>79e8c04</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/stale/issues/960">#960</a>
from actions/dependabot/npm_and_yarn/types/node-18.15.3</li>
<li><a
href="75d4d955ac"><code>75d4d95</code></a>
Remove labels on stale (<a
href="https://redirect.github.com/actions/stale/issues/959">#959</a>)</li>
<li><a
href="fac2d41a88"><code>fac2d41</code></a>
build(deps-dev): bump typescript from 4.9.4 to 5.0.2</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/stale/compare/v7...v8">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/stale&package-manager=github_actions&previous-version=7&new-version=8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-24 08:37:20 +01:00
Lauri Tulmin 9c21045c18
Add security manager test app (#8115)
For testing
https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/7983
2023-03-23 18:35:17 +02:00
Lauri Tulmin aad49e8836
Use markdown-link-check 3.10.3 (#8081)
Newly released markdown-link-check `3.11.0` ignores our configuration
file.
2023-03-18 22:23:45 +02:00
Trask Stalnaker a7dc2ef5a6
Fix CodeQL build (#7991)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-03-07 10:14:26 +02:00
Lauri Tulmin 160ce88aca
Set smoke test image tag before workflow branches (#7979)
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7969
2023-03-07 08:56:36 +02:00
Trask Stalnaker d27dd892ce
Don't fail-fast for testLatestDeps (#7992)
(similar to all of the other matrix builds)
2023-03-07 08:55:01 +02:00
Trask Stalnaker ac709f4957
Update to Gradle 7.6.1 (#7910)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-03-01 11:27:26 -08:00
Trask Stalnaker 6cb00d3de0
Fix sdk version in release notes (#7880) 2023-02-23 12:38:54 +01:00
dependabot[bot] 322b15fea7
Bump gradle/wrapper-validation-action from 1.0.5 to 1.0.6 (#7861)
Bumps
[gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action)
from 1.0.5 to 1.0.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/gradle/wrapper-validation-action/releases">gradle/wrapper-validation-action's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.6</h2>
<h1>Gradle Wrapper Validation</h1>
<ul>
<li>Security vulnerability: <a
href="959bfac6da">Bump
json5 from 1.0.1 to 1.0.2</a></li>
<li>Security vulnerability: <a
href="ffa46e5c87">Bump
qs from 6.10.1 to 6.11.0</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8d49e559aa"><code>8d49e55</code></a>
Use Node 16 for CI workflow</li>
<li><a
href="553793aaea"><code>553793a</code></a>
Build outputs</li>
<li><a
href="79fc16cf9b"><code>79fc16c</code></a>
Add name to package_lock</li>
<li><a
href="bc61a16645"><code>bc61a16</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/gradle/wrapper-validation-action/issues/68">#68</a>
from TWiStErRob/patch-2</li>
<li><a
href="64a4451e28"><code>64a4451</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/gradle/wrapper-validation-action/issues/71">#71</a>
from gradle/dependabot/npm_and_yarn/json5-1.0.2</li>
<li><a
href="664dcf59c9"><code>664dcf5</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/gradle/wrapper-validation-action/issues/70">#70</a>
from gradle/dependabot/npm_and_yarn/qs-6.11.0</li>
<li><a
href="dabb1b52d3"><code>dabb1b5</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/gradle/wrapper-validation-action/issues/73">#73</a>
from obfusk/patch-2</li>
<li><a
href="777fab02ef"><code>777fab0</code></a>
fix typo: diffoscope not DiffScope</li>
<li><a
href="6c56157398"><code>6c56157</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/gradle/wrapper-validation-action/issues/72">#72</a>
from gradle/no/checkout-3</li>
<li><a
href="a63eded8e0"><code>a63eded</code></a>
Update workflows to v3</li>
<li>Additional commits viewable in <a
href="https://github.com/gradle/wrapper-validation-action/compare/v1.0.5...v1.0.6">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=gradle/wrapper-validation-action&package-manager=github_actions&previous-version=1.0.5&new-version=1.0.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-21 09:51:56 +02:00
Lauri Tulmin 0351cfbdb5
Fix vaadin 14 test failures (#7856)
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7859
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7855
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/7854
Apparently default node version was change to 18 for github actions. I
wasn't able to reproduce the failure, nor find anything in the test
output that would help to pinpoint the exact cause of the failure.
Changing the node version to 16 seems to get vaadin 14 tests passing
again.
2023-02-20 11:58:59 +01:00
Trask Stalnaker ee722f9a4a
Fix auto-update action (#7804)
so it doesn't keep trying to open new PRs while existing PR is open
2023-02-11 12:38:40 -08:00
Trask Stalnaker 2d776af318
Auto-update OTel SDK (#7633)
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-02-10 21:34:47 +00:00
Trask Stalnaker b72e28a1a8
Use new org secret (#7759) 2023-02-08 08:34:17 +01: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 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 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 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
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 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 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
Mateusz Rzeszutek c82fb91fa1
Freeze markdown-link-check-version (#5975) 2022-05-04 17:25:09 +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
Anuraag Agrawal 7e428168ff
Update dependencies (#5777)
* Update dependencies

* Update licenses

* Exclude licenses from link check

* Exclude licenses from link check?
2022-04-08 20:00:53 +09:00
Trask Stalnaker 5b0d9e31ce
Remove old status check (#5750) 2022-04-04 14:22:51 -07:00
Trask Stalnaker d908821072
Workflow cleanup/sync (#5736)
* Workflow cleanup/sync

* more

* more

* more

* fix

* consistency

* Use simpler sharing of env vars across steps

* Simplify, merge related jobs

* Simplify

* More improvements

* Use release/* release branch naming
2022-04-04 11:51:12 -07:00
Lauri Tulmin 56e3ed67a9
Collect crash dumps for smoke tests (#5741) 2022-04-02 11:42:11 -07:00
Anuraag Agrawal da1dc66512
Create PR in operator repo on javaagent release. (#5710)
* File issue in operator repo on javaagent release.

* Open PR instead of issue

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-04-01 10:04:30 -07:00
Trask Stalnaker 0cc9cf0ef6
Fix prepare patch release workflow (#5719) 2022-03-31 11:43:33 +09:00
Trask Stalnaker ba3863eb1b
Sync github actions (#5695)
* Automate post-release change log merging

* wording

* rearrange

* wording

* Follow general template

* Update RELEASING

* Update RELEASING

* Update RELEASING

* Sync github actions

* more

* more

* Remove outdated comment

* Updates

* sync

* more
2022-03-29 10:21:17 -07:00
Trask Stalnaker 64b930f5a1
Fix bot branch names (#5689)
* Fix bot branch names

* git commit -a
2022-03-25 09:59:35 -07:00
Trask Stalnaker ec97a438d5
Automate backports (#5686)
* Automate backports

* Update releasing doc

* updates
2022-03-25 09:59:22 -07:00
Trask Stalnaker 877b219bcf
Update required status check (#5659)
* Update required status check

* Keep name for now
2022-03-22 16:52:37 -07:00
Trask Stalnaker 3ebb6283d8
Remove more third-party github actions (#5657) 2022-03-21 16:43:32 -07:00