Skip to content

Extend command with arguments when running job #5695

Answered by Lou1415926
VaZark asked this question in Q&A
Discussion options

You must be logged in to vote

The primary reason for reaching for manual task runs is one-off runs

Sorry I thought by looking to use job run, you wanted to run the job with the command only once. Are you actually looking to run it regularly instead? In this case, creating another job with on.schedule: 'none' is the way to go. You will just run copilot job run every time you want to manually trigger it.

Is there a way to refer to an existing ECR repo associated with another copilot svc in a new manifest without hardcoding the repository URL with the account ID?

There is no support for sharing images between two workloads unfortunately. I think your best bet in this case is indeed to write the image uri in image.loc…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@VaZark
Comment options

@VaZark
Comment options

@Lou1415926
Comment options

Answer selected by VaZark
@VaZark
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants