Hi,
We have implemented Github CICD pipe line for Build and Deployments.
Both build and deployments are happening fine in git repo.
We are currently looking for Instance restart option/script for Github which needs to add after the deployment step.
Is there any curl script exist for author and publish restart so that we can add in Github runner workflow.
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @akhilraj,
There is no direct command to restart the AEM instance using curl: https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/curl.html?lan...
However, since you are using Github CI/CD runner instance, you have the option to access the AEM servers using SSH and run the following commands:
- sudo /sbin/service cq5 restart (instance manged AMS)
- sh ./crx-quickstart/bin/stop && ./crx-quickstart/bin/start (on Premise)
Thanks
Hello @akhilraj,
There is no direct command to restart the AEM instance using curl: https://experienceleague.adobe.com/docs/experience-manager-65/administering/operations/curl.html?lan...
However, since you are using Github CI/CD runner instance, you have the option to access the AEM servers using SSH and run the following commands:
- sudo /sbin/service cq5 restart (instance manged AMS)
- sh ./crx-quickstart/bin/stop && ./crx-quickstart/bin/start (on Premise)
Thanks
Hi @akhilraj
There is no direct curl command to restart the instance apart from executing the shell commands, however if you need to restart the VMstat alone you can use the below one
curl -u admin:admin -d "shutdown_type=Restart" http://localhost:4502/system/console/vmstat
https://github.com/paulrohrbeck/aem-links/blob/master/curl_cheatsheet.md
Hope it helps