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

CUST-110209: do SDK maven snapshot release #257

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Conversation

cleverchuk
Copy link
Contributor

@cleverchuk cleverchuk commented Aug 20, 2024

This PR adds a new job to publish snapshot versions of the SDK, use of the snapshot version of SDK in the netty-test and netty-test-no-agent and adds another job to run the netty-test-no-agent without the agent. This will allow for fast feedback on changes that affect the SDK and remove the chances of forgetting to test the SDK.

To achieve this we made maven_snapshot_release, smoke-test-no-agent, release-test, lambda-release-test and smoke-test-linux jobs dependent on two environment variables AGENT_VERSION and SNAPSHOT_BUILD. AGENT_VERSION in these jobs is of the form version.commit-hash[short] and SNAPSHOT_BUILD is statically set to true in maven_snapshot_release job. The two Netty and spring-mvc test apps forms the SDK snapshot version by reading AGENT_VERSION from environment and suffixing with -SNAPSHOT. If AGENT_VERSION isn't set, 2.6.0 is used which is the first snapshot published.

Test services data 0, 1 and 2

@cleverchuk cleverchuk requested a review from a team as a code owner August 20, 2024 22:18
…ot SDK in smoke test. Add a new app test the sdk without the agent being attached
@cleverchuk cleverchuk merged commit 26f3974 into main Aug 21, 2024
13 checks passed
@cleverchuk cleverchuk deleted the cc/CUST-110209 branch August 21, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants