Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ on:
jobs:
push_to_registry:
name: Build image
# FIXME: currently there are playwright issues with ubuntu-latest
# https://github.com/microsoft/playwright/issues/30368 closed but still an issue
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
if: github.repository == 'juliusknorr/nextcloud-docker-dev'
strategy:
fail-fast: false
Expand Down Expand Up @@ -50,10 +48,6 @@ jobs:
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# TODO: remove this when https://github.com/actions/runner-images/issues/11471
with:
platforms: linux/arm64
image: tonistiigi/binfmt:qemu-v7.0.0-28
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Cache Docker layers
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ services:
tail -f /dev/null

onlyoffice:
image: onlyoffice/documentserver:8.2
image: onlyoffice/documentserver:latest
environment:
VIRTUAL_HOST: onlyoffice${DOMAIN_SUFFIX}
USE_UNAUTHORIZED_STORAGE: "true"
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.php.template
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ RUN wget -O /usr/local/bin/phpunit8 https://phar.phpunit.de/phpunit-8.phar \
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash \
&& export NVM_DIR="/root/.nvm" \
&& . "$NVM_DIR/nvm.sh" \
&& nvm install 20 \
&& nvm alias default 20
&& nvm install node \
&& nvm alias default node

RUN wget https://gist.githubusercontent.com/nickvergessen/e21ee0a09ee3b3f7fd1b04c83dd3e114/raw/83142be1e50c23e8de1bd7aae88a95e5d6ae1ce2/nextcloud_log.json && lnav -i nextcloud_log.json && rm nextcloud_log.json

Expand Down
3 changes: 3 additions & 0 deletions docker/nginx/my_proxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ proxy_send_timeout 3600;
proxy_connect_timeout 3600;

proxy_set_header X-Forwarded-Proto $scheme;
# FIXME: remove this when onlyoffice is fixed https to http proxying
# https://github.com/ONLYOFFICE/DocumentServer/issues/2186
proxy_set_header CloudFront-Forwarded-Proto $scheme;
4 changes: 2 additions & 2 deletions tests/login.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ test.beforeEach(async ({ page }) => {

test.describe('New Todo', () => {
test('see the nextcloud login page', async ({ page }) => {
await expect(page).toHaveTitle('Login – Nextcloud');
await expect(page).toHaveTitle('Login – Nextcloud');
});

test('login to nextcloud as admin', async ({ page }) => {
await page.fill('#user', 'admin');
await page.fill('#password', 'admin');
await page.getByRole('button', { name: 'Log in' }).click();
await page.getByRole('button', { name: 'Log in', exact: true }).click();
await page.goto('http://nextcloud.local/index.php/apps/files');
});
});
54 changes: 30 additions & 24 deletions tests/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.40.1",
"@types/node": "^20.10.2"
"@playwright/test": "^1.52.0",
"@types/node": "^22.15.30"
}
}
Loading