mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-24 20:34:10 +02:00
Removed files from root to make it less noisy & Added all energy related files to energy-tests
This commit is contained in:
parent
77ff0c34bf
commit
3281e3e344
33 changed files with 1267 additions and 26 deletions
57
energy-tests/usage_scenario-fpm-mariadb-event-chromium.yml
Normal file
57
energy-tests/usage_scenario-fpm-mariadb-event-chromium.yml
Normal file
|
@ -0,0 +1,57 @@
|
|||
---
|
||||
name: Nextcloud - FPM - MariaDB - Event - Chromium
|
||||
author: Danilo Jesic <danilo@green-coding.berlin>
|
||||
description: Installs the official Nextcloud FPM image with a MariaDB and creates a calendar event. Uses a playwright script running Chromium to create an admin account, install the recommended apps and then create an event.
|
||||
compose-file: !include compose-fpm-mariadb.yml
|
||||
|
||||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright
|
||||
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:
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Login and create event
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_create_event.py
|
||||
note: Creating event
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
Loading…
Add table
Add a link
Reference in a new issue