Commit Graph

294 Commits

Author SHA1 Message Date
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
Nikita Salnikov-Tarnovski 9c97941580
Update build-grpc-smoke-dist.yaml (#1437)
Fix description
2020-10-21 11:45:37 +03:00
Anuraag Agrawal a6e0e27ad4
Remove usage of Contexts from grpc instrumentation. (#1426)
* Fix grpc instrumentation cannot be applied due to muzzle error and add smoke test.

* Add workflow for building smoke test image

* Revert debug logging

* Java versions
2020-10-21 09:58:45 +09:00
Nikita Salnikov-Tarnovski 15e0b2ff32
Run build without warnings (#1387) 2020-10-15 16:10:22 -07:00
Nikita Salnikov-Tarnovski 79ab34b6ef
Single GHA job to mark PR OK/NOK (#1333)
* Single GHA job to mark PR OK/NOK

* Debug

* Debug

* Extract smoke test as a separate job

* Debug

* Debug

* Debug

* Debug

* Debug

* Debug

* Debug

* Fix for greedy testcontainers
2020-10-07 15:03:34 +03:00
Nikita Salnikov-Tarnovski c16520b35b
Removed deprecated set-env usage (#1334) 2020-10-06 10:55:51 -07:00
Nikita Salnikov-Tarnovski 8510744f20
Run muzzle during PR (#1324)
* Run muzzle as GitHub Action

* Parallelize muzzle

* Parallelize muzzle

* Parallelize muzzle

* Parallelize muzzle

* Parallelize muzzle

* No cache for muzzle

* Polish

* Let's try without cache

* Restore cache
2020-10-06 07:43:15 +03:00
dependabot[bot] 621be89956
Bump burrunan/gradle-cache-action from v1.4 to v1.5 (#1257)
Bumps [burrunan/gradle-cache-action](https://github.com/burrunan/gradle-cache-action) from v1.4 to v1.5.
- [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.4...03c71a8ba93d670980695505f48f49daf43704a6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-09-29 07:52:58 +03:00
Pavol Loffay 91b177165c
Bump Java from 14 to 15 in CI (#1252)
* Bump Java from 14 to 15 in CI

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Review comments

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* adjust comment

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Bump jacoco to 0.8.6

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* maxJavaVersionForTests

Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-09-24 15:27:33 +03:00
Nikita Salnikov-Tarnovski 3eca8a4d47
Validate gradle wrapper only when changed (#1157)
* Validate gradle wrapper only when changed

* Validate gradle wrapper only when changed
2020-09-03 07:31:44 +03:00
Nikita Salnikov-Tarnovski ef39cdbf53
Remove unused GHAs (#1147) 2020-09-01 10:20:36 -07:00
Anuraag Agrawal ecef123305
Bump burrunan/gradle-cache-action from v1 to v1.4 (#1144)
* Revert "Bump burrunan/gradle-cache-action from v1 to v1.3 (#1140)"

This reverts commit 5bda9cd9fb.

* 1.4
2020-09-01 17:24:27 +09:00
dependabot[bot] 5bda9cd9fb
Bump burrunan/gradle-cache-action from v1 to v1.3 (#1140)
Bumps [burrunan/gradle-cache-action](https://github.com/burrunan/gradle-cache-action) from v1 to v1.3.
- [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...eb0ac4c0a04cffaa58d199a7a4356c506bdfed57)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-01 07:44:26 +03:00
sullis e45c13cbc6
add Gradle wrapper validation (#1133)
https://blog.gradle.org/gradle-wrapper-checksum-verification-github-action
2020-08-31 19:56:04 -07:00
Anuraag Agrawal 83a5714a97
Use a fake OTLP backend for storing smoke tests traces instead of fil… (#1136)
* Use a fake OTLP backend for storing smoke tests traces instead of file exporter.

* Newlines

* Newlines

* Bins
2020-08-31 15:17:51 +09:00
Nikita Salnikov-Tarnovski 090cdd782b
Better local caching via burrunan/gradle-cache-action (#1054)
* Better local caching via burrunan/gradle-cache-action

* Add cached debug

* Fix yaml

* Don't push to remote cache during PR

* Polish
2020-08-19 22:00:06 +03:00
Anuraag Agrawal bbfdbb39c0
Create abstraction for library dependencies for instrumentation. (#977)
* Create abstraction for library dependencies for instrumentation.

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-19 08:57:31 +09:00
Nikita Salnikov-Tarnovski c9887ec048
Add CiMate to nightly job (#1025) 2020-08-17 16:36:52 +03:00
Nikita Salnikov-Tarnovski 08b4303d93
Try CiMate (#980) 2020-08-14 23:23:52 +03:00
Nikita Salnikov-Tarnovski a8b3105ee5
Allowing to run nightly job manually (#985) 2020-08-14 23:03:12 +03:00
Nikita Salnikov-Tarnovski f6ec1f5cc8
Add S3 cache (#982) 2020-08-14 20:46:48 +03:00
Nikita Salnikov-Tarnovski 89577a168a
Switch to Bintray Docker repo (#959)
* Debugging jib failures

* Debugging jib failures

* Switching to Bintray Docker

* Switching to Bintray Docker

* Switching to Bintray Docker
2020-08-13 10:16:08 +03:00
Nikita Salnikov-Tarnovski 8bdde56d06
Docker login during smoke test app creation (#949) 2020-08-12 21:09:55 +03:00
Nikita Salnikov-Tarnovski 51e06100ca
Run smoke tests on different java versions (#948)
* Run smoke tests on different java versions

* Cleaner Docker images names
2020-08-12 20:32:23 +03:00
Nikita Salnikov-Tarnovski a222676a3e
Improved smoke tests (#934)
* Preping smoke tests

* Improved smoke tests

* Make it work in Linux

* Add workflow to run tests on PR

* Build Smoke tests

* Fix PR workflow trigger

* Fix smoke test apps trigger

* Disable smoke tests in CircleCI and let them run in Github Actions only

* Fix smoke test apps docker image names

* Polish
2020-08-12 12:34:14 +03:00
Nikita Salnikov-Tarnovski 5f31109fa2
Use better gradle cache action for local Gradle cache (#943)
* Use better gradle cache action

* Update .github/workflows/nightly.yaml

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-12 10:25:25 +03:00
Anuraag Agrawal 0430073f1e
Add --stacktrace to nightly build commands (#873) 2020-08-02 13:27:34 +09:00
Nikita Salnikov-Tarnovski d264bc4940
Retry test steps of nightly builds (#867) 2020-08-01 23:29:51 +09:00
Nikita Salnikov-Tarnovski 58fd949524
Create issue if nightly build fails (#857) 2020-07-31 21:45:39 +03:00
Nikita Salnikov-Tarnovski adec806300
Nightly build fix (#850) 2020-07-31 13:15:04 +03:00
Anuraag Agrawal 15e4f59a5b
Only run nightly build nightly (#799) 2020-07-27 14:01:45 +09:00
Nikita Salnikov-Tarnovski 62e68689f0
Use testcontainers in CI as well (#780)
* Use testcontainers in CI as well

* Use testcontainers in CI as well
2020-07-24 12:29:18 +03:00
Nikita Salnikov-Tarnovski 6ffbc69a47
First draft of nightly build job for master branch (#775) 2020-07-24 07:20:52 +03:00
Trask Stalnaker 6d1a58d151 Merge tag 'v0.50.0' into correct-history 2020-05-05 12:41:08 -07:00
Trask Stalnaker 1e29610897
Remove github workflows (#346) 2020-04-24 13:33:11 -07:00
Laplie Anderson dc4ee580ad Trigger Github actions from tags 2020-04-21 15:49:25 -04:00
Laplie Anderson 5bc7c14cd0
Merge pull request #1391 from DataDog/landerson/auto-close-issues-pagination
Handle pagination when auto-updating issues
2020-04-21 10:38:57 -04:00
Laplie Anderson c1d71efdd0 Pagination issues with milestones too 2020-04-20 18:37:44 -04:00
Laplie Anderson ae3b189ae6 Handle pagination when updating issues 2020-04-20 17:59:15 -04:00
Laplie Anderson 927d980c8f Draft release notes on milestone close 2020-04-20 17:57:06 -04:00
Laplie Anderson e8a360d7c8 Update issues when Release Notes are published 2020-04-20 15:26:24 -04:00
Laplie Anderson 47c8f37dca
Merge pull request #1383 from DataDog/landerson/auto-milestone
Add milestone to merged pull requests
2020-04-20 15:13:14 -04:00
Laplie Anderson 777b16640a Automatically create next milestone 2020-04-20 11:49:20 -04:00
Laplie Anderson 76a11f0fb3 Add milestone to merged pull requests 2020-04-20 11:15:56 -04:00
Laplie Anderson 0678396999 Automatically add assets to release 2020-03-18 17:36:14 -04:00