Skip to content

Commit 257230f

Browse files
committed
ci: make fresh install work
1 parent 120bac7 commit 257230f

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,13 @@ jobs:
166166
167167
- name: Create Magento project inside container
168168
run: |
169-
devcontainer exec --workspace-folder . \
169+
devcontainer exec --workspace-folder . bash -c '
170170
composer create-project \
171171
--repository-url=https://mirror.mage-os.org/ \
172-
magento/project-community-edition .
172+
magento/project-community-edition /tmp/magento && \
173+
cp -r /tmp/magento/. /workspace/ && \
174+
rm -rf /tmp/magento
175+
'
173176
174177
- name: Run setup-install.sh
175178
run: |

compose/2.4.8/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ services:
4747
command: --max_allowed_packet=256M
4848

4949
opensearch:
50-
image: opensearchproject/opensearch:2.19.1
50+
image: opensearchproject/opensearch:3
5151
environment:
5252
- discovery.type=single-node
5353
- bootstrap.memory_lock=true
@@ -70,7 +70,7 @@ services:
7070
- magento
7171

7272
rabbitmq:
73-
image: rabbitmq:4.0-management
73+
image: rabbitmq:4.1-management
7474
environment:
7575
RABBITMQ_DEFAULT_USER: magento
7676
RABBITMQ_DEFAULT_PASS: magento

0 commit comments

Comments
 (0)