Commit Graph

294 Commits

Author SHA1 Message Date
Anuraag Agrawal a7e3696176
Revert patch release workflow to 1.7.x version (#4586) 2021-11-04 12:49:09 +09:00
Mateusz Rzeszutek 2aaf4cd961
Fix CI snapshot build (#4572) 2021-11-02 14:25:30 -07:00
Trask Stalnaker e3620a4ab7
Fix the build (#4559) 2021-11-01 15:02:31 -07:00
Trask Stalnaker 37e24ec924
Sync gradle-plugins version with main project (#4248)
* Sync gradle-plugins version with main project

* More fixes

* Can rely on examples build against all branches now?

* Use common version.gradle.kts

* Update doc

* Simplify
2021-10-29 10:34:49 -07:00
Trask Stalnaker 3e3024d2b9
Fix patch release build (#4530) 2021-10-27 13:09:27 -07:00
dependabot[bot] 2ed3f2a006
Bump nick-invision/retry from 2.5.0 to 2.5.1 (#4502)
Bumps [nick-invision/retry](https://github.com/nick-invision/retry) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/nick-invision/retry/releases)
- [Changelog](https://github.com/nick-invision/retry/blob/master/.releaserc.js)
- [Commits](https://github.com/nick-invision/retry/compare/v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: nick-invision/retry
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-26 11:01:39 +09:00
Nikita Salnikov-Tarnovski e1e30eb502
Remove --stacktrace from gradle builds (#4470) 2021-10-22 08:38:54 -07:00
Trask Stalnaker 5d7c0dd95b
Fix nightly no cache build (#4449) 2021-10-20 12:08:18 -07:00
Trask Stalnaker 9c19ecdda3
Fix nightly build (#4434) 2021-10-19 22:29:33 -07:00
Lauri Tulmin 17a85bbc22
Use byte-buddy-dep instead of byte-buddy (#4400)
* Use byte-buddy-dep instead of byte-buddy

* print stacktrace on examples failure

* try to fix gradle plugins

* try to fix extension build

* try to fix extension build

* try to fix extension build

* try to fix extension build

* try removing mavenLocal

* add mavenLocal plugin repository

* publish gradle-plugins to mavenLocal for examples ci build

* Fix bytebuddy exclusion
2021-10-19 13:46:48 -07:00
Trask Stalnaker dce8c91ee5
Fix release build yaml (#4429) 2021-10-19 12:44:37 -07:00
dependabot[bot] 746631d212
Bump nick-invision/retry from 2.4.1 to 2.5.0 (#4325)
Bumps [nick-invision/retry](https://github.com/nick-invision/retry) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/nick-invision/retry/releases)
- [Changelog](https://github.com/nick-invision/retry/blob/master/.releaserc.js)
- [Commits](https://github.com/nick-invision/retry/compare/v2.4.1...v2.5.0)

---
updated-dependencies:
- dependency-name: nick-invision/retry
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-08 09:05:58 +02:00
Trask Stalnaker 02b8f0d6dc
Open issue on nightly benchmark job failure (#4305)
* Open issue on nightly benchmark job failure

* feedback
2021-10-06 11:52:20 -07:00
Trask Stalnaker 9edb3fd4f5
Rename smoke test image modules (#4295)
* Move under images directory

* Update references

* More

* Rename matrix to servlet

* executable

* Missed rename
2021-10-05 15:47:01 +09: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 1841200e91
Verify example extension during release build (#4247) 2021-09-30 10:00:45 -07:00
Trask Stalnaker d82c9396ed
Faster patch release build (#4249) 2021-09-30 15:44:57 +03:00
Trask Stalnaker 49df789752
Fix sporadic build failure (#4231) 2021-09-29 10:40:20 +03:00
dependabot[bot] 4d57fc26b8
Bump JasonEtco/create-an-issue from 2.5.0 to 2.6 (#4225)
Bumps [JasonEtco/create-an-issue](https://github.com/JasonEtco/create-an-issue) from 2.5.0 to 2.6.
- [Release notes](https://github.com/JasonEtco/create-an-issue/releases)
- [Commits](https://github.com/JasonEtco/create-an-issue/compare/v2.5.0...v2.6)

---
updated-dependencies:
- dependency-name: JasonEtco/create-an-issue
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 16:30:53 -07:00
Trask Stalnaker c7a7b4515c
Suppress snapshot publishing on forks (#4202) 2021-09-28 09:04:13 -07:00
Trask Stalnaker 0b9d8c37a5
Remove collector from smoke tests (#4186) 2021-09-21 12:33:01 -07:00
Trask Stalnaker 411fcca89a
Fix open issue on failure (#4161) 2021-09-17 11:50:38 -07:00
Trask Stalnaker 28c68b91a0
Update "other" smoke tests to Java 16 (#4144)
* Update "other" smoke tests to Java 16

* Bump extraTag

* Play doesn't support Java 16 (or 17) yet

* Fix formatting
2021-09-17 11:50:21 -07:00
Trask Stalnaker 6c8175194d
Open issue on smoke test image publishing failure (#4146)
* Open issue on smoke test image publishing failure

* Update .github/templates/smoke-test-image-publishing-failed.md

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

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-09-17 10:54:15 -07:00
Trask Stalnaker 07b5d667ec
Build smoke test images on PR (#4145)
* Build smoke test images on PR

* publish -> build

* Play doesn't support Java 16 (or 17) yet
2021-09-17 09:40:53 -07:00
Trask Stalnaker 11bc04af9c
Better build names for smoke test images (#4131) 2021-09-15 09:39:37 -07:00
Trask Stalnaker d9a0bdfde2
Fix windows smoke test image build (#4115) 2021-09-13 11:40:23 -07:00
Trask Stalnaker a576dd5625
Update smoke test docker images (#4095)
* Update smoke test docker images

* Parallelize

* Clean up

* Some linux Java 17

* Less
2021-09-13 09:59:48 -07:00
Nikita Salnikov-Tarnovski 1db3f657d1
Update ci.yml (#4111)
Require successful `muzzle` step before publishing snapshots
2021-09-13 14:30:32 +02:00
Trask Stalnaker bf2512213e
Consistent naming for nightly builds (#4101) 2021-09-13 16:16:44 +09:00
dependabot[bot] ce85fd963c
Bump technote-space/workflow-conclusion-action from 2.1.7 to 2.2 (#4054)
Bumps [technote-space/workflow-conclusion-action](https://github.com/technote-space/workflow-conclusion-action) from 2.1.7 to 2.2.
- [Release notes](https://github.com/technote-space/workflow-conclusion-action/releases)
- [Changelog](https://github.com/technote-space/workflow-conclusion-action/blob/main/.releasegarc)
- [Commits](https://github.com/technote-space/workflow-conclusion-action/compare/v2.1.7...v2.2)

---
updated-dependencies:
- dependency-name: technote-space/workflow-conclusion-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-07 11:40:03 +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
Trask Stalnaker 6bf893bdc6
Fix patch release workflow to push changes (#4034) 2021-08-31 09:48:48 -07:00
Trask Stalnaker ecde2c7940
Fix smoke tests on windows (#4011)
* Revert "Use --no-daemon on windows builds (#4000)"

This reverts commit c13063b5ea.

* Fix sporadic smoke test failure on Windows
2021-08-29 21:15:20 -07:00
Trask Stalnaker c13063b5ea
Use --no-daemon on windows builds (#4000) 2021-08-28 10:19:09 -07:00
Trask Stalnaker a5f622a5a2
Fix windows smoke tests in patch release build (#3982)
* Fix windows smoke tests in patch release build

* Update docs
2021-08-26 23:52:20 -07:00
Trask Stalnaker f0c5699b4c
Cherry-pick before running patch release tests (#3979) 2021-08-26 21:54:17 -07:00
Trask Stalnaker f49879ddd9
Fix release yml files (#3977) 2021-08-26 20:56:15 -07:00
jason plumb b16331678b
remove local gh-pages dir after rsync (#3973) 2021-08-26 12:11:23 -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
Trask Stalnaker b66d74459e
Add building gradle-plugins to GHA workflows (#3951)
* Add building gradle-plugins to GHA workflows

* Fix nightly-no-cache

* Fix yaml

* Fix

* Add --no-build-cache for nightly-no-cache

* Sync
2021-08-25 13:09:43 -07:00
Trask Stalnaker e38b80f0e1
Add muzzle to other builds (#3943) 2021-08-25 08:15:35 -07:00
Trask Stalnaker f2605f9acc
Capture OpenJ9 javacore files for troubleshooting (#3931) 2021-08-25 10:20:13 +02:00
Trask Stalnaker 6ceeacd381
Fix examples build (#3899)
* Fix examples build

* Publish main repo artifacts locally

* Sync builds

* Fix init script?

* Fix publishing of agent-for-testing
2021-08-22 17:26:51 -07:00
jason plumb 46d06f51f5
whoops, missed a colon. #justyamlstuff (#3879) 2021-08-19 11:43:40 -07: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 73b1560283
fix action after dir was renamed (#3871) 2021-08-19 09:23:37 +09:00
Nikita Salnikov-Tarnovski d73710b4dc
Run tests on j9 JVM during CI (#3764)
* During PR runs tests on j9 JVM as well

* Run test matrix on J9 as well
2021-08-12 11:13:42 +03:00
Nikita Salnikov-Tarnovski 32351d0bab
Publish muzze plugins to Gradle Plugin Portal only when manually requested. (#3763)
Restored publishing to Sonatype OSS repository on every change
2021-08-04 08:59:53 +03:00
Nikita Salnikov-Tarnovski 455574635f
Publish muzze plugins to Gradle Plugin Portal (#3720) 2021-08-03 16:49:27 +03:00
Nikita Salnikov-Tarnovski 1785db5331
Extension snapshot (#3625)
* Try to build examples against locally published snapshot

* Always build examples against latest snapshot

* Add Gradle init script to remove sonatype repo

* Build examples against locally published version only during nightly builds

* Update distro demo to the latest snapshot as well
2021-07-28 15:50:27 +03:00
jason plumb edea07a0ad
Add gh action to publish base image for overhead testing (#3640)
* Add gh action to publish base image for overhead testing

* rebuild/publish when the dockerfile changes.
2021-07-22 16:07:56 +03:00
Anuraag Agrawal b6fb8753bd
Replace save-gradle-dependencies: false with read-only: true (#3618) 2021-07-19 19:57:32 +03:00
Anuraag Agrawal 47bdc0d6d2
Specialize dependencies cache key for testLatestDeps (#3584)
* Specialize dependencies cache key for smoke-tests

* B

* C

* D

* Fix merge

* Don't need mkdir -p
2021-07-16 11:46:21 +03:00
Nikita Salnikov-Tarnovski 7155dfcfeb
Only one main build should persist gradle depdencies to GHA cache (#3593) 2021-07-16 13:33:53 +09:00
Nikita Salnikov-Tarnovski 1d4a1bfa73
Call correct tasks for publishing (#3586)
* Call correct tasks for publishing

* Don't close sonatype repo
2021-07-15 17:53:09 +03:00
Nikita Salnikov-Tarnovski d8dabf5c76
Publish gradle plugins to Sonatype (#3571)
* Publish gradle plugins to Sonatype

* Change artifact group
2021-07-15 14:07:10 +03:00
Nikita Salnikov-Tarnovski 1170c1a526
Don't use cache for distro build (#3581) 2021-07-15 13:01:55 +03:00
Anuraag Agrawal 1e57fd0f54
Enable smoke-tests iff specified on command line (#3542)
* Enable smoke-tests iff specified on command line

* README
2021-07-12 13:29:48 +03:00
Trask Stalnaker f28ccf5c11
Sync GHA matrix property names with sdk repo (#3487) 2021-07-05 10:50:29 -07:00
Anuraag Agrawal 96104cc3e7
Add prepare-release-branch to release needs since output is used. (#3456) 2021-07-01 13:22:15 +09:00
Trask Stalnaker e6e0910cd4
Build Java 16 smoke test images (#3455) 2021-06-30 20:43:22 -07:00
dependabot[bot] e6209c3b67
Bump technote-space/workflow-conclusion-action from 2.1.6 to 2.1.7 (#3393) 2021-06-24 11:07:35 +03:00
dependabot[bot] da11d9438d
Bump docker/login-action from 1.9.0 to 1.10.0 (#3394) 2021-06-24 11:06:18 +03:00
Anuraag Agrawal d65738df62
Fix drift in patch release workflow file (#3384) 2021-06-23 13:14:12 +09:00
Lauri Tulmin 5b5992faa9
Gradle wrapper caching try 2 (#3377) 2021-06-22 09:36:03 -07:00
Lauri Tulmin 19a650027a
Cache gradle wrapper (#3363) 2021-06-21 09:35:15 -07:00
Trask Stalnaker 80b5a47406
Minor updates to release yml files (#3349) 2021-06-18 09:51:33 +09:00
Anuraag Agrawal 353ecedcc0
Remove testLatestDeps from release build. (#3343) 2021-06-17 10:28:34 -07:00
Trask Stalnaker f1beb2397f
Intellij cleanup of markdown and yaml (#3284)
* Intellij cleanup of markdown and yaml

* Revert required yaml param
2021-06-14 13:13:01 +03:00
Trask Stalnaker ac9cd8d56a
Consistent github workflows extension (#3278)
* Consistent github workflows extension

* yaml -> yml
2021-06-14 10:10:26 +03:00
Trask Stalnaker be983a9439
Rename testLatestDep job to match flag name (#3277) 2021-06-14 11:30:25 +09:00
dependabot[bot] 5fdba59c51
Bump nick-invision/retry from 2.4.0 to 2.4.1 (#3249)
Bumps [nick-invision/retry](https://github.com/nick-invision/retry) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/nick-invision/retry/releases)
- [Changelog](https://github.com/nick-invision/retry/blob/master/.releaserc.js)
- [Commits](https://github.com/nick-invision/retry/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: nick-invision/retry
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 10:26:13 +03:00
Anuraag Agrawal 86ace9dcb4
Cancel in-progress PR builds when new commit is pushed. (#3217)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-08 08:20:15 +09:00
Trask Stalnaker 4ce2cac645
Sync yaml files (#3145) 2021-05-31 13:43:19 -07:00
dependabot[bot] c3c5c11acb
Bump gradle/wrapper-validation-action from 1.0.3 to 1.0.4 (#3149)
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](https://github.com/gradle/wrapper-validation-action/compare/v1.0.3...v1.0.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 07:59:11 -07:00
Trask Stalnaker 9ba984ffb8
Consistent job ordering within yaml files (#3143) 2021-05-30 19:53:52 -07:00
Trask Stalnaker d3cfd9b8ef
Retry muzzle CI step (#3141) 2021-05-31 10:12:52 +09:00
Trask Stalnaker 41f092d0e2
Fix nightly build yaml (#3133) 2021-05-30 14:01:36 +09:00
Trask Stalnaker ceb0ce9b35
Publish snapshot on every merge to main (#3097) 2021-05-27 09:38:13 -07:00
Trask Stalnaker bcfd6b4d67
Re-enable smoke tests in release build (#3006) 2021-05-16 22:05:04 -07:00
Anuraag Agrawal 615d51ad2a
Remove leftover references to bintray secrets. (#2991) 2021-05-14 18:18:25 +09:00
Anuraag Agrawal 81f9d1853f
Disable smoke tests in release build since we can't run them inline with other builds effectively. (#2990) 2021-05-14 16:04:03 +09:00
Anuraag Agrawal 3118bf2e49
Use GITHUB_TOKEN for ghcr.io push now that it's supported. (#2989) 2021-05-14 13:58:08 +09:00
dependabot[bot] c617a29e70
Bump actions/upload-release-asset from 1 to 1.0.2 (#2979)
Bumps [actions/upload-release-asset](https://github.com/actions/upload-release-asset) from 1 to 1.0.2.
- [Release notes](https://github.com/actions/upload-release-asset/releases)
- [Commits](https://github.com/actions/upload-release-asset/compare/v1...v1.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-14 13:15:19 +09:00
dependabot[bot] 3e4ea76149
Bump technote-space/workflow-conclusion-action from 1 to 2.1.6 (#2957)
Bumps [technote-space/workflow-conclusion-action](https://github.com/technote-space/workflow-conclusion-action) from 1 to 2.1.6.
- [Release notes](https://github.com/technote-space/workflow-conclusion-action/releases)
- [Changelog](https://github.com/technote-space/workflow-conclusion-action/blob/master/.releasegarc)
- [Commits](https://github.com/technote-space/workflow-conclusion-action/compare/v1...v2.1.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 20:21:21 -07:00
dependabot[bot] c167731cec
Bump JasonEtco/create-an-issue from 2 to 2.5.0 (#2978)
Bumps [JasonEtco/create-an-issue](https://github.com/JasonEtco/create-an-issue) from 2 to 2.5.0.
- [Release notes](https://github.com/JasonEtco/create-an-issue/releases)
- [Commits](https://github.com/JasonEtco/create-an-issue/compare/v2...v2.5.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 13:38:34 -07:00
dependabot[bot] 02ac89c549
Bump gradle/wrapper-validation-action from 1 to 1.0.3 (#2963)
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 1 to 1.0.3.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](https://github.com/gradle/wrapper-validation-action/compare/v1...v1.0.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 21:21:43 -07:00
dependabot[bot] 0b38133704
Bump docker/login-action from 1 to 1.9.0 (#2965)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 1.9.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v1.9.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 09:30:05 -07:00
dependabot[bot] eefa76df2b
Bump actions/checkout from 2 to 2.3.4 (#2966)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 09:29:57 -07:00
dependabot[bot] 53707960d7
Bump actions/create-release from 1 to 1.1.4 (#2964)
Bumps [actions/create-release](https://github.com/actions/create-release) from 1 to 1.1.4.
- [Release notes](https://github.com/actions/create-release/releases)
- [Commits](https://github.com/actions/create-release/compare/v1...v1.1.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 09:29:40 -07:00
Nikita Salnikov-Tarnovski b944a28b96
Fix workflow file (#2967) 2021-05-12 14:25:50 +03:00
Nikita Salnikov-Tarnovski 4b6750ac90
Add separate nightly run which does not use any gradle caches (#2950)
* Add separate nightly run which does not use any gradle caches

* Update .github/workflows/nightly-no-cache.yaml

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

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-05-11 16:57:03 +03:00
Nikita Salnikov-Tarnovski b517c97547
Don't run smoke test during latestDeps (#2743) 2021-04-07 09:35:07 +03:00
Trask Stalnaker b39348d640
Add -Werror flag to the build (#2712)
* Add -Werror to the build

* Add to javadoc also

* Run javadoc

* Change from "check javadoc" to "build"

* Fix javadoc warnings
2021-04-06 10:01:10 +03:00
Anuraag Agrawal 0bd7b4fd65
Update setup-java to v2 (#2733) 2021-04-06 10:00:21 +03:00
Trask Stalnaker f00c0d4e85
Remove --no-daemon from CI (#2708) 2021-04-05 08:49:05 +03:00
Trask Stalnaker 74b4a239a9
Split out smoke tests in nightly too (#2711) 2021-04-05 08:46:15 +03:00
Trask Stalnaker 4b319c759e
Split out smoke tests in main branch build too (#2686) 2021-04-01 09:08:11 +03:00
Trask Stalnaker bf03a77b3f
Split out smoke tests further (#2668) 2021-03-31 09:23:21 +03:00
Nikita Salnikov-Tarnovski 43f4ab4734
Run smoke tests on Windows as well (#2617)
* Run smoke tests on Windows as well

* Allow long paths on windows

* Allow long paths on windows

* Polish

* Add check that spans were generated by expected OS

* Fix method name

* Use proper extra tag

* Use long paths on CI build on Windows

* Don't run linux test images on Windows

* Don't run linux test images on Windows

* Typo

* More debug

* Don't use testcontainers on Windows

* Polish

* Update backend

* Support for extra resources on linux

* Trying Linux backend on Windows

* Pull backend images if not found

* We do use windows images for backend as well

* Use correct windows images

* Less logs

* Polish

* Better logs

* Polish

* Polish
2021-03-26 15:11:59 +02:00
Nikita Salnikov-Tarnovski 2a2d4ae2f8
Publish windows images for smoke tests backends (#2621)
* Build and push Windows Docker images for fake-backend and collector

* Run on main branch only

* Update smoke-tests/fake-backend/build.gradle

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

* Fix comment

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-03-24 13:20:40 +02:00
Lauri Tulmin e3155ed977
Run smoketests in parallel (#2622) 2021-03-24 08:31:12 +02:00
Nikita Salnikov-Tarnovski 150b52ca19
Use azure/docker-login action (#2580) 2021-03-16 11:04:50 +02:00
Nikita Salnikov-Tarnovski 196d1b3ee7
Fix docker login on Windows (#2573)
* Fix docker login on Windows

* Add TODO
2021-03-15 17:12:03 +02:00
Nikita Salnikov-Tarnovski 0a1ea92733
Build Windows images for smoke tests (#2568) 2021-03-15 09:38:06 +02:00
Anuraag Agrawal be423c23f7
Revert patch-release-build workflow to previous plugin temporarily. 2021-03-12 13:35:05 +09:00
dependabot[bot] 999a78c9ee
Bump burrunan/gradle-cache-action from v1.9 to v1.10 (#2553)
Bumps [burrunan/gradle-cache-action](https://github.com/burrunan/gradle-cache-action) from v1.9 to v1.10.
- [Release notes](https://github.com/burrunan/gradle-cache-action/releases)
- [Changelog](https://github.com/burrunan/gradle-cache-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/burrunan/gradle-cache-action/compare/v1.9...cbdf4342ff988d143aa7a5aeceedffafb8c74bcf)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-11 08:49:25 +02:00
dependabot[bot] 7273404128
Bump burrunan/gradle-cache-action from v1.8 to v1.9 (#2541)
Bumps [burrunan/gradle-cache-action](https://github.com/burrunan/gradle-cache-action) from v1.8 to v1.9.
- [Release notes](https://github.com/burrunan/gradle-cache-action/releases)
- [Changelog](https://github.com/burrunan/gradle-cache-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/burrunan/gradle-cache-action/compare/v1.8...97d1da428b1d9b4f4a0de9aa268c72ce1fe9ca69)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-11 11:19:32 +09:00
dependabot[bot] ee04ff72c3
Update burrunan/gradle-cache-action requirement to v1.8 (#2532)
Updates the requirements on [burrunan/gradle-cache-action](https://github.com/burrunan/gradle-cache-action) to permit the latest version.
- [Release notes](https://github.com/burrunan/gradle-cache-action/releases)
- [Changelog](https://github.com/burrunan/gradle-cache-action/blob/main/CHANGELOG.md)
- [Commits](a61b505b54)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 08:57:53 +02:00
Anuraag Agrawal 2adb1e080c
Use new version of publish / staging plugin which has merged the two projects. (#2519) 2021-03-08 20:18:28 +09:00
Anuraag Agrawal 791072bf2a
Use fetch-depth=0 for all non-release builds for consistent versioning. (#2392) 2021-02-24 14:48:37 +09:00
Trask Stalnaker 447470ffaa
Fix main branch build (#2295) 2021-02-16 08:51:21 -08:00
Trask Stalnaker dba80cecfd
Add example distro to ci (#2292) 2021-02-16 12:05:19 +09:00
Anuraag Agrawal a8676e2bc8
Create draft release with uploaded agent in github workflow. (#2237) 2021-02-10 14:44:56 +09:00
Mateusz Rzeszutek 6c80ce217f
Rename master -> main in patch release workflow (#2199) 2021-02-05 11:25:25 +01:00
Anuraag Agrawal cd1ad985d5
Update workflows to main (#2118) 2021-01-26 20:26:00 +09:00
dependabot[bot] e44a3ac7f2
Bump nick-invision/retry from v2.2.0 to v2.4.0 (#1982)
Bumps [nick-invision/retry](https://github.com/nick-invision/retry) from v2.2.0 to v2.4.0.
- [Release notes](https://github.com/nick-invision/retry/releases)
- [Changelog](https://github.com/nick-invision/retry/blob/master/.releaserc.js)
- [Commits](https://github.com/nick-invision/retry/compare/v2.2.0...7c68161adf97a48beb850a595b8784ec57a98cbb)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 16:32:47 +02:00
Aman Brar d9dc07c154
Add CodeQL security scan (#1971) 2021-01-05 13:43:13 -08:00
Anuraag Agrawal 8d74baa2e4
Run tests with javaagent. (#1643)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-01-04 13:13:24 -08:00
Vladimir Šor f28e64b877
Include a link to failed build in the issue. (#1943) 2020-12-18 11:18:57 +02:00
Nikita Salnikov-Tarnovski 516e323e88
Remove integration with CiMate (#1921) 2020-12-16 19:11:26 +02:00
Anuraag Agrawal ef5c1e4230
Add closeAndReleaseAutomatically to workflow (#1883) 2020-12-11 08:48:27 +02:00
Nikita Salnikov-Tarnovski 8976e921d0
Separate nightly build from CI build on main branch (#1860) 2020-12-10 09:36:26 +09:00
dependabot[bot] f70eaf1896
Bump burrunan/gradle-cache-action from v1.5 to v1.6 (#1859)
Bumps [burrunan/gradle-cache-action](https://github.com/burrunan/gradle-cache-action) from v1.5 to v1.6.
- [Release notes](https://github.com/burrunan/gradle-cache-action/releases)
- [Changelog](https://github.com/burrunan/gradle-cache-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/burrunan/gradle-cache-action/compare/v1.5...feb985ecf49f57f54f31920821a50d0394faf122)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-09 09:59:30 +02:00
Anuraag Agrawal e1fd1ff56c
Mount sonatype secrets in workflows. (#1847) 2020-12-07 22:13:48 -08:00
Anuraag Agrawal 2fe89587e2
Revert "Release build can rely on master build checks instead of testing again. (#1792)" (#1846)
This reverts commit 6d046bf52a.
2020-12-08 13:44:25 +09:00
Nikita Salnikov-Tarnovski 04217319ad
Let smoke test use non-default servlet context (#1844) 2020-12-07 14:39:23 +02:00
Nikita Salnikov-Tarnovski 71f1a79100
Introduce test matrix (#1821)
* Introduce test matrix and proper WildFly test

* Restore test to old version until matrix is merged

* Add workflow to publish test matrix

* Satisfy checkstyle

* Polish

* Use docker build args instead of replacing tokens
2020-12-03 12:34:45 +02:00
Anuraag Agrawal 6d046bf52a
Release build can rely on master build checks instead of testing again. (#1792) 2020-12-02 13:57:21 +09:00
Anuraag Agrawal 3475cbd77d
Migrate test docker images to GHCR. (#1790) 2020-11-30 09:15:42 +02:00
Anuraag Agrawal f9671e70af
Sign artifacts in build instead of in bintray. (#1778) 2020-11-28 15:39:52 +09:00
Anuraag Agrawal acd0ac07e2
Use -P correctly instead of -D for specifying toolchain paths (#1775)
* Disable toolchain detection on CI

* P not D

* Reenable CI branch selection.
2020-11-26 11:04:38 +02:00
Anuraag Agrawal 91a9e1885e
Replace java test version rule with property. (#1769)
* Replace java test version rule with property.

* Fix enabled check

* Update java.gradle
2020-11-26 16:53:20 +09:00
Nikita Salnikov-Tarnovski bdc3664600
Update nightly.yaml (#1745)
Increase timeout for testJava15
2020-11-23 14:57:59 -08:00
dependabot[bot] 2ba278489e
Bump nick-invision/retry from v2.1.0 to v2.2.0 (#1686)
Bumps [nick-invision/retry](https://github.com/nick-invision/retry) from v2.1.0 to v2.2.0.
- [Release notes](https://github.com/nick-invision/retry/releases)
- [Changelog](https://github.com/nick-invision/retry/blob/master/.releaserc.js)
- [Commits](https://github.com/nick-invision/retry/compare/v2.1.0...fb3bca3fb54f6488d7508c8d1eeb64b94efd5a93)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-20 15:12:45 +02:00
Nikita Salnikov-Tarnovski dca64662f6
Build and publish snapshot on merge (#1695) 2020-11-19 12:07:29 -08:00
Nikita Salnikov-Tarnovski 95083614a8
Build and publish artifacts as a single step (#1679)
This avoids restoring gradle cache twice, thus speeding up the workflow
2020-11-19 17:20:17 +02:00
Anuraag Agrawal eab3697660
Make commits field non-required since we don't populate it for manual cherrypicks. (#1675) 2020-11-18 13:22:22 +02:00
dependabot[bot] 6e9ccfc39d
Bump nick-invision/retry from v1 to v2.1.0 (#1642)
Bumps [nick-invision/retry](https://github.com/nick-invision/retry) from v1 to v2.1.0.
- [Release notes](https://github.com/nick-invision/retry/releases)
- [Changelog](https://github.com/nick-invision/retry/blob/master/.releaserc.js)
- [Commits](https://github.com/nick-invision/retry/compare/v1...0bbc6bd3b0ad09abe4b1041bc3df6fc2446f4151)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 13:24:01 -08:00
Anuraag Agrawal d435da4638
Update to Gradle 6.7 and use new toolchains feature for testing on Ja… (#1627)
* Update to Gradle 6.7 and use new toolchains feature for testing on Java versions.

* Update docs

* Add back sum

* Use GitHub test JDK for toolchain.

* Use maxJavaVersionForTests for default test version when set.

* Fix RMI

* Fix configs

* Go back to rule

* Extract variable for default Java version.
2020-11-16 10:29:36 +02:00
Anuraag Agrawal 5ec0ed3b9c
Use correct name for bintray api key (#1570) 2020-11-06 13:18:14 +09:00
Anuraag Agrawal b680ece4d1
bintrayUpload freezes, so add some info logging to see what happens. (#1569) 2020-11-06 12:04:40 +09:00
Anuraag Agrawal 6c1dabf782
Tag smoke test images with date and run ID from workflow. (#1559)
* Tag smoke test images with sha from workflow.

* Pass tag as date from workflow

* Echo tag which is nice to see in logs

* Add run ID

* Remove seconds

* Missed files
2020-11-05 19:11:29 +09:00
Anuraag Agrawal d4a64f7ad4
Add manual dispatch trigger to smoke dist builds. (#1531) 2020-10-30 16:18:47 +09:00
Nikita Salnikov-Tarnovski dddd921f45
Fix publishing permissions (#1501) 2020-10-27 21:12:56 +02:00
Nikita Salnikov-Tarnovski 39bdba7204
Fail PR check if workflow failed (#1498) 2020-10-27 16:56:13 +02:00
Nikita Salnikov-Tarnovski 459dbf6ac9
Building snapshot version needs all tags (#1484) 2020-10-26 18:55:34 +02:00
Anuraag Agrawal 8650bd7bda
Copy in release build workflow from opentelemetry-java (#1450)
* Copy in release build workflow from opentelemetry-java

* Fixes

* spot
2020-10-26 09:24:02 +02:00
Nikita Salnikov-Tarnovski d033ed594f
Review our usage of gradle cache (#1474)
* Experiments

* Experiments

* Experiments

* Update nightly.yaml

Trying to populate remote cache

* Experiments

* Better cache and snapshot publishing in GHA

* Read-only remote cache for PRs
2020-10-25 22:06:21 +02:00