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

Issue #492: Add support for multiple simultaneous environments #495

Merged
merged 1 commit into from
Apr 14, 2024

Conversation

erikbra
Copy link
Owner

@erikbra erikbra commented Apr 11, 2024

Add support for multiple environments, separated by space, ; or ,
This makes it possible to create orhotogonal environments, and run scripts
that are specific to a combination of environments.

Example: You have:

  • Some scripts that you only run for Customer 1
  • Some scripts that you only run for Customer 2
  • some scripts that you only run for Azure
  • some scripts that you only run for AWS
  • some scripts that you only run for Dev.
  • some scripts that you only run for Test.
  • some scripts that you only run for Prod.

Then, you can combine any of these environments to create a specific environment, to avoid
having to create an environment for each combination.

E.g.:

  --env Customer1;Azure
  --env Customer2,Azure
  --env Customer3
  --env Customer1 AWS Dev
  --env Customer1,AWS,Test
  --env Customer2;AWS;QA
  --env Customer2 AWS QA

etc.

@erikbra erikbra added the enhancement New feature or request label Apr 11, 2024
@erikbra erikbra added this to the 1.6.3 milestone Apr 11, 2024
@erikbra erikbra self-assigned this Apr 11, 2024
@erikbra erikbra marked this pull request as ready for review April 11, 2024 19:16
@@ -177,17 +177,55 @@ public async Task WithoutTransaction(string argName)

cfg?.Transaction.Should().Be(false);
}


/// <summary>
Copy link
Owner Author

Choose a reason for hiding this comment

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

Would this solve your requirements, @JackNWeems?

@hoangthanh28
Copy link
Contributor

Btw Erik you've done amazing steps to push grate forward. I've been very happy since then. Keep it up.

Thanks.
Thanh Tran.

@erikbra
Copy link
Owner Author

erikbra commented Apr 14, 2024

Thanks, @hoangthanh28. I'm very happy with the contributions you have made, too! :)

@erikbra erikbra merged commit 3b9032f into main Apr 14, 2024
19 checks passed
@erikbra erikbra deleted the feat/492-multiple-environments branch April 14, 2024 16:04
@erikbra erikbra modified the milestones: 1.6.3, 1.7.0 Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants