mirror of https://github.com/Squidex/squidex.git
Browse Source
* Try to run build in parallel. * Another test * Adjust release * Individual docker files. * Another fix. * Use correct test flags. * Also adapt release.yml * Disable summary. * Fix warnings. * Also disable upload.pull/1200/head
committed by
GitHub
12 changed files with 530 additions and 326 deletions
@ -0,0 +1,9 @@ |
|||
[*.cs] |
|||
# MA0007: Add a comma after the last value |
|||
dotnet_diagnostic.MA0007.severity = none |
|||
|
|||
# MA0048: File name must match type name |
|||
dotnet_diagnostic.MA0048.severity = none |
|||
|
|||
# SA1633: File must have header |
|||
dotnet_diagnostic.SA1633.severity = none |
|||
@ -0,0 +1,9 @@ |
|||
[*.cs] |
|||
# MA0007: Add a comma after the last value |
|||
dotnet_diagnostic.MA0007.severity = none |
|||
|
|||
# MA0048: File name must match type name |
|||
dotnet_diagnostic.MA0048.severity = none |
|||
|
|||
# SA1633: File must have header |
|||
dotnet_diagnostic.SA1633.severity = none |
|||
@ -0,0 +1,9 @@ |
|||
[*.cs] |
|||
# MA0007: Add a comma after the last value |
|||
dotnet_diagnostic.MA0007.severity = none |
|||
|
|||
# MA0048: File name must match type name |
|||
dotnet_diagnostic.MA0048.severity = none |
|||
|
|||
# SA1633: File must have header |
|||
dotnet_diagnostic.SA1633.severity = none |
|||
@ -0,0 +1,54 @@ |
|||
services: |
|||
db_mysql: |
|||
image: mysql |
|||
ports: |
|||
- "3306:3306" |
|||
environment: |
|||
- MYSQL_DATABASE=squidex |
|||
- MYSQL_USER=admin |
|||
- MYSQL_PASSWORD=secret |
|||
- MYSQL_ROOT_PASSWORD=secret |
|||
command: --log-bin-trust-function-creators=1 --local-infile=1 |
|||
volumes: |
|||
- mysql_data:/var/lib/mysql |
|||
healthcheck: |
|||
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "admin", "--password=secret"] |
|||
interval: 10s |
|||
retries: 10 |
|||
|
|||
squidex_mysql: |
|||
extends: |
|||
file: docker-compose-base.yml |
|||
service: squidex_base |
|||
environment: |
|||
- EVENTSTORE__TYPE=Sql |
|||
- STORE__TYPE=Sql |
|||
- STORE__SQL__CONNECTIONSTRING=Server=db_mysql;Port=3306;Database=squidex;User=admin;Password=secret;AllowLoadLocalInfile=true; |
|||
- STORE__SQL__PROVIDER=MySql |
|||
- STORE__SQL__VERSION=9.2.0-mysql |
|||
- MESSAGING__TYPE=Sql |
|||
- URLS__BASEURL=http://localhost:8080 |
|||
depends_on: |
|||
db_mysql: |
|||
condition: service_healthy |
|||
|
|||
proxy_mysql: |
|||
image: squidex/caddy-proxy-path:2.6.2 |
|||
ports: |
|||
- "8080:8080" |
|||
environment: |
|||
- SITE_ADDRESS=http://localhost:8080 |
|||
- SITE_PATH=* |
|||
- SITE_SERVER="squidex_mysql:5000" |
|||
depends_on: |
|||
- squidex_mysql |
|||
restart: unless-stopped |
|||
|
|||
webhookcatcher: |
|||
image: tarampampam/webhook-tester:2 |
|||
command: serve --port 1026 |
|||
ports: |
|||
- "1026:1026" |
|||
|
|||
volumes: |
|||
mysql_data: |
|||
@ -0,0 +1,46 @@ |
|||
services: |
|||
db_postgres: |
|||
image: "postgis/postgis" |
|||
ports: |
|||
- "5432:5432" |
|||
environment: |
|||
- POSTGRES_USER=admin |
|||
- POSTGRES_PASSWORD=secret |
|||
- POSTGRES_DB=squidex |
|||
healthcheck: |
|||
test: ["CMD-SHELL", "pg_isready -U admin"] |
|||
interval: 10s |
|||
retries: 10 |
|||
|
|||
squidex_postgres: |
|||
extends: |
|||
file: docker-compose-base.yml |
|||
service: squidex_base |
|||
environment: |
|||
- EVENTSTORE__TYPE=Sql |
|||
- STORE__TYPE=Sql |
|||
- STORE__SQL__CONNECTIONSTRING=Server=db_postgres;Port=5432;Database=squidex;Pooling=true;Username=admin;Password=secret;SSL Mode=Disable; |
|||
- STORE__SQL__PROVIDER=Postgres |
|||
- MESSAGING__TYPE=Sql |
|||
- URLS__BASEURL=http://localhost:8080 |
|||
depends_on: |
|||
db_postgres: |
|||
condition: service_healthy |
|||
|
|||
proxy_postgres: |
|||
image: squidex/caddy-proxy-path:2.6.2 |
|||
ports: |
|||
- "8080:8080" |
|||
environment: |
|||
- SITE_ADDRESS=http://localhost:8080 |
|||
- SITE_PATH=* |
|||
- SITE_SERVER="squidex_postgres:5000" |
|||
depends_on: |
|||
- squidex_postgres |
|||
restart: unless-stopped |
|||
|
|||
webhookcatcher: |
|||
image: tarampampam/webhook-tester:2 |
|||
command: serve --port 1026 |
|||
ports: |
|||
- "1026:1026" |
|||
@ -0,0 +1,54 @@ |
|||
services: |
|||
db_sqlserver: |
|||
image: squidex/mssql-dev:2 |
|||
ports: |
|||
- "1433:1433" |
|||
environment: |
|||
- SA_PASSWORD=1q2w3e!R |
|||
- SA_USER=none |
|||
- ACCEPT_EULA=Y |
|||
healthcheck: |
|||
test: ["CMD-SHELL", "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 1q2w3e!R -Q 'SELECT 1'"] |
|||
interval: 10s |
|||
retries: 10 |
|||
|
|||
db_sqlserver_init: |
|||
image: mcr.microsoft.com/mssql-tools |
|||
entrypoint: > |
|||
/opt/mssql-tools/bin/sqlcmd -S db_sqlserver -U sa -P 1q2w3e!R -d master -Q 'CREATE DATABASE ''squidex''' |
|||
depends_on: |
|||
db_sqlserver: |
|||
condition: service_healthy |
|||
|
|||
squidex_sqlserver: |
|||
extends: |
|||
file: docker-compose-base.yml |
|||
service: squidex_base |
|||
environment: |
|||
- EVENTSTORE__TYPE=Sql |
|||
- STORE__TYPE=Sql |
|||
- STORE__SQL__CONNECTIONSTRING=Server=db_sqlserver;Database=squidex;User=sa;Password=1q2w3e!R;TrustServerCertificate=True; |
|||
- STORE__SQL__PROVIDER=SqlServer |
|||
- MESSAGING__TYPE=Sql |
|||
- URLS__BASEURL=http://localhost:8080 |
|||
depends_on: |
|||
db_sqlserver: |
|||
condition: service_healthy |
|||
|
|||
proxy_sqlserver: |
|||
image: squidex/caddy-proxy-path:2.6.2 |
|||
ports: |
|||
- "8080:8080" |
|||
environment: |
|||
- SITE_ADDRESS=http://localhost:8080 |
|||
- SITE_PATH=* |
|||
- SITE_SERVER="squidex_sqlserver:5000" |
|||
depends_on: |
|||
- squidex_sqlserver |
|||
restart: unless-stopped |
|||
|
|||
webhookcatcher: |
|||
image: tarampampam/webhook-tester:2 |
|||
command: serve --port 1026 |
|||
ports: |
|||
- "1026:1026" |
|||
Loading…
Reference in new issue