Skip to content

Commit

Permalink
Maybe working robot server?
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersonBledsoe committed Jan 11, 2024
1 parent 435ffa3 commit be90a32
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ release: ## Release a version of the add-on
yarn release


.PHONY: temp-build
temp-build: ## Stop acceptance server (for use it while finished developing)
${ACCEPTANCE} --profile dev build --no-cache backend-acceptance
# .PHONY: temp-build
# temp-build: ## Stop acceptance server (for use it while finished developing)
# ${ACCEPTANCE} --profile dev build --no-cache backend-acceptance

.PHONY: temp
# ${ACCEPTANCE} --profile dev up --no-recreate backend-acceptance
.PHONY: temp
temp: ## Stop acceptance server (for use it while finished developing)
${ACCEPTANCE} up --no-recreate --no-attach backend-acceptance
${ACCEPTANCE} up --no-cache backend-acceptance
14 changes: 5 additions & 9 deletions acceptance/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,15 @@ services:
- prod

backend-acceptance:
build:
context: ../
dockerfile: ./dockerfiles/Dockerfile.acceptance-backend
image: plone/plone-backend:6.0.7
command: ["/app/bin/robot-server", "plone.app.robotframework.testing.PLONE_ROBOT_TESTING"]
environment:
ZSERVER_HOST: "0.0.0.0"
ZSERVER_PORT: "55001"
LISTEN_PORT: "55001"
SITE: plone
# APPLY_PROFILES: "plone.app.contenttypes:plone-content,plone.restapi:default,plone.volto:default-homepage,collective.volto.formsupport:default"
PROFILES: "plone.volto:default-homepage,collective.volto.formsupport:default"
APPLY_PROFILES: "plone.volto:default-homepage,collective.volto.formsupport:default"
# CONFIGURE_PACKAGES: "plone.app.contenttypes,plone.restapi,plone.volto,collective.volto.formsupport"
ADDONS: "plone.app.robotframework plone.volto collective.volto.formsupport"
CONFIGURE_PACKAGES: "plone.restapi,plone.volto"
APPLY_PROFILES: "plone.volto:default-homepage"
ADDONS: "plone.app.robotframework plone.volto"
ports:
- 55001:55001
- 8080:8080
Expand Down
7 changes: 5 additions & 2 deletions dockerfiles/Dockerfile.acceptance-backend
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ FROM plone/plone-backend:${PLONE_VERSION:-6}
# ENTRYPOINT ["/bin/sh", "-c" , "/app/docker-entrypoint.sh && /app/bin/robot-server plone.app.robotframework.testing.PLONE_ROBOT_TESTING"]
# CMD ["/bin/bash", "-c" , "/app/docker-entrypoint.sh create-volto && /app/bin/robot-server plone.app.robotframework.testing.PLONE_ROBOT_TESTING"]
# CMD ["/bin/bash", "-c" , "/app/bin/robot-server plone.app.robotframework.testing.PLONE_ROBOT_TESTING"]
CMD ["/bin/bash"]
# CMD ["/app/bin/robot-server", "plone.app.robotframework.testing.PLONE_ROBOT_TESTING"]

# ENTRYPOINT ["/bin/bash"]
ENTRYPOINT [ "/app/docker-entrypoint.sh" ]
CMD ["/app/bin/robot-server", "plone.app.robotframework.testing.PLONE_ROBOT_TESTING"]



# ARG EXTRA_PACKAGES
Expand Down

0 comments on commit be90a32

Please sign in to comment.