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

chore: create e2e test for secureJsonData. #1496

Merged
merged 5 commits into from Apr 19, 2024

Conversation

smuda
Copy link
Contributor

@smuda smuda commented Apr 16, 2024

Add a E2E test for making sure the secureJsonData is transferred all the way to thanos.

This test is supposed to fail until #1488 is merged. I propose we'll not merge until then.

@smuda smuda marked this pull request as draft April 16, 2024 13:40
@smuda smuda force-pushed the feature/add-test-for-secureJsonData branch from b6cab5a to 5fadf42 Compare April 16, 2024 14:10
@smuda smuda marked this pull request as ready for review April 16, 2024 14:19
@smuda smuda changed the title chore: create test for secureJsonData. chore: create e2e test for secureJsonData. Apr 16, 2024
@smuda smuda force-pushed the feature/add-test-for-secureJsonData branch from 5fadf42 to cf91207 Compare April 16, 2024 14:25
Copy link
Collaborator

@NissesSenap NissesSenap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks great, as you say, let's wait for the other PR to get merged.
Thanks allot for your work around this @smuda

I wrote a minor NIT comment. Other than that, I'm happy to merge this after the other PR is merged.

- name: step-03
try:
- script:
content: 'kubectl logs -n ${namespace} -l app=thanos-querier | grep "^Authorization:" | head -n 1'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there some kind of timeout value that we can set per step or something like that?
Maybe set something like 60 seconds.

I saw that the old CI ran for 180s waiting for a timeout.

Copy link
Contributor Author

@smuda smuda Apr 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default timeout is set in ´.chainsaw.yaml´ at 2m0s but I've now set a much shorter timeout for the two log-tasks.

@NissesSenap NissesSenap enabled auto-merge (squash) April 19, 2024 08:59
@NissesSenap NissesSenap merged commit 9cd9162 into grafana:master Apr 19, 2024
10 checks passed
@smuda smuda deleted the feature/add-test-for-secureJsonData branch April 20, 2024 09:37
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.

None yet

2 participants