Commit Graph

89 Commits

Author SHA1 Message Date
dependabot[bot] c444473e9b
Bump testcontainers from 1.16.2 to 1.17.6 in /benchmark-overhead (#7584)
Bumps
[testcontainers](https://github.com/testcontainers/testcontainers-java)
from 1.16.2 to 1.17.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/testcontainers/testcontainers-java/releases">testcontainers's
releases</a>.</em></p>
<blockquote>
<h2>1.17.6</h2>
<h1>What's Changed</h1>
<h2>Highlights</h2>
<p>This release has been made possible through the efforts of 20
contributors. The Testcontainers does not cease to amaze us, thanks to
everyone of you and thanks for the ongoing support and collaboration
🥰.</p>
<p>This release brings a lot of database love with 2 new modules, and as
always a couple of bug fixes and improvements</p>
<h3>New Module: QuestDB (<a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/5995">#5995</a>)
<a href="https://github.com/Vangreen"><code>@​Vangreen</code></a></h3>
<p><a href="https://questdb.io/">QuestDB</a>, is a high-performance,
open-source SQL database for applications in financial services, IoT,
machine learning, DevOps and observability.</p>
<pre lang="java"><code>var container = new
QuestDBContainer(&quot;questdb/questdb:6.5.3&quot;)
container.start()
var connectionUrl = container.getHttpUrl()
// use the connectionUrl and start testing!
</code></pre>
<h3>New Module: YugabyteDB (<a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/4372">#4372</a>)
<a
href="https://github.com/srinivasa-vasu"><code>@​srinivasa-vasu</code></a></h3>
<p><a href="https://www.yugabyte.com/">YugabyteDB</a>, is a modern
distributed SQL database for transactional cloud native applications.
PostgreSQL compatible. It offers two APIs, SQL and CQL.</p>
<pre lang="java"><code>var container = new
YugabyteDBYSQLContainer(&quot;yugabytedb/yugabyte:2.14.4.0-b26&quot;);
container.start()
var jdbcUrl = container.getJdbcUrl();
// use the jdbcUrl and start testing!
</code></pre>
<pre lang="java"><code>var container = new
YugabyteDBYCQLContainer(&quot;yugabytedb/yugabyte:2.14.4.0-b26&quot;);
container.start()
var contactPoint = container.getContactPoint();
// use the contactPoint and start testing!
</code></pre>
<h2>🚀 Features &amp; Enhancements</h2>
<ul>
<li>InfluxDB v2 support (<a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/3669">#3669</a>)
<a href="https://github.com/raminqaf"><code>@​raminqaf</code></a></li>
<li>Add support for flags in DatastoreEmulatorContainer (<a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/5993">#5993</a>)
<a
href="https://github.com/eddumelendez"><code>@​eddumelendez</code></a></li>
<li>Expose Redpanda schema registry (<a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/5994">#5994</a>)
<a
href="https://github.com/gustavomonarin"><code>@​gustavomonarin</code></a></li>
<li>Adds the ability to set a target build stage to a Dockerfile (<a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/4810">#4810</a>)
<a
href="https://github.com/GenghisChen"><code>@​GenghisChen</code></a></li>
</ul>
<h2>🐛 Bug Fixes</h2>
<ul>
<li>Fixes wrong timestamp calculation (<a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/5988">#5988</a>)
<a href="https://github.com/leblonk"><code>@​leblonk</code></a></li>
<li>Catch and ignore more errors when reflecting into container subclass
(<a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/5990">#5990</a>)
<a href="https://github.com/akhaku"><code>@​akhaku</code></a></li>
<li>Return default for empty environment variable (<a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/5983">#5983</a>)
<a href="https://github.com/roulpriya"><code>@​roulpriya</code></a></li>
</ul>
<h2>📖 Documentation</h2>
<ul>
<li>Add Spotify in Donors section (<a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/6083">#6083</a>)
<a
href="https://github.com/eddumelendez"><code>@​eddumelendez</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4a2ca136cf"><code>4a2ca13</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/6212">#6212</a>
from testcontainers/combined-pr-branch</li>
<li><a
href="388af569e9"><code>388af56</code></a>
Merge remote-tracking branch
'origin/dependabot/gradle/modules/localstack/com...</li>
<li><a
href="2748cf8f33"><code>2748cf8</code></a>
Merge remote-tracking branch
'origin/dependabot/gradle/modules/localstack/com...</li>
<li><a
href="889ea6b3f5"><code>889ea6b</code></a>
Add yugabytedb to mkdocs.yml (<a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/6211">#6211</a>)</li>
<li><a
href="c17467606c"><code>c174676</code></a>
Bump aws-java-sdk-logs from 1.12.337 to 1.12.343 in
/modules/localstack</li>
<li><a
href="c2abe0d245"><code>c2abe0d</code></a>
Bump aws-java-sdk-s3 from 1.12.337 to 1.12.343 in
/modules/localstack</li>
<li><a
href="11c3079ba5"><code>11c3079</code></a>
Merge pull request <a
href="https://github-redirect.dependabot.com/testcontainers/testcontainers-java/issues/6210">#6210</a>
from testcontainers/combined-pr-branch</li>
<li><a
href="aed19b8c3a"><code>aed19b8</code></a>
Merge remote-tracking branch
'origin/dependabot/gradle/modules/dynalite/com.a...</li>
<li><a
href="6633109869"><code>6633109</code></a>
Merge remote-tracking branch
'origin/dependabot/gradle/modules/gcloud/com.goo...</li>
<li><a
href="fa867b0d57"><code>fa867b0</code></a>
Merge remote-tracking branch
'origin/dependabot/gradle/examples/org.jetbrains...</li>
<li>Additional commits viewable in <a
href="https://github.com/testcontainers/testcontainers-java/compare/1.16.2...1.17.6">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.testcontainers:testcontainers&package-manager=gradle&previous-version=1.16.2&new-version=1.17.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-01-16 11:16:43 +01:00
dependabot[bot] 66819782bd
Bump com.diffplug.spotless from 6.12.1 to 6.13.0 in /benchmark-overhead (#7585)
Bumps com.diffplug.spotless from 6.12.1 to 6.13.0.


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.diffplug.spotless&package-manager=gradle&previous-version=6.12.1&new-version=6.13.0)](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-01-16 11:15:49 +01:00
Trask Stalnaker ba09a69a0f
More dependabot (#7577) 2023-01-16 08:53:20 +01:00
Aaron Ai 2d7395c44b
Introduce markdown lint check (#7175)
Fixes #7129
2022-11-16 20:48:42 -08:00
Trask Stalnaker 597b2a5321
More spotless (#7126) 2022-11-11 05:01:21 +00:00
Mateusz Rzeszutek 0d6f0b15d0
Update dependencies (#6499)
* Update dependencies

* Strictly pin slf4j and logback versions

* logback 1.3

* Only use slf4j 2.0.0 internally in the javaagent

* Pre-initialize slf4j provider

* Bump jackson version

* licenses
2022-09-06 13:04:30 -07:00
Lauri Tulmin 73b4b5b5c8
Update groovy and spock versions (#6521)
* Update groovy and spock versions

* testing-common shouldn't bundle junit api
2022-08-31 10:43:36 +03:00
Mateusz Rzeszutek 08f013f9d6
Update gradle to 7.5.1 (#6359)
* Update gradle to 7.5

* Bump to 7.5.1

* gradle 7.5.1 with jdk17

* spotless

* one more --add-opens

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2022-08-12 12:03:43 +02:00
Mateusz Rzeszutek 6b1d415174
Update spotless version (#6421) 2022-08-05 09:19:37 -07:00
jason plumb 6836d73efa
use the pinned petclinic version in overhead tests. (#6306) 2022-07-11 14:30:31 -07:00
jason plumb f6ba3cf9e3
fix silly path mess-up (#6305) 2022-07-11 13:18:41 -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
Jean Bisutti b4a1a2387d
Enable logging in benchmark overhead (#6252) 2022-07-01 08:18:41 -07:00
Trask Stalnaker b0eae3461c
Update spotless (#6218)
* Update spotless

* Update spotless
2022-06-26 14:44:29 -07:00
Lauri Tulmin 3611f11e39
Fix ClassCastException in overhead tests (#6019) 2022-05-12 12:03:45 -07:00
Trask Stalnaker 10d759e7c7
Update gradle in standalone modules (#5970) 2022-05-04 12:02:50 +03:00
Trask Stalnaker 7f693622ff
Replace deprecated adoptopenjdk docker images (#5971)
* Adoptium -> Temurin

* more

* windows
2022-05-04 12:01:49 +03:00
jason plumb 48f7e03188
Improve warmup phase for overhead tests (#5700)
* improve warmup phase for overhead tests

* add jfr config file that has just the minimal set of items we care about.

* Update benchmark-overhead/src/test/java/io/opentelemetry/OverheadTests.java

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2022-03-29 10:27:14 -07:00
Trask Stalnaker 3cb9ec7edf
Update to gradle 7.4.1 (#5535) 2022-03-10 12:31:08 +02:00
Trask Stalnaker 3ab1b8516f
Add markdown spell check (#5450)
* Add markdown link check

* Fix links

* update workflows

* move comment

* Add misspell check

* Fix misspellings

* Fix more misspellings

* Run against all files

* Spotless
2022-03-01 19:18:53 -08:00
Trask Stalnaker db8cd050a7
Add spotless to standalone subprojects (#5058)
* Update spotless version

* Add spotless to benchmark-overhead

* Add spotless to smoke-test images

* Add spotless to examples

* Apply spotless

* Resolve log4j conflict

* Apply spotless after upgrade
2022-01-10 12:46:52 -08:00
jason plumb b5516c8530
Enhancements to overhead tests (#4833)
* add average machine cpu total and total gc pause nanos

* Collect run durations.

* Report in config order (don't sort by name). Output new fields.

* add additional metrics to table.

* consistent casing

* bump

* instead of grouping agent data, group by field. consolidate fields into one place.

* consolidate and simplify config

* typo

* Update benchmark-overhead/src/test/java/io/opentelemetry/results/AppPerfResults.java

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* migrate heap to MB and add units where missing

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-12-08 09:23:13 -08:00
Trask Stalnaker f5016109f2
Update remaining gradle wrappers to 7.3.1 (#4835) 2021-12-07 20:50:27 -08:00
Nikita Salnikov-Tarnovski 50bfdd1043
Upgrade testcontainers version (#4727)
* Upgrade testcontainers version

* Polish

* Use more stable waiting strategy

* Upgrade all remaining testcontainrs usages
2021-11-29 09:32:41 -08:00
Trask Stalnaker f9146bcf48
Update other gradle wrappers to 7.3 (#4705) 2021-11-24 13:19:53 -08:00
Trask Stalnaker 7ae89fa3b9
Post 1.6.0 release updates (#4108) 2021-10-19 22:31:08 -07:00
jason plumb 4be3583c20
Fix the latest snapshot resolver. (#4304) 2021-10-05 13:41:54 -07:00
Trask Stalnaker cfdc4ac7e5
Change the default javaagent artifact to have exporters (#4106)
* Change default javaagent to all, introduce slim

* Update release builds

* Update examples build

* Update benchmark-overhead

* Update benchmark-e2e

* Update docs where ok pre-release

* Update misc

* Fix references to fullJavaagentJar

* Fix it

* Delete doc for pre-1.0 releases

* Attach backwards compatible "all" artifact to releases

* Comment

* Comment

* guessing

* fix

* Update version

* Add otlp/grpc exporter to slim artifact

* Fix comment
2021-10-02 11:28:11 -07:00
Trask Stalnaker 62c604f2f5
Format java files in standalone projects (#4105) 2021-09-13 16:16:25 +09:00
Trask Stalnaker 2d79e6a6ef
Upgrade all gradle wrappers (#4107)
* Upgrade all gradle wrappers

* Add doc
2021-09-13 16:16:10 +09:00
jason plumb 78c4d981fc
Use a different action and be a bit more hands-on with result handling. (#4038) 2021-09-01 09:17:02 -07:00
jason plumb df14b934b9
Benchmark results to gh pages (#3969)
* use gh-pages for benchmark overhead storage.

* remove locally generated results files (whoops)

* won't be pushing to this dir, so this can be removed now.
2021-08-26 10:16:35 -07:00
jason plumb 378d0d5f68
[overhead ] README.md enhancements (#3939)
* fill out the readme for the benchmark overhead

* remove trailing hyphen

* Update benchmark-overhead/README.md

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

* Update benchmark-overhead/README.md

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

* add units

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-08-25 08:56:25 -07:00
jason plumb 68d26a2bba
add average and max cpu to results. (#3940) 2021-08-24 18:19:29 -07:00
jason plumb e439c153c8
[overhead] - Add network average read/write to output (#3872)
* add average network read/write to the output results.

* guard against div/zero
2021-08-23 21:52:18 -07:00
jason plumb 566ec61728
[overhead] fix permissions issue with test results (#3888)
* run as root and provide a little more timeout room

* update test result data

* update test result data

* update test result data

Co-authored-by: breedx-splk <breedx-splk@users.noreply.github.com>
2021-08-23 19:56:25 +02:00
jason plumb b7577bb31e
Benchmark overhead: Accumulate and persist results (#3832)
* persist summary and csv back into the results directory

* run nightly and don't trigger CI

* leverage autocloseable

* sort once.

* use stringbuilder

* factor out writeheader method

* add comments for clarity
2021-08-19 09:47:36 -07:00
jason plumb 44b71b77e1
Overhead benchmarks: Perform a warmup phase. (#3815)
* perform a warmup phase.

* simplify approach to starting JFR recording.

* remove JMX

* use liberica jvm
2021-08-13 14:23:33 +03:00
jason plumb 21f807553f
rename directory (#3786) 2021-08-06 09:57:32 -07:00