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

Allow injecting polling delay into worker deployment #452

Merged
merged 3 commits into from
Dec 8, 2023

Conversation

npepinpe
Copy link
Member

@npepinpe npepinpe commented Dec 8, 2023

Description

This PR allows injecting the polling delay into the worker deployment. The polling delay is given via command line as milliseconds because I couldn't be bothered to figure out how to convert to a nicer type from string 🙃

This will now allow us to "disable" polling for job push experiments.

It also fixes setting a default value for the worker Docker image tag, as it was previously defaulting to "" when omitted.

@npepinpe npepinpe requested a review from ChrisKujawa as a code owner December 8, 2023 15:00
@npepinpe npepinpe changed the base branch from main to np-versioned-experiments December 8, 2023 15:01
@npepinpe npepinpe force-pushed the np-inject-polling-delay branch from ecd9ee5 to 6558b67 Compare December 8, 2023 15:01
@npepinpe npepinpe changed the base branch from np-versioned-experiments to main December 8, 2023 15:01
Copy link
Member

@ChrisKujawa ChrisKujawa left a comment

Choose a reason for hiding this comment

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

Great thanks @npepinpe 🚀

go-chaos/cmd/deploy.go Outdated Show resolved Hide resolved
go-chaos/internal/deployment_test.go Show resolved Hide resolved
go-chaos/internal/manifests/worker.yaml Show resolved Hide resolved
@npepinpe npepinpe merged commit 795ed56 into main Dec 8, 2023
3 checks passed
@npepinpe npepinpe deleted the np-inject-polling-delay branch December 8, 2023 15:44
@npepinpe npepinpe self-assigned this Dec 8, 2023
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.

2 participants