Skip to content

Commit

Permalink
WIP: Trying to get yarn start to succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersonBledsoe committed Dec 22, 2023
1 parent 7b9490b commit 9297009
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push]
env:
ADDON_NAME: "volto-form-block"
ADDON_PATH: "volto-form-block"
VOLTO_VERSION: "17.0.0"
VOLTO_VERSION: "16.30.0"

jobs:

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ build-live: ## Build Addon live
.PHONY: build-addon
build-addon: ## Build Addon dev
@echo "$(GREEN)==> Build Addon development container $(RESET)"
${DEV_COMPOSE} build addon-dev
${DEV_COMPOSE} build --no-cache addon-dev

.PHONY: start-dev
start-dev: ## Starts Dev container
Expand Down
9 changes: 4 additions & 5 deletions acceptance/ci.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
version: "3"
version: '3'

services:

addon-acceptance:
build:
context: ../
dockerfile: ./dockerfiles/Dockerfile
args:
ADDON_NAME: "${ADDON_NAME}"
ADDON_PATH: "${ADDON_PATH}"
VOLTO_VERSION: ${VOLTO_VERSION:-17}
ADDON_NAME: '${ADDON_NAME}'
ADDON_PATH: '${ADDON_PATH}'
VOLTO_VERSION: ${VOLTO_VERSION}
environment:
RAZZLE_INTERNAL_API_PATH: http://backend-acceptance:55001/plone
RAZZLE_API_PATH: http://localhost:55001/plone
Expand Down
4 changes: 2 additions & 2 deletions acceptance/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
args:
ADDON_NAME: "${ADDON_NAME}"
ADDON_PATH: "${ADDON_PATH}"
VOLTO_VERSION: ${VOLTO_VERSION:-17}
VOLTO_VERSION: ${VOLTO_VERSION}
volumes:
- ${CURRENT_DIR}:/app/src/addons/${ADDON_PATH}/
environment:
Expand All @@ -32,7 +32,7 @@ services:
args:
ADDON_NAME: "${ADDON_NAME}"
ADDON_PATH: "${ADDON_PATH}"
VOLTO_VERSION: ${VOLTO_VERSION:-17}
VOLTO_VERSION: ${VOLTO_VERSION}
environment:
RAZZLE_INTERNAL_API_PATH: http://backend-acceptance:55001/plone
RAZZLE_API_PATH: http://localhost:55001/plone
Expand Down
4 changes: 2 additions & 2 deletions dockerfiles/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
args:
ADDON_NAME: "${ADDON_NAME}"
ADDON_PATH: "${ADDON_PATH}"
VOLTO_VERSION: "${VOLTO_VERSION:-17}"
VOLTO_VERSION: "${VOLTO_VERSION}"
volumes:
- ${CURRENT_DIR}:/app/src/addons/${ADDON_PATH}/
environment:
Expand All @@ -35,7 +35,7 @@ services:
args:
ADDON_NAME: "${ADDON_NAME}"
ADDON_PATH: "${ADDON_PATH}"
VOLTO_VERSION: "${VOLTO_VERSION:-17}"
VOLTO_VERSION: "${VOLTO_VERSION}"
environment:
RAZZLE_INTERNAL_API_PATH: http://backend:8080/Plone
RAZZLE_API_PATH: http://localhost:8080/Plone
Expand Down

0 comments on commit 9297009

Please sign in to comment.