ECS Mass Service Deployment-Tag fetch automation and multi service deployment
pending feedback
S
Senior Python
If we have plans to deploy multiple services, how would the below tag <+lastPublished.tag> be able to fetch the tag details of the specific service and help with the deployments ?
Use case overview:
We need to Restart / redeploy multiple ECS services (that are selected) at once with options to pass multiple input sets (if possible) specific to the services for that pipeline OR/AND fetch the last deployed tag value of that service to avoid manual intervention. OR re-run the last execution of all those lists of services (that already holds input values and tag number specific to that service).
One pipeline can have 100s of services to be deployed.
This helps in reflecting minor task definition updates or infra wiz fixes and updates more easily in automated fashion.
Log In
E
Emerald Rhinoceros
Scheduled a meeting on 16th October to give better understanding on the requirements. The requirement was not around the last published tag but for the ECS mass service deployment. Will discuss more on the call that is scheduled.
a
abhijit.pujare
pending feedback
a
abhijit.pujare
When you navigate to the pipeline execution history you can see all the previous executions of that pipeline: https://developer.harness.io/docs/continuous-delivery/x-platform-cd-features/executions/execution-history/
From there you can choose the execution which has the input set that you want to re-execute and run the pipeline again on the same input.
Alternatively you can take a look the docs here which discuss how to use the lastSuccessfulDeployed tag and see if that solves your use case : https://developer.harness.io/docs/continuous-delivery/x-platform-cd-features/services/artifact-sources/#runtime-input-for-the-latest-artifact-tag
Please let me know if either of those solutions might work for you.
a
abhijit.pujare
under review