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
sd-local - ability to run steps inside build container #2238
Comments
@jithine In order to debug, the user execute an arbitrary command or script. We need to think when that command will be executed. Cases
About 1. About 2. Which of the above cases would you need to solve this issue? Or both? Or not? Tell me what you think 🙏 |
I want some function that makes it easy to run step commands. If there is a YAML as shown below
user can exec steps as shown below
|
@jithine Thank you for the reply. The implementation direction seems to be (About 1). @jithine , @screwdriver-cd/yahoo-japan STEP1 Ability to launch a build container and enter interactive mode.Create a new command
The image of the build container uses the image of the job. The same flags as in the build command should be supported. STEP2 In the build container, create alias to step of screwdriver.yaml.Related to #2238 (comment) If there is a
user can exec steps in build container as shown below
|
Does |
@yoshwata Maybe there is no |
@ibu1224 I understand that |
@yoshwata Yes. The build container is after executing |
About cmd name, it seems run and build look similar and confusable for users especially new ones. How about |
I think
I'm thinking of changing the specification to |
I like the interactive option for |
@wahapo when I tried locally, it didn't quite enter interactive mode properly.
It felt like Also the message should be fixed to |
It looks like the command string is broken in the middle when the json string is long. I'll try to fix it. |
@jithine Please comment if you have any questions. |
@ibu1224 I tested and it works 👍 |
What happened:
Currently
sd-local
allows developers to run an entire job in build container. It will be beneficial to development workflow to get into the environment ofsd-local
so that they can run steps and commands inside the container and debug any failures.What you expected to happen:
sd-local
to support anexec
mode into the build container where they can run any steps they want.docker run -it container sh
sd-local
How to reproduce it:
N/A
Reference
The text was updated successfully, but these errors were encountered: