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

Add worker tagging #862

Merged
merged 31 commits into from
Jan 21, 2021
Merged

Add worker tagging #862

merged 31 commits into from
Jan 21, 2021

Conversation

jefferai
Copy link
Member

@jefferai jefferai commented Jan 13, 2021

Adds the ability to add tags to workers and use a worker filter in targets to pick which workers are allowed to handle a session.

NOTE: Dependent on the migrations PR so can't be merged before then, but can be reviewed. I'll have to adjust the SQL logic to correspond to that when it's merged.

NOTE 2: Docs will come later, as we're working out which docs should go on which site.

NOTE 3: For reviewing I recommend enabling the ignore-whitespace option.

sdk/strutil/strutil.go Show resolved Hide resolved
internal/servers/repository.go Outdated Show resolved Hide resolved
internal/servers/repository.go Outdated Show resolved Hide resolved
internal/servers/worker/status.go Show resolved Hide resolved
internal/servers/repository.go Show resolved Hide resolved
internal/servers/repository.go Show resolved Hide resolved
Copy link
Collaborator

@jimlambrt jimlambrt left a comment

Choose a reason for hiding this comment

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

Looks great. Just a few bits to consider, nothing major.

internal/cmd/commands/targets/tcp.go Show resolved Hide resolved
api/targets/option.gen.go Show resolved Hide resolved
sdk/strutil/strutil.go Show resolved Hide resolved
internal/servers/worker/status.go Show resolved Hide resolved
internal/servers/repository.go Outdated Show resolved Hide resolved
internal/servers/repository.go Show resolved Hide resolved
internal/target/repository_tcp_target.go Show resolved Hide resolved
mgaffney
mgaffney previously approved these changes Jan 21, 2021
@jefferai jefferai merged commit 717a3b5 into main Jan 21, 2021
@jefferai jefferai deleted the ICU-963-label-workers branch January 21, 2021 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants