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 wildcards to roles and hosts filters #583

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Add wildcards to roles and hosts filters #583

merged 2 commits into from
Nov 14, 2023

Conversation

mdkent
Copy link
Member

@mdkent mdkent commented Nov 13, 2023

Add support for wildcard matches with * on roles and hosts.

eg:

      --roles=*_chicago,*_tokyo
      --hosts=app-*

Useful for targeted deploys to groups of roles and hosts.

@mdkent mdkent requested review from djmb and jeremy and removed request for jeremy November 13, 2023 07:45
lib/kamal/commander.rb Outdated Show resolved Hide resolved
eg:
  --roles=*_chicago,*_tokyo
  --hosts=app-*

Useful for targeted deploys.
@mdkent mdkent requested a review from djmb November 14, 2023 07:44
@djmb djmb merged commit 77a79b2 into main Nov 14, 2023
6 checks passed
@djmb djmb deleted the wildcard-filters branch November 14, 2023 08:19
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