Skip to content

Commit 6c34e3a

Browse files
committed
fix e2e tests
1 parent 307ebae commit 6c34e3a

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ jobs:
5353
run: pnpm test:unit --coverage
5454

5555
- name: ocis-server
56+
if: matrix.system == 'Ocis'
5657
run: |
5758
docker run --rm -d \
5859
-p 9200:9200 \
59-
-e OCIS_URL=$OCIS_URL \
60+
-e OCIS_URL=$OC_URL \
6061
-e OCIS_INSECURE=true \
6162
-e OCIS_LOG_LEVEL=error \
6263
-e IDM_ADMIN_PASSWORD=admin \
@@ -69,6 +70,24 @@ jobs:
6970
owncloud/ocis-rolling:latest \
7071
-c 'ocis init || true && ocis server'
7172
73+
- name: opencloud-server
74+
if: matrix.system == 'Opencloud'
75+
run: |
76+
docker run --rm -d \
77+
-p 9200:9200 \
78+
-e OC_URL=$OC_URL \
79+
-e OC_INSECURE=true \
80+
-e OC_LOG_LEVEL=error \
81+
-e IDM_ADMIN_PASSWORD=admin \
82+
-e PROXY_ENABLE_BASIC_AUTH=true \
83+
-e PROXY_CSP_CONFIG_FILE_LOCATION=/etc/ocis/csp.yml \
84+
-e WEB_ASSET_APPS_PATH=/web/apps \
85+
-v ${{ github.workspace }}/dev/config/csp.yml:/etc/opencloud/csp.yml:ro \
86+
-v ${{ github.workspace }}/dist:/web/apps:ro \
87+
--entrypoint sh \
88+
opencloudeu/opencloud-rolling:latest \
89+
-c 'opencloud init || true && opencloud server'
90+
7291
- name: host-ip
7392
id: host_ip
7493
run: echo "host_ip=$(hostname -I | cut -d' ' -f1)" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)