mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-14 18:35:08 +01:00
Updated for new healthcheck and fix for new Nextcloud version
This commit is contained in:
parent
99d125f704
commit
e6da52e9c3
26 changed files with 225 additions and 559 deletions
|
@ -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"]
|
|
@ -9,8 +9,8 @@ services:
|
|||
image: mariadb:11.0.2-jammy
|
||||
restart: always
|
||||
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
#volumes:
|
||||
# - 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:
|
||||
- MYSQL_ROOT_PASSWORD=TheGibson
|
||||
- MYSQL_PASSWORD=TheGibson
|
||||
|
@ -22,8 +22,8 @@ services:
|
|||
restart: always
|
||||
links:
|
||||
- db
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
#volumes:
|
||||
# - 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:
|
||||
- MYSQL_PASSWORD=TheGibson
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
|
@ -41,3 +41,7 @@ services:
|
|||
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
depends_on:
|
||||
- app
|
||||
healthcheck:
|
||||
test: ["curl", "-f", "http://nc"]
|
||||
interval: "1s"
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ services:
|
|||
image: mariadb:11.0.2-jammy
|
||||
restart: always
|
||||
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
#volumes:
|
||||
# - 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:
|
||||
- MYSQL_ROOT_PASSWORD=TheGibson
|
||||
- MYSQL_PASSWORD=TheGibson
|
||||
|
@ -24,10 +24,13 @@ services:
|
|||
- 8080:80
|
||||
links:
|
||||
- db
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
#volumes:
|
||||
# - 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:
|
||||
- MYSQL_PASSWORD=TheGibson
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
- MYSQL_HOST=db
|
||||
healthcheck:
|
||||
test: ["curl", "-f", "http://nc"]
|
||||
interval: "1s"
|
||||
|
|
|
@ -8,8 +8,8 @@ services:
|
|||
db:
|
||||
image: postgres:15.3-alpine3.18
|
||||
restart: always
|
||||
volumes:
|
||||
- db:/var/lib/postgresql/data:Z
|
||||
#volumes:
|
||||
# - 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:
|
||||
- POSTGRES_PASSWORD=TheGibson
|
||||
- POSTGRES_DB=nextcloud
|
||||
|
@ -22,10 +22,13 @@ services:
|
|||
- 8080:80
|
||||
links:
|
||||
- db
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
#volumes:
|
||||
# - 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:
|
||||
- POSTGRES_PASSWORD=TheGibson
|
||||
- POSTGRES_DB=nextcloud
|
||||
- POSTGRES_USER=nextcloud
|
||||
- POSTGRES_HOST=db
|
||||
- POSTGRES_HOST=db
|
||||
healthcheck:
|
||||
test: ["curl", "-f", "http://nc"]
|
||||
interval: "1s"
|
||||
|
|
|
@ -6,5 +6,8 @@ services:
|
|||
restart: always
|
||||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
#volumes:
|
||||
# - 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"
|
||||
|
|
|
@ -2,7 +2,7 @@ import contextlib
|
|||
import sys
|
||||
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:
|
||||
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(5)
|
||||
log_note("Close welcome popup")
|
||||
with contextlib.suppress(Exception):
|
||||
page.get_by_role("button", name="Close modal").click(timeout=15_000)
|
||||
with contextlib.suppress(TimeoutError):
|
||||
page.locator('button.first-run-wizard__close-button').click(timeout=15_000)
|
||||
|
||||
log_note("Go to calendar")
|
||||
page.get_by_role("link", name="Calendar").click()
|
||||
|
||||
# Second welcome screen?
|
||||
with contextlib.suppress(Exception):
|
||||
page.get_by_role("button", name="Close modal").click(timeout=15_000)
|
||||
with contextlib.suppress(TimeoutError):
|
||||
page.locator('button.first-run-wizard__close-button').click(timeout=15_000)
|
||||
|
||||
log_note("Create event")
|
||||
event_name = "Weekly sync"
|
||||
|
|
|
@ -7,41 +7,20 @@ compose-file: !include compose-fpm-mariadb.yml
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py
|
||||
|
||||
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
|
||||
|
||||
app:
|
||||
volumes: []
|
||||
networks:
|
||||
- nextcloud-setup-network
|
||||
|
||||
nc:
|
||||
networks:
|
||||
- nextcloud-setup-network
|
||||
|
||||
networks:
|
||||
nextcloud-setup-network:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py
|
||||
command: python3 /tmp/repo/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -50,7 +29,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_event.py
|
||||
command: python3 /tmp/repo/nextcloud_create_event.py
|
||||
note: Creating event
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,41 +10,20 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py
|
||||
|
||||
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
|
||||
|
||||
app:
|
||||
volumes: []
|
||||
networks:
|
||||
- nextcloud-setup-network
|
||||
|
||||
nc:
|
||||
networks:
|
||||
- nextcloud-setup-network
|
||||
|
||||
networks:
|
||||
nextcloud-setup-network:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py
|
||||
command: python3 /tmp/repo/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -53,7 +32,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_talk.py
|
||||
command: python3 /tmp/repo/nextcloud_talk.py
|
||||
note: Starting conversation
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,39 +10,20 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_user.py /tmp/nextcloud_create_user.py
|
||||
- cp /tmp/repo/nextcloud_create_doc_and_share.py /tmp/nextcloud_create_doc_and_share.py
|
||||
- cp /tmp/repo/nextcloud_docs_collaboration.py /tmp/nextcloud_docs_collaboration.py
|
||||
|
||||
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:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py
|
||||
command: python3 /tmp/repo/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -51,7 +32,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_user.py
|
||||
command: python3 /tmp/repo/nextcloud_create_user.py
|
||||
note: Create user
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -60,7 +41,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- 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
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -69,7 +50,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_docs_collaboration.py
|
||||
command: python3 /tmp/repo/nextcloud_docs_collaboration.py
|
||||
note: dev
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,39 +10,20 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_user.py /tmp/nextcloud_create_user.py
|
||||
- cp /tmp/repo/nextcloud_create_doc_and_share.py /tmp/nextcloud_create_doc_and_share.py
|
||||
- cp /tmp/repo/nextcloud_docs_collaboration.py /tmp/nextcloud_docs_collaboration.py
|
||||
|
||||
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:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -51,7 +32,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_user.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_create_user.py firefox
|
||||
note: Create user
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -60,7 +41,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- 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
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -69,7 +50,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_docs_collaboration.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_docs_collaboration.py firefox
|
||||
note: dev
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -7,37 +7,20 @@ compose-file: !include compose-mariadb.yml
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py
|
||||
|
||||
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:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py
|
||||
command: python3 /tmp/repo/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -46,7 +29,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_event.py
|
||||
command: python3 /tmp/repo/nextcloud_create_event.py
|
||||
note: Creating event
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -7,37 +7,20 @@ compose-file: !include compose-mariadb.yml
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py
|
||||
|
||||
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:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -47,7 +30,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_event.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_create_event.py firefox
|
||||
note: Creating event
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,37 +10,20 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py
|
||||
|
||||
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:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py
|
||||
command: python3 /tmp/repo/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -49,7 +32,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_talk.py
|
||||
command: python3 /tmp/repo/nextcloud_talk.py
|
||||
note: Starting conversation
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,37 +10,20 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py
|
||||
|
||||
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:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -49,7 +32,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_talk.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_talk.py firefox
|
||||
note: Starting conversation
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,39 +10,20 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_user.py /tmp/nextcloud_create_user.py
|
||||
- cp /tmp/repo/nextcloud_create_doc_and_share.py /tmp/nextcloud_create_doc_and_share.py
|
||||
- cp /tmp/repo/nextcloud_docs_collaboration.py /tmp/nextcloud_docs_collaboration.py
|
||||
|
||||
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:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py
|
||||
command: python3 /tmp/repo/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -51,7 +32,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_user.py
|
||||
command: python3 /tmp/repo/nextcloud_create_user.py
|
||||
note: Create user
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -60,7 +41,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- 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
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -69,7 +50,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_docs_collaboration.py
|
||||
command: python3 /tmp/repo/nextcloud_docs_collaboration.py
|
||||
note: dev
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,39 +10,21 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_user.py /tmp/nextcloud_create_user.py
|
||||
- cp /tmp/repo/nextcloud_create_doc_and_share.py /tmp/nextcloud_create_doc_and_share.py
|
||||
- cp /tmp/repo/nextcloud_docs_collaboration.py /tmp/nextcloud_docs_collaboration.py
|
||||
|
||||
networks:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
- 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:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -51,7 +33,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_user.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_create_user.py firefox
|
||||
note: Create user
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -60,7 +42,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- 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
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -69,7 +51,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_docs_collaboration.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_docs_collaboration.py firefox
|
||||
note: dev
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -7,37 +7,21 @@ compose-file: !include compose-postgres.yml
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py
|
||||
depends_on:
|
||||
nc:
|
||||
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:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py
|
||||
command: python3 /tmp/repo/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -46,7 +30,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_event.py
|
||||
command: python3 /tmp/repo/nextcloud_create_event.py
|
||||
note: Creating event
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -7,37 +7,20 @@ compose-file: !include compose-postgres.yml
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py
|
||||
|
||||
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:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -46,7 +29,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_event.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_create_event.py firefox
|
||||
note: Creating event
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,37 +10,20 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py
|
||||
|
||||
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:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py
|
||||
command: python3 /tmp/repo/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -49,7 +32,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_talk.py
|
||||
command: python3 /tmp/repo/nextcloud_talk.py
|
||||
note: Starting conversation
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,37 +10,20 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py
|
||||
|
||||
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:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -49,7 +32,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_talk.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_talk.py firefox
|
||||
note: Starting conversation
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,35 +10,20 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_user.py /tmp/nextcloud_create_user.py
|
||||
- cp /tmp/repo/nextcloud_create_doc_and_share.py /tmp/nextcloud_create_doc_and_share.py
|
||||
- cp /tmp/repo/nextcloud_docs_collaboration.py /tmp/nextcloud_docs_collaboration.py
|
||||
|
||||
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
|
||||
|
||||
nc:
|
||||
volumes: []
|
||||
networks:
|
||||
- nextcloud-setup-network
|
||||
|
||||
networks:
|
||||
nextcloud-setup-network:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py
|
||||
command: python3 /tmp/repo/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -47,7 +32,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_user.py
|
||||
command: python3 /tmp/repo/nextcloud_create_user.py
|
||||
note: Create user
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -56,7 +41,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- 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
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -65,7 +50,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_docs_collaboration.py
|
||||
command: python3 /tmp/repo/nextcloud_docs_collaboration.py
|
||||
note: dev
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,35 +10,20 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_user.py /tmp/nextcloud_create_user.py
|
||||
- cp /tmp/repo/nextcloud_create_doc_and_share.py /tmp/nextcloud_create_doc_and_share.py
|
||||
- cp /tmp/repo/nextcloud_docs_collaboration.py /tmp/nextcloud_docs_collaboration.py
|
||||
|
||||
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
|
||||
|
||||
nc:
|
||||
volumes: []
|
||||
networks:
|
||||
- nextcloud-setup-network
|
||||
|
||||
networks:
|
||||
nextcloud-setup-network:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -47,7 +32,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_user.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_create_user.py firefox
|
||||
note: Create user
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -56,7 +41,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- 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
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -65,7 +50,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_docs_collaboration.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_docs_collaboration.py firefox
|
||||
note: dev
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -7,33 +7,20 @@ compose-file: !include compose-sqlite.yml
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py
|
||||
|
||||
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
|
||||
|
||||
nc:
|
||||
volumes: []
|
||||
networks:
|
||||
- nextcloud-setup-network
|
||||
|
||||
networks:
|
||||
nextcloud-setup-network:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py
|
||||
command: python3 /tmp/repo/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -42,7 +29,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_event.py
|
||||
command: python3 /tmp/repo/nextcloud_create_event.py
|
||||
note: Creating event
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -7,33 +7,20 @@ compose-file: !include compose-sqlite.yml
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.py
|
||||
|
||||
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
|
||||
|
||||
nc:
|
||||
volumes: []
|
||||
networks:
|
||||
- nextcloud-setup-network
|
||||
|
||||
networks:
|
||||
nextcloud-setup-network:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -42,7 +29,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_event.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_create_event.py firefox
|
||||
note: Creating event
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,33 +10,20 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py
|
||||
|
||||
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
|
||||
|
||||
nc:
|
||||
volumes: []
|
||||
networks:
|
||||
- nextcloud-setup-network
|
||||
|
||||
networks:
|
||||
nextcloud-setup-network:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py
|
||||
command: python3 /tmp/repo/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -45,7 +32,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_talk.py
|
||||
command: python3 /tmp/repo/nextcloud_talk.py
|
||||
note: Starting conversation
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
|
@ -10,33 +10,20 @@ sci:
|
|||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v3
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py
|
||||
|
||||
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
|
||||
|
||||
nc:
|
||||
volumes: []
|
||||
networks:
|
||||
- nextcloud-setup-network
|
||||
|
||||
networks:
|
||||
nextcloud-setup-network:
|
||||
depends_on:
|
||||
nc:
|
||||
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
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
|
@ -45,7 +32,7 @@ flow:
|
|||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_talk.py firefox
|
||||
command: python3 /tmp/repo/nextcloud_talk.py firefox
|
||||
note: Starting conversation
|
||||
read-notes-stdout: true
|
||||
read-sci-stdout: true
|
||||
|
|
Loading…
Add table
Reference in a new issue