mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-17 07:03:57 +00:00
When ICON is GIF, extract only first frame (#1420)
This commit is contained in:
22
tests/setuponlytests/icon-gif-multiframe/docker-compose.yml
Normal file
22
tests/setuponlytests/icon-gif-multiframe/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
web:
|
||||
image: nginx
|
||||
volumes:
|
||||
- ./web:/usr/share/nginx/html
|
||||
mc:
|
||||
depends_on:
|
||||
- web
|
||||
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||
environment:
|
||||
EULA: "true"
|
||||
SETUP_ONLY: "true"
|
||||
ICON: http://web/motion-tween-example.gif
|
||||
# the following are only used to speed up test execution
|
||||
TYPE: CUSTOM
|
||||
CUSTOM_SERVER: /servers/fake.jar
|
||||
VERSION: 1.18.1
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./fake.jar:/servers/fake.jar
|
||||
0
tests/setuponlytests/icon-gif-multiframe/fake.jar
Normal file
0
tests/setuponlytests/icon-gif-multiframe/fake.jar
Normal file
1
tests/setuponlytests/icon-gif-multiframe/verify.sh
Normal file
1
tests/setuponlytests/icon-gif-multiframe/verify.sh
Normal file
@@ -0,0 +1 @@
|
||||
mc-image-helper assert fileExists server-icon.png
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 61 KiB |
22
tests/setuponlytests/icon-png-atscale/docker-compose.yml
Normal file
22
tests/setuponlytests/icon-png-atscale/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
web:
|
||||
image: nginx
|
||||
volumes:
|
||||
- ./web:/usr/share/nginx/html
|
||||
mc:
|
||||
depends_on:
|
||||
- web
|
||||
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||
environment:
|
||||
EULA: "true"
|
||||
SETUP_ONLY: "true"
|
||||
ICON: http://web/4737386_minecraft_squircle_icon.png
|
||||
# the following are only used to speed up test execution
|
||||
TYPE: CUSTOM
|
||||
CUSTOM_SERVER: /servers/fake.jar
|
||||
VERSION: 1.18.1
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./fake.jar:/servers/fake.jar
|
||||
0
tests/setuponlytests/icon-png-atscale/fake.jar
Normal file
0
tests/setuponlytests/icon-png-atscale/fake.jar
Normal file
1
tests/setuponlytests/icon-png-atscale/verify.sh
Normal file
1
tests/setuponlytests/icon-png-atscale/verify.sh
Normal file
@@ -0,0 +1 @@
|
||||
mc-image-helper assert fileExists server-icon.png
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 592 B |
22
tests/setuponlytests/icon-png-scale/docker-compose.yml
Normal file
22
tests/setuponlytests/icon-png-scale/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
web:
|
||||
image: nginx
|
||||
volumes:
|
||||
- ./web:/usr/share/nginx/html
|
||||
mc:
|
||||
depends_on:
|
||||
- web
|
||||
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||
environment:
|
||||
EULA: "true"
|
||||
SETUP_ONLY: "true"
|
||||
ICON: http://web/4737386_minecraft_squircle_icon.png
|
||||
# the following are only used to speed up test execution
|
||||
TYPE: CUSTOM
|
||||
CUSTOM_SERVER: /servers/fake.jar
|
||||
VERSION: 1.18.1
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./fake.jar:/servers/fake.jar
|
||||
0
tests/setuponlytests/icon-png-scale/fake.jar
Normal file
0
tests/setuponlytests/icon-png-scale/fake.jar
Normal file
1
tests/setuponlytests/icon-png-scale/verify.sh
Normal file
1
tests/setuponlytests/icon-png-scale/verify.sh
Normal file
@@ -0,0 +1 @@
|
||||
mc-image-helper assert fileExists server-icon.png
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user