0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-15 19:05:09 +01:00

Updated for new healthcheck and fix for new Nextcloud version

This commit is contained in:
Arne Tarara 2023-12-30 13:47:48 +01:00
parent 99d125f704
commit e6da52e9c3
No known key found for this signature in database
GPG key ID: 2540198A4079785B
26 changed files with 225 additions and 559 deletions

View file

@ -1,13 +0,0 @@
FROM mcr.microsoft.com/playwright/python:v1.35.0-jammy
# Install dependencies
RUN apt-get update && apt-get install -y curl wget gnupg && rm -rf /var/lib/apt/lists/*
# Install Playwright
RUN pip install playwright==1.35.0
# Set up Playwright dependencies for Chromium, Firefox and Webkit
RUN playwright install
RUN playwright install-deps
CMD ["/bin/bash"]

View file

@ -9,8 +9,8 @@ services:
image: mariadb:11.0.2-jammy image: mariadb:11.0.2-jammy
restart: always restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes: #volumes:
- db:/var/lib/mysql # - db:/var/lib/mysql # This is the usual way of starting this service in a container, but we do not need persistent data storage for benchmarking
environment: environment:
- MYSQL_ROOT_PASSWORD=TheGibson - MYSQL_ROOT_PASSWORD=TheGibson
- MYSQL_PASSWORD=TheGibson - MYSQL_PASSWORD=TheGibson
@ -22,8 +22,8 @@ services:
restart: always restart: always
links: links:
- db - db
volumes: #volumes:
- nextcloud:/var/www/html # - nextcloud:/var/www/html # This is the usual way of using nextcloud in a container, but we do not need persistent data storage for benchmarking
environment: environment:
- MYSQL_PASSWORD=TheGibson - MYSQL_PASSWORD=TheGibson
- MYSQL_DATABASE=nextcloud - MYSQL_DATABASE=nextcloud
@ -41,3 +41,7 @@ services:
- ./nginx.conf:/etc/nginx/nginx.conf:ro - ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on: depends_on:
- app - app
healthcheck:
test: ["curl", "-f", "http://nc"]
interval: "1s"

View file

@ -9,8 +9,8 @@ services:
image: mariadb:11.0.2-jammy image: mariadb:11.0.2-jammy
restart: always restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
volumes: #volumes:
- db:/var/lib/mysql # - db:/var/lib/mysql # This is the usual way of starting this service in a container, but we do not need persistent data storage for benchmarking
environment: environment:
- MYSQL_ROOT_PASSWORD=TheGibson - MYSQL_ROOT_PASSWORD=TheGibson
- MYSQL_PASSWORD=TheGibson - MYSQL_PASSWORD=TheGibson
@ -24,10 +24,13 @@ services:
- 8080:80 - 8080:80
links: links:
- db - db
volumes: #volumes:
- nextcloud:/var/www/html # - nextcloud:/var/www/html # This is the usual way of using nextcloud in a container, but we do not need persistent data storage for benchmarking
environment: environment:
- MYSQL_PASSWORD=TheGibson - MYSQL_PASSWORD=TheGibson
- MYSQL_DATABASE=nextcloud - MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud - MYSQL_USER=nextcloud
- MYSQL_HOST=db - MYSQL_HOST=db
healthcheck:
test: ["curl", "-f", "http://nc"]
interval: "1s"

View file

@ -8,8 +8,8 @@ services:
db: db:
image: postgres:15.3-alpine3.18 image: postgres:15.3-alpine3.18
restart: always restart: always
volumes: #volumes:
- db:/var/lib/postgresql/data:Z # - db:/var/lib/postgresql/data:Z # This is the usual way of starting this service in a container, but we do not need persistent data storage for benchmarking
environment: environment:
- POSTGRES_PASSWORD=TheGibson - POSTGRES_PASSWORD=TheGibson
- POSTGRES_DB=nextcloud - POSTGRES_DB=nextcloud
@ -22,10 +22,13 @@ services:
- 8080:80 - 8080:80
links: links:
- db - db
volumes: #volumes:
- nextcloud:/var/www/html # - nextcloud:/var/www/html # This is the usual way of using nextcloud in a container, but we do not need persistent data storage for benchmarking
environment: environment:
- POSTGRES_PASSWORD=TheGibson - POSTGRES_PASSWORD=TheGibson
- POSTGRES_DB=nextcloud - POSTGRES_DB=nextcloud
- POSTGRES_USER=nextcloud - POSTGRES_USER=nextcloud
- POSTGRES_HOST=db - POSTGRES_HOST=db
healthcheck:
test: ["curl", "-f", "http://nc"]
interval: "1s"

View file

@ -6,5 +6,8 @@ services:
restart: always restart: always
ports: ports:
- 8080:80 - 8080:80
volumes: #volumes:
- nextcloud:/var/www/html # - nextcloud:/var/www/html # This is the usual way of using nextcloud in a container, but we do not need persistent data storage for benchmarking
healthcheck:
test: ["curl", "-f", "http://nc"]
interval: "1s"

View file

@ -2,7 +2,7 @@ import contextlib
import sys import sys
from time import time_ns, sleep from time import time_ns, sleep
from playwright.sync_api import Playwright, sync_playwright, expect from playwright.sync_api import Playwright, sync_playwright, expect, TimeoutError
def log_note(message: str) -> None: def log_note(message: str) -> None:
timestamp = str(time_ns())[:16] timestamp = str(time_ns())[:16]
@ -30,15 +30,15 @@ def run(playwright: Playwright, browser_name: str) -> None:
# Sleep to make sure the modal has time to appear before continuing navigation # Sleep to make sure the modal has time to appear before continuing navigation
sleep(5) sleep(5)
log_note("Close welcome popup") log_note("Close welcome popup")
with contextlib.suppress(Exception): with contextlib.suppress(TimeoutError):
page.get_by_role("button", name="Close modal").click(timeout=15_000) page.locator('button.first-run-wizard__close-button').click(timeout=15_000)
log_note("Go to calendar") log_note("Go to calendar")
page.get_by_role("link", name="Calendar").click() page.get_by_role("link", name="Calendar").click()
# Second welcome screen? # Second welcome screen?
with contextlib.suppress(Exception): with contextlib.suppress(TimeoutError):
page.get_by_role("button", name="Close modal").click(timeout=15_000) page.locator('button.first-run-wizard__close-button').click(timeout=15_000)
log_note("Create event") log_note("Create event")
event_name = "Weekly sync" event_name = "Weekly sync"

View file

@ -7,41 +7,20 @@ compose-file: !include compose-fpm-mariadb.yml
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
app:
volumes: []
networks:
- nextcloud-setup-network
nc:
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py command: python3 /tmp/repo/nextcloud_install.py
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -50,7 +29,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_event.py command: python3 /tmp/repo/nextcloud_create_event.py
note: Creating event note: Creating event
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,41 +10,20 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
app:
volumes: []
networks:
- nextcloud-setup-network
nc:
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py command: python3 /tmp/repo/nextcloud_install.py
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -53,7 +32,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_talk.py command: python3 /tmp/repo/nextcloud_talk.py
note: Starting conversation note: Starting conversation
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,39 +10,20 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_user.py /tmp/nextcloud_create_user.py condition: service_healthy
- cp /tmp/repo/nextcloud_create_doc_and_share.py /tmp/nextcloud_create_doc_and_share.py volumes:
- cp /tmp/repo/nextcloud_docs_collaboration.py /tmp/nextcloud_docs_collaboration.py - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
environment:
networks: DISPLAY: ":0" # for debugging in non-headless mode
- nextcloud-setup-network
# volumes:
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py command: python3 /tmp/repo/nextcloud_install.py
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -51,7 +32,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_user.py command: python3 /tmp/repo/nextcloud_create_user.py
note: Create user note: Create user
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -60,7 +41,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_doc_and_share.py command: python3 /tmp/repo/nextcloud_create_doc_and_share.py
note: Create document and share note: Create document and share
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -69,7 +50,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_docs_collaboration.py command: python3 /tmp/repo/nextcloud_docs_collaboration.py
note: dev note: dev
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,39 +10,20 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_user.py /tmp/nextcloud_create_user.py condition: service_healthy
- cp /tmp/repo/nextcloud_create_doc_and_share.py /tmp/nextcloud_create_doc_and_share.py volumes:
- cp /tmp/repo/nextcloud_docs_collaboration.py /tmp/nextcloud_docs_collaboration.py - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
environment:
networks: DISPLAY: ":0" # for debugging in non-headless mode
- nextcloud-setup-network
# volumes:
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py firefox command: python3 /tmp/repo/nextcloud_install.py firefox
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -51,7 +32,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_user.py firefox command: python3 /tmp/repo/nextcloud_create_user.py firefox
note: Create user note: Create user
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -60,7 +41,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_doc_and_share.py firefox command: python3 /tmp/repo/nextcloud_create_doc_and_share.py firefox
note: Create document and share note: Create document and share
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -69,7 +50,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_docs_collaboration.py firefox command: python3 /tmp/repo/nextcloud_docs_collaboration.py firefox
note: dev note: dev
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -7,37 +7,20 @@ compose-file: !include compose-mariadb.yml
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py command: python3 /tmp/repo/nextcloud_install.py
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -46,7 +29,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_event.py command: python3 /tmp/repo/nextcloud_create_event.py
note: Creating event note: Creating event
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -7,37 +7,20 @@ compose-file: !include compose-mariadb.yml
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py firefox command: python3 /tmp/repo/nextcloud_install.py firefox
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -47,7 +30,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_event.py firefox command: python3 /tmp/repo/nextcloud_create_event.py firefox
note: Creating event note: Creating event
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,37 +10,20 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py command: python3 /tmp/repo/nextcloud_install.py
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -49,7 +32,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_talk.py command: python3 /tmp/repo/nextcloud_talk.py
note: Starting conversation note: Starting conversation
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,37 +10,20 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py firefox command: python3 /tmp/repo/nextcloud_install.py firefox
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -49,7 +32,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_talk.py firefox command: python3 /tmp/repo/nextcloud_talk.py firefox
note: Starting conversation note: Starting conversation
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,39 +10,20 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_user.py /tmp/nextcloud_create_user.py condition: service_healthy
- cp /tmp/repo/nextcloud_create_doc_and_share.py /tmp/nextcloud_create_doc_and_share.py volumes:
- cp /tmp/repo/nextcloud_docs_collaboration.py /tmp/nextcloud_docs_collaboration.py - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
environment:
networks: DISPLAY: ":0" # for debugging in non-headless mode
- nextcloud-setup-network
# volumes:
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py command: python3 /tmp/repo/nextcloud_install.py
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -51,7 +32,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_user.py command: python3 /tmp/repo/nextcloud_create_user.py
note: Create user note: Create user
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -60,7 +41,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_doc_and_share.py command: python3 /tmp/repo/nextcloud_create_doc_and_share.py
note: Create document and share note: Create document and share
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -69,7 +50,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_docs_collaboration.py command: python3 /tmp/repo/nextcloud_docs_collaboration.py
note: dev note: dev
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,39 +10,21 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_user.py /tmp/nextcloud_create_user.py condition: service_healthy
- cp /tmp/repo/nextcloud_create_doc_and_share.py /tmp/nextcloud_create_doc_and_share.py volumes:
- cp /tmp/repo/nextcloud_docs_collaboration.py /tmp/nextcloud_docs_collaboration.py - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
environment:
networks: DISPLAY: ":0" # for debugging in non-headless mode
- nextcloud-setup-network - nextcloud-setup-network
# volumes:
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py firefox command: python3 /tmp/repo/nextcloud_install.py firefox
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -51,7 +33,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_user.py firefox command: python3 /tmp/repo/nextcloud_create_user.py firefox
note: Create user note: Create user
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -60,7 +42,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_doc_and_share.py firefox command: python3 /tmp/repo/nextcloud_create_doc_and_share.py firefox
note: Create document and share note: Create document and share
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -69,7 +51,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_docs_collaboration.py firefox command: python3 /tmp/repo/nextcloud_docs_collaboration.py firefox
note: dev note: dev
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -7,37 +7,21 @@ compose-file: !include compose-postgres.yml
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py condition: service_healthy
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
environment:
DISPLAY: ":0" # for debugging in non-headless mode
networks:
- nextcloud-setup-network
# volumes:
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py command: python3 /tmp/repo/nextcloud_install.py
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -46,7 +30,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_event.py command: python3 /tmp/repo/nextcloud_create_event.py
note: Creating event note: Creating event
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -7,37 +7,20 @@ compose-file: !include compose-postgres.yml
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py firefox command: python3 /tmp/repo/nextcloud_install.py firefox
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -46,7 +29,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_event.py firefox command: python3 /tmp/repo/nextcloud_create_event.py firefox
note: Creating event note: Creating event
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,37 +10,20 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py command: python3 /tmp/repo/nextcloud_install.py
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -49,7 +32,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_talk.py command: python3 /tmp/repo/nextcloud_talk.py
note: Starting conversation note: Starting conversation
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,37 +10,20 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db:
volumes: []
networks:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py firefox command: python3 /tmp/repo/nextcloud_install.py firefox
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -49,7 +32,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_talk.py firefox command: python3 /tmp/repo/nextcloud_talk.py firefox
note: Starting conversation note: Starting conversation
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,35 +10,20 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_user.py /tmp/nextcloud_create_user.py condition: service_healthy
- cp /tmp/repo/nextcloud_create_doc_and_share.py /tmp/nextcloud_create_doc_and_share.py volumes:
- cp /tmp/repo/nextcloud_docs_collaboration.py /tmp/nextcloud_docs_collaboration.py - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
environment:
networks: DISPLAY: ":0" # for debugging in non-headless mode
- nextcloud-setup-network
# volumes:
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py command: python3 /tmp/repo/nextcloud_install.py
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -47,7 +32,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_user.py command: python3 /tmp/repo/nextcloud_create_user.py
note: Create user note: Create user
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -56,7 +41,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_doc_and_share.py command: python3 /tmp/repo/nextcloud_create_doc_and_share.py
note: Create document and share note: Create document and share
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -65,7 +50,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_docs_collaboration.py command: python3 /tmp/repo/nextcloud_docs_collaboration.py
note: dev note: dev
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,35 +10,20 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_user.py /tmp/nextcloud_create_user.py condition: service_healthy
- cp /tmp/repo/nextcloud_create_doc_and_share.py /tmp/nextcloud_create_doc_and_share.py volumes:
- cp /tmp/repo/nextcloud_docs_collaboration.py /tmp/nextcloud_docs_collaboration.py - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
environment:
networks: DISPLAY: ":0" # for debugging in non-headless mode
- nextcloud-setup-network
# volumes:
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py firefox command: python3 /tmp/repo/nextcloud_install.py firefox
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -47,7 +32,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_user.py firefox command: python3 /tmp/repo/nextcloud_create_user.py firefox
note: Create user note: Create user
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -56,7 +41,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_doc_and_share.py firefox command: python3 /tmp/repo/nextcloud_create_doc_and_share.py firefox
note: Create document and share note: Create document and share
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -65,7 +50,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_docs_collaboration.py firefox command: python3 /tmp/repo/nextcloud_docs_collaboration.py firefox
note: dev note: dev
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -7,33 +7,20 @@ compose-file: !include compose-sqlite.yml
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py command: python3 /tmp/repo/nextcloud_install.py
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -42,7 +29,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_event.py command: python3 /tmp/repo/nextcloud_create_event.py
note: Creating event note: Creating event
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -7,33 +7,20 @@ compose-file: !include compose-sqlite.yml
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py firefox command: python3 /tmp/repo/nextcloud_install.py firefox
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -42,7 +29,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_create_event.py firefox command: python3 /tmp/repo/nextcloud_create_event.py firefox
note: Creating event note: Creating event
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,33 +10,20 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py command: python3 /tmp/repo/nextcloud_install.py
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -45,7 +32,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_talk.py command: python3 /tmp/repo/nextcloud_talk.py
note: Starting conversation note: Starting conversation
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true

View file

@ -10,33 +10,20 @@ sci:
services: services:
gcb-playwright: gcb-playwright:
image: greencoding/gcb_playwright:v3 image: greencoding/gcb_playwright:v3
setup-commands: depends_on:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py nc:
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py condition: service_healthy
volumes:
networks: - /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
- nextcloud-setup-network environment:
# volumes: DISPLAY: ":0" # for debugging in non-headless mode
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
flow: flow:
- name: Install Nextcloud - name: Install Nextcloud
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_install.py firefox command: python3 /tmp/repo/nextcloud_install.py firefox
note: Installing Nextcloud note: Installing Nextcloud
read-notes-stdout: true read-notes-stdout: true
log-stdout: true log-stdout: true
@ -45,7 +32,7 @@ flow:
container: gcb-playwright container: gcb-playwright
commands: commands:
- type: console - type: console
command: python3 /tmp/nextcloud_talk.py firefox command: python3 /tmp/repo/nextcloud_talk.py firefox
note: Starting conversation note: Starting conversation
read-notes-stdout: true read-notes-stdout: true
read-sci-stdout: true read-sci-stdout: true