Skip to content

Commit

Permalink
Classic tasks clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
krystian-panek-vmltech committed Feb 18, 2023
1 parent d8c15e7 commit c50828a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
20 changes: 14 additions & 6 deletions pkg/project/classic/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ tasks:
- sh aemw instance create
- sh aemw instance up

aem:await:
desc: await stable AEM instances
aliases: [aem:check]
cmds:
- sh aemw instance await

aem:status:
desc: check AEM instances status
env:
Expand Down Expand Up @@ -146,23 +152,25 @@ tasks:
--command "mvn clean package"
--sources "pom.xml,all,core,ui.apps,ui.apps.structure,ui.config,ui.content,ui.frontend,ui.tests"
--file "all/target/*.all-*.zip"
- cd dispatcher && sh build.sh
aem:deploy:
desc: deploy AEM application
deps: [aem:build]
cmds:
- sh aemw package deploy --file "all/target/*.all-*.zip"

docker:build:dispatcher:
desc: build AEM dispatcher image
dir: dispatcher
cmds:
- docker build -t acme/aem-ams/dispatcher-publish .

docker:start:
desc: start Docker containers
aliases: [docker:up]
deps: [docker:build:dispatcher]
cmds:
- >
mkdir -p
aem/home/var/dispatcher/httpd/logs
aem/home/var/dispatcher/httpd/cache
aem/home/var/dispatcher/httpd/htdocs
- mkdir -p aem/home/var/dispatcher/httpd/logs aem/home/var/dispatcher/httpd/cache aem/home/var/dispatcher/httpd/htdocs
- docker compose up -d

docker:stop:
Expand Down
3 changes: 0 additions & 3 deletions pkg/project/classic/dispatcher/build.sh

This file was deleted.

6 changes: 6 additions & 0 deletions pkg/project/cloud/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ tasks:
- sh aemw instance create
- sh aemw instance up

aem:await:
desc: await stable AEM instances
aliases: [aem:check]
cmds:
- sh aemw instance await

aem:status:
desc: check AEM instances status
env:
Expand Down

0 comments on commit c50828a

Please sign in to comment.