File tree Expand file tree Collapse file tree 3 files changed +22
-24
lines changed Expand file tree Collapse file tree 3 files changed +22
-24
lines changed Original file line number Diff line number Diff line change @@ -51,23 +51,21 @@ tasks:
51
51
desc : start AEM instances and dispatcher
52
52
aliases : [ up ]
53
53
cmds :
54
- - task : aem:up
55
- - task : dispatcher:up
54
+ - task : aem:start
55
+ - task : dispatcher:start
56
56
57
57
stop :
58
58
desc : stop AEM instances and dispatcher
59
59
aliases : [ down ]
60
60
cmds :
61
- - task : dispatcher:down
62
- - task : aem:down
61
+ - task : dispatcher:stop
62
+ - task : aem:stop
63
63
64
64
restart :
65
65
desc : restart AEM instances and dispatcher
66
66
cmds :
67
- - task : aem:down
68
- - task : aem:up
69
- - task : dispatcher:down
70
- - task : dispatcher:up
67
+ - task : stop
68
+ - task : start
71
69
72
70
destroy :
73
71
desc : destroy AEM instances and dispatcher
@@ -123,8 +121,8 @@ tasks:
123
121
PROPS="
124
122
enabled: true
125
123
transportUri: {{.AEM_PUBLISH_HTTP_URL}}/bin/receive?sling:authRequestLogin=1
126
- transportUser: {{.AEM_PUBLISH_USER}}
127
- transportPassword: {{.AEM_PUBLISH_PASSWORD}}
124
+ transportUser: {{.AEM_PUBLISH_USER}}
125
+ transportPassword: {{.AEM_PUBLISH_PASSWORD}}
128
126
userId: admin
129
127
"
130
128
echo "$PROPS" | sh aemw repl agent setup -A --location "author" --name "publish"
Original file line number Diff line number Diff line change @@ -51,23 +51,21 @@ tasks:
51
51
desc : start AEM instances and dispatcher
52
52
aliases : [ up ]
53
53
cmds :
54
- - task : aem:up
55
- - task : dispatcher:up
54
+ - task : aem:start
55
+ - task : dispatcher:start
56
56
57
57
stop :
58
58
desc : stop AEM instances and dispatcher
59
59
aliases : [ down ]
60
60
cmds :
61
- - task : dispatcher:down
62
- - task : aem:down
61
+ - task : dispatcher:stop
62
+ - task : aem:stop
63
63
64
64
restart :
65
65
desc : restart AEM instances and dispatcher
66
66
cmds :
67
- - task : aem:down
68
- - task : aem:up
69
- - task : dispatcher:down
70
- - task : dispatcher:up
67
+ - task : stop
68
+ - task : start
71
69
72
70
destroy :
73
71
desc : destroy AEM instances and dispatcher
@@ -107,7 +105,6 @@ tasks:
107
105
desc : tail logs of AEM publish instance
108
106
cmd : tail -f aem/home/var/instance/publish/crx-quickstart/logs/{stdout,error}.log
109
107
110
-
111
108
aem:provision :
112
109
desc : provision AEM instances by installing packages and applying configurations
113
110
aliases : [ aem:configure ]
@@ -123,8 +120,8 @@ tasks:
123
120
PROPS="
124
121
enabled: true
125
122
transportUri: {{.AEM_PUBLISH_HTTP_URL}}/bin/receive?sling:authRequestLogin=1
126
- transportUser: {{.AEM_PUBLISH_USER}}
127
- transportPassword: {{.AEM_PUBLISH_PASSWORD}}
123
+ transportUser: {{.AEM_PUBLISH_USER}}
124
+ transportPassword: {{.AEM_PUBLISH_PASSWORD}}
128
125
userId: admin
129
126
"
130
127
echo "$PROPS" | sh aemw repl agent setup -A --location "author" --name "publish"
Original file line number Diff line number Diff line change 88
88
PROPS="
89
89
enabled: true
90
90
transportUri: {{.AEM_PUBLISH_HTTP_URL}}/bin/receive?sling:authRequestLogin=1
91
- transportUser: {{.AEM_PUBLISH_USER}}
92
- transportPassword: {{.AEM_PUBLISH_PASSWORD}}
91
+ transportUser: {{.AEM_PUBLISH_USER}}
92
+ transportPassword: {{.AEM_PUBLISH_PASSWORD}}
93
93
userId: admin
94
94
"
95
95
echo "$PROPS" | sh aemw repl agent setup -A --location "author" --name "publish"
@@ -105,9 +105,12 @@ tasks:
105
105
author:check :
106
106
desc : check health of AEM author instance
107
107
cmds :
108
+ - sleep 3
108
109
- curl -s -u "{{.AEM_AUTHOR_USER}}:{{.AEM_AUTHOR_PASSWORD}}" "{{.AEM_AUTHOR_HTTP_URL}}/libs/granite/core/content/login.html" | grep -q "QUICKSTART_HOMEPAGE"
109
110
- curl -s -u "{{.AEM_AUTHOR_USER}}:{{.AEM_AUTHOR_PASSWORD}}" "{{.AEM_AUTHOR_HTTP_URL}}/etc/replication/agents.author/publish.test.html" | grep -q "Replication (TEST) of /content successful"
110
111
111
112
publish:check :
112
113
desc : check health of AEM publish instance
113
- cmd : curl -s -u "{{.AEM_PUBLISH_USER}}:{{.AEM_PUBLISH_PASSWORD}}" "{{.AEM_PUBLISH_HTTP_URL}}/libs/granite/core/content/login.html" | grep -q "QUICKSTART_HOMEPAGE"
114
+ cmds :
115
+ - sleep 3
116
+ - curl -s -u "{{.AEM_PUBLISH_USER}}:{{.AEM_PUBLISH_PASSWORD}}" "{{.AEM_PUBLISH_HTTP_URL}}/libs/granite/core/content/login.html" | grep -q "QUICKSTART_HOMEPAGE"
You can’t perform that action at this time.
0 commit comments