Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Add support for v2 tags during build #5890

Merged
merged 5 commits into from
Aug 27, 2024

Conversation

yurishkuro
Copy link
Member

@yurishkuro yurishkuro commented Aug 27, 2024

Which problem is this PR solving?

Description of the changes

  • Move semver-from-tag determination from Makefile into scripts/compute-version.sh
  • Move Go build info and Windows build info to dedicated Makefiles
  • Fixed execute permissions on all scripts

How was this change tested?

  • ran windows build and jaeger / query builds to ensure expected behavior

Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
@yurishkuro yurishkuro added the changelog:ci Change related to continuous integration / testing label Aug 27, 2024
Signed-off-by: Yuri Shkuro <[email protected]>
Copy link

codecov bot commented Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.84%. Comparing base (9d70957) to head (58dc824).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5890      +/-   ##
==========================================
+ Coverage   96.82%   96.84%   +0.01%     
==========================================
  Files         342      342              
  Lines       16520    16520              
==========================================
+ Hits        15996    15998       +2     
+ Misses        338      337       -1     
+ Partials      186      185       -1     
Flag Coverage Δ
badger_v1 8.05% <ø> (ø)
badger_v2 1.81% <ø> (ø)
cassandra-3.x-v1 16.62% <ø> (ø)
cassandra-3.x-v2 1.74% <ø> (ø)
cassandra-4.x-v1 16.62% <ø> (ø)
cassandra-4.x-v2 1.74% <ø> (ø)
elasticsearch-6.x-v1 18.78% <ø> (-0.02%) ⬇️
elasticsearch-7.x-v1 18.84% <ø> (-0.02%) ⬇️
elasticsearch-8.x-v1 19.03% <ø> (ø)
elasticsearch-8.x-v2 1.80% <ø> (-0.02%) ⬇️
grpc_v1 9.48% <ø> (ø)
grpc_v2 7.13% <ø> (-0.02%) ⬇️
kafka-v1 9.74% <ø> (ø)
kafka-v2 1.81% <ø> (ø)
memory_v2 1.81% <ø> (ø)
opensearch-1.x-v1 18.89% <ø> (ø)
opensearch-2.x-v1 18.89% <ø> (-0.02%) ⬇️
opensearch-2.x-v2 1.80% <ø> (-0.02%) ⬇️
unittests 95.32% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yurishkuro yurishkuro marked this pull request as ready for review August 27, 2024 03:03
@yurishkuro yurishkuro requested a review from a team as a code owner August 27, 2024 03:03
@dosubot dosubot bot added the v2 label Aug 27, 2024
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
@yurishkuro yurishkuro merged commit 910f2ba into jaegertracing:main Aug 27, 2024
45 checks passed
@yurishkuro yurishkuro deleted the windows-make branch August 27, 2024 15:03
yurishkuro added a commit that referenced this pull request Aug 27, 2024
## Which problem is this PR solving?
- Part of #5889

## Description of the changes
- Replace `make echo-version` with two separate v1/v2 targets, using new
vars introduced in #5890
- Refactor `scripts/package-deploy.sh` to publish 2.x bundle

## How was this change tested?
- `$ TARCMD=gtar bash scripts/package-deploy.sh -d`

---------

Signed-off-by: Mend Renovate <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
JaredTan95 pushed a commit to JaredTan95/jaeger that referenced this pull request Aug 28, 2024
## Which problem is this PR solving?
- Part of jaegertracing#5889

## Description of the changes
- Move semver-from-tag determination from Makefile into
`scripts/compute-version.sh`
- Move Go build info and Windows build info to dedicated Makefiles
- Fixed execute permissions on all scripts

## How was this change tested?
- ran windows build and jaeger / query builds to ensure expected
behavior

---------

Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Jared Tan <[email protected]>
JaredTan95 pushed a commit to JaredTan95/jaeger that referenced this pull request Aug 28, 2024
## Which problem is this PR solving?
- Part of jaegertracing#5889

## Description of the changes
- Replace `make echo-version` with two separate v1/v2 targets, using new
vars introduced in jaegertracing#5890
- Refactor `scripts/package-deploy.sh` to publish 2.x bundle

## How was this change tested?
- `$ TARCMD=gtar bash scripts/package-deploy.sh -d`

---------

Signed-off-by: Mend Renovate <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
Signed-off-by: Jared Tan <[email protected]>
mahadzaryab1 pushed a commit to mahadzaryab1/jaeger that referenced this pull request Aug 31, 2024
## Which problem is this PR solving?
- Part of jaegertracing#5889

## Description of the changes
- Move semver-from-tag determination from Makefile into
`scripts/compute-version.sh`
- Move Go build info and Windows build info to dedicated Makefiles
- Fixed execute permissions on all scripts

## How was this change tested?
- ran windows build and jaeger / query builds to ensure expected
behavior

---------

Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Mahad Zaryab <[email protected]>
mahadzaryab1 pushed a commit to mahadzaryab1/jaeger that referenced this pull request Aug 31, 2024
## Which problem is this PR solving?
- Part of jaegertracing#5889

## Description of the changes
- Replace `make echo-version` with two separate v1/v2 targets, using new
vars introduced in jaegertracing#5890
- Refactor `scripts/package-deploy.sh` to publish 2.x bundle

## How was this change tested?
- `$ TARCMD=gtar bash scripts/package-deploy.sh -d`

---------

Signed-off-by: Mend Renovate <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]>
Signed-off-by: Mahad Zaryab <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:ci Change related to continuous integration / testing v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants