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
we want to deploy all services by one command #3474
Comments
Hello @TakaraShinya ! Thank you for the request! Let me see if I can figure out a way to do it with the current Copilot.
Just so that my understanding is correct - when a new GitHub push happens, you'd like to create a new environment, deploy all services to that new environment, and then after maybe some testings, destroy the environment. Is that accurate? |
Hello @Lou1415926
Yes, it is correct. Thank you for your understanding. 🙇 |
Hello @TakaraShinya ! Sorry for getting back to you late! Your feature request makes sense - it'd be convenient if all services can be deployed with one single command. For now, I wonder would it be acceptable in your case to use some scripting to automate the steps that you've described? For example, if written in shell script: copilot env init --name test-timestamp
svcs=$(copilot svc ls --json | jq -r '.services[].name')
for svc in $svcs; do
copilot svc deploy --env test-timestamp ;
if [ $? -ne 0 ]; then
echo "Some error occurred." 1>&2;
exit 1;
fi
done; |
Thank you, @Lou1415926 !
Yes! I have tried it. i think, if copilot cli has all service deploy and check exist service,
|
I have some services in an app.
For example,
I am aware that AWS Copilot CLI is not yet in a position to deploy all services in a single command execution.
so, we want to deploy all services by one command.
because, I want to use this cli for our ci test env.
but, we couldn't create it simply.
If I just don't know how to do that, please let me know.
The text was updated successfully, but these errors were encountered: