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

Provide a way to load example data in your environment #23

Open
pimvernooij opened this issue Nov 16, 2020 · 2 comments
Open

Provide a way to load example data in your environment #23

pimvernooij opened this issue Nov 16, 2020 · 2 comments
Labels
discussion Tickets that are open for discussion enhancement New feature or request

Comments

@pimvernooij
Copy link
Contributor

When using mach composer to create and manage your development environments, you most likely want to load some example data into the environment, for testing.

Would it be useful to generalise this via mach composer? mach load_exampledata as suggested by @tleguijt ?

@pimvernooij pimvernooij added enhancement New feature or request discussion Tickets that are open for discussion labels Nov 16, 2020
@tleguijt
Copy link
Collaborator

At the moment, MACH uses the terraform subdir to load the component as Terraform module.
We can extend this further by being able to supply the following directories that MACH can utilise:

  • terraform/
  • dashboard/ (azure dashboard configurations)
  • example_data/ (commercetools example data in YAML format)

We could provide a mach load_example_data or mach load example_data (in case we might want to be able to load other types of data?)

@boro2g
Copy link

boro2g commented Sep 29, 2022

If this concept could be extended to content, for example amplience content - that would facilitate spawning new envs in one hit more easily.

Note, a few challenges we hit in other projects around this concept was how to make the seeding run only once, and then how to layer on subsets of the baselining data if you need to turn dev from baseline1 to baseline2

@demeyerthom demeyerthom changed the title Feature: provide a way to load example data in your environment Provide a way to load example data in your environment Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Tickets that are open for discussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants