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

[New Feature]: Add command vedv recipe dev-exec #52

Open
6 tasks
yunielrc opened this issue Sep 15, 2023 · 0 comments
Open
6 tasks

[New Feature]: Add command vedv recipe dev-exec #52

yunielrc opened this issue Sep 15, 2023 · 0 comments
Assignees
Labels
feature New feature

Comments

@yunielrc
Copy link
Owner

yunielrc commented Sep 15, 2023

🚀 New Feature

What do you want?

I need to execute a command always on a clean and ready to use container with all my project files copied inside it.

Why do you want it?

For testing a software during development.

Acceptance criteria / What expect / Requirements

  • if the image doesn't exist, it must be builded if 2nd arg is a Vedvfile
  • if the image doesn't exist, it must be imported if 2nd arg is an FQN
  • if the container doesn't exist, it must be created and started
  • the files of current working directory must be copied into container before command execution
  • the command must be executed without waiting for start the container, it must be ready to run
  • a new container must be ready for the next run

Proposed Solution / HOW

Design

vedv recipe dev-exec [--no-copy-files] <container> <image_fqn|Vedvfile>

Example

The script below is a real example for this recipe:
ct-clean-exec

@yunielrc yunielrc added the feature New feature label Sep 15, 2023
@yunielrc yunielrc self-assigned this Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant