Skip to content

Commit 93c3682

Browse files
committed
Merge branch 'main' into feature/nextcloud-31
2 parents 2c1aa9f + 127deac commit 93c3682

5 files changed

Lines changed: 11 additions & 164 deletions

File tree

.github/workflows/php.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,11 @@ jobs:
9494
--env 'XDEBUG_MODE=coverage' \
9595
--rm \
9696
--volume="./solid:/var/www/html/apps/solid" \
97-
--workdir=/var/www/html/apps/solid \
98-
ghcr.io/pdsinterop/solid-nextcloud:179_merge-${{ matrix.nextcloud_version }} \
99-
bin/phpunit --configuration phpunit.xml
97+
ghcr.io/${{ github.repository }}:main-${{ matrix.nextcloud_version }} \
98+
bash -c 'NEXTCLOUD_UPDATE=1 /entrypoint.sh "echo" \
99+
&& sudo -u www-data bash /init.sh \
100+
&& cd /var/www/html/apps/solid \
101+
&& bin/phpunit --configuration phpunit.xml'
100102
101103
# 03.quality.php.scan.dependencies-vulnerabilities.yml
102104
scan-dependencies-vulnerabilities:

.github/workflows/solid-tests-suites.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ jobs:
6464
run: |
6565
docker build \
6666
--tag "solid-nextcloud:${{ env.TAG }}" \
67-
--tag "ghcr.io/pdsinterop/solid-nextcloud:${{ env.TAG }}" \
67+
--tag "ghcr.io/${{ github.repository }}:${{ env.TAG }}" \
6868
--build-arg 'NEXTCLOUD_VERSION=${{ matrix.nextcloud_version }}' \
6969
.
70-
docker push "ghcr.io/pdsinterop/solid-nextcloud:${{ env.TAG }}"
70+
docker push "ghcr.io/${{ github.repository }}:${{ env.TAG }}"
7171
mkdir -p cache/solid-nextcloud
7272
docker image save solid-nextcloud:${{ env.TAG }} --output ./cache/solid-nextcloud/${{ github.sha }}-${{ matrix.nextcloud_version }}.tar
7373
@@ -156,4 +156,4 @@ jobs:
156156
- name: Show nextcloud logs - ${{ matrix.test }}
157157
if: always()
158158
run: |
159-
docker exec server cat /var/www/html/data/nextcloud.log
159+
docker exec -i server cat /var/www/html/data/nextcloud.log

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ COPY site.conf /etc/apache2/sites-enabled/000-default.conf
2929

3030
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
3131

32-
RUN composer install --working-dir=/usr/src/nextcloud/apps/solid --no-dev --prefer-dist \
33-
&& rm /usr/local/bin/composer
32+
RUN composer install --working-dir=/usr/src/nextcloud/apps/solid --prefer-dist \
33+
&& rm /usr/local/bin/composer
3434

3535
WORKDIR /var/www/html
3636
EXPOSE 443

solid/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"pdsinterop/solid-crud": "^0.8"
3636
},
3737
"require-dev": {
38-
"doctrine/dbal": "*",
3938
"phpunit/phpunit": "^8 || ^9"
4039
}
4140
}

solid/composer.lock

Lines changed: 1 addition & 155 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)