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

Store and use archived filename in the bin directory #98

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rapphil
Copy link

@rapphil rapphil commented Mar 23, 2023

In the case of the remote_write_sender tests, use the archived filename to generate the filename of the binaries stored in bin and used for the tests.

The reason why we need this is because it will provide more stable filenames since the name will not rely on the name of the published artifact.

Before this change the files stored in bin after a run of go test --tags=compliance -run "TestRemoteWrite/.+" -v were:

agent-linux-amd64
otelcol_0.42.0_linux_amd64
prometheus-2.30.3.linux-amd64
telegraf-1.20.2_linux_amd64
vector-0.16.1-x86_64-unknown-linux-gnu
vmutils-amd64-v1.67.0

After:

agent-linux-amd64 
otelcol 
prometheus 
telegraf 
vector 
vmagent-prod

This will solve #97

In the case of the remote_write_sender tests, use the archived filename

Signed-off-by: Raphael Silva <rapphil@gmail.com>
@rapphil
Copy link
Author

rapphil commented Mar 24, 2023

@tomwilkie can you take a look into this pr?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant