You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to write a workflow where I do the following:
Checkout my repository
Configure the workspace in preparation for a service to start
Start the service
Query the service to see if I am getting the right responses.
What I haven't figured out is how to checkout the repository and perform some actions before the service starts. The service is an attribute of the job and is set up before the steps of the job run. So how can I prepare the service for running based on the results of the checkout?
Very specifically, I need to run m4 (the C pre-processor) on some files in the repo, move them to a dedicated location, and then the service must bind mount them. I know how to do these actions, but I don't know how to make them occur before the service starts.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to write a workflow where I do the following:
What I haven't figured out is how to checkout the repository and perform some actions before the service starts. The service is an attribute of the
job
and is set up before thesteps
of the job run. So how can I prepare the service for running based on the results of the checkout?Very specifically, I need to run
m4
(the C pre-processor) on some files in the repo, move them to a dedicated location, and then the service must bind mount them. I know how to do these actions, but I don't know how to make them occur before the service starts.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions