Commit Graph

507 Commits

Author SHA1 Message Date
Lauri Tulmin f0b9a25d05
Run native image test with jdk17 (#8717) 2023-06-14 11:24:47 +02:00
Trask Stalnaker 7a40f1ba2b
Doc another secret (#8709) 2023-06-14 06:55:07 +00: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
Trask Stalnaker 102ce2229d
Document repository secret ownership (#8700) 2023-06-13 07:46:20 -07: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
Trask Stalnaker fb1e58d103
Update repo settings (#8562) 2023-05-25 16:15:47 +00:00
Lauri Tulmin aabe3da0ea
Pin jdk 17 version to 17.0.6 (#8557) 2023-05-24 07:46:56 -07:00
Trask Stalnaker 2d7bd70057
Clean up labels (#8546) 2023-05-23 12:56:48 +03: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 8436acef60
Enable secret scanning (#8514) 2023-05-17 19:27:19 +03: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
Trask Stalnaker 84a8c11ae4
Fine-tune releasing instructions (#8384) 2023-04-28 08:57:41 +02: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
Trask Stalnaker fbdd611ab5
Update squash merge commit message (#8229) 2023-04-06 15:29:29 +00: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
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