Skip to content

Commit

Permalink
add showcase playbook.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Aug 10, 2021
1 parent 9ca5038 commit 2a38a54
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ aemdesign-testing/local-*

#github actions
build/
docker/testing/playbooks/roles/*
docker/testing/playbooks/packages/*
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,19 @@ services:
- author
- seleniumhub

testingprepshowcase:
extends:
file: ./docker/testing/docker-compose.yml
service: testingprepshowcase
volumes:
- ./docker/testing/playbooks:/build/source
- "~/.m2:/build/.m2"
profiles:
- dotest
depends_on:
- author
- seleniumhub

testingcheck:
extends:
file: ./docker/testing/docker-compose.yml
Expand Down
24 changes: 24 additions & 0 deletions docker/testing/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,30 @@ services:
- dispatcher-network
- default

testingprepshowcase:
image: aemdesign/centos-java-buildpack:jdk11
hostname: testingprep
working_dir: "/build/source"
environment:
aem_port: 4502
aem_host: author
aem_username: admin
aem_password: admin
command:
- bash
- -l
- -c
- "ls -latr /build/.m2/repository && pwd && ls -l && ansible-galaxy install -r requirements.yml && ansible-playbook testingprep-showcase.yml --extra-vars debug_hide=true"
volumes:
- ./playbooks:/build/source
- "~/.m2:/build/.m2"
networks:
- seleniumgrid
- author-network
- publish-network
- dispatcher-network
- default

testingcheck:
image: docker
hostname: testingcheck
Expand Down

0 comments on commit 2a38a54

Please sign in to comment.