forked from wallabag/wallabag
Remove parameters.yml and related files
This commit is contained in:
33
.github/ISSUE_TEMPLATE/2-bug-report.md
vendored
33
.github/ISSUE_TEMPLATE/2-bug-report.md
vendored
@ -17,7 +17,7 @@ Installation: How did you install wallabag? Using git clone, the docker image, a
|
||||
PHP version: The version of PHP you are using
|
||||
OS: The host running wallabag
|
||||
Database: The storage system your instance is using (SQLite, MySQL/MariaDB or PostgreSQL) with the version
|
||||
Parameters: Paste the content of your app/config/parameters.yml (hide sensitive stuff if you want)
|
||||
Parameters: Put the content of your environment variables (hide sensitive stuff if you want)
|
||||
-->
|
||||
### Environment
|
||||
|
||||
@ -29,10 +29,37 @@ Parameters: Paste the content of your app/config/parameters.yml (hide sensitiv
|
||||
* **Parameters**:
|
||||
|
||||
<details>
|
||||
<summary>My <code>app/config/parameters.yml</code> is:</summary>
|
||||
<summary>My environment variables are:</summary>
|
||||
|
||||
```
|
||||
PASTE HERE
|
||||
LOCALE=
|
||||
|
||||
# Make sure to hide username and password below, if any
|
||||
DATABASE_URL=
|
||||
DATABASE_TABLE_PREFIX=
|
||||
|
||||
FOSUSER_REGISTRATION=
|
||||
FOSUSER_CONFIRMATION=
|
||||
|
||||
FOS_OAUTH_SERVER_ACCESS_TOKEN_LIFETIME=
|
||||
FOS_OAUTH_SERVER_REFRESH_TOKEN_LIFETIME=
|
||||
TWOFACTOR_SENDER=
|
||||
|
||||
# Make sure to hide username and password below, if any
|
||||
MAILER_DSN=
|
||||
FROM_EMAIL=
|
||||
|
||||
RABBITMQ_HOST=
|
||||
RABBITMQ_PORT=
|
||||
|
||||
REDIS_SCHEME=
|
||||
REDIS_HOST=
|
||||
REDIS_PORT=
|
||||
REDIS_PATH=
|
||||
RABBITMQ_PREFETCH_COUNT=
|
||||
|
||||
# Make sure to hide username and password below, if any
|
||||
SENTRY_DSN=
|
||||
```
|
||||
</details>
|
||||
|
||||
|
||||
2
.github/workflows/coding-standards.yml
vendored
2
.github/workflows/coding-standards.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
||||
run: |
|
||||
sudo systemctl start mysql.service
|
||||
sudo mysql -u root -proot -h 127.0.0.1 -e "CREATE DATABASE wallabag_test"
|
||||
cp app/config/tests/parameters_test.mysql.yml app/config/parameters_test.yml
|
||||
cp app/config/tests/.env.mysql .env.test.local
|
||||
|
||||
- name: "Install dependencies with Composer"
|
||||
id: composer-install
|
||||
|
||||
9
.github/workflows/continuous-integration.yml
vendored
9
.github/workflows/continuous-integration.yml
vendored
@ -89,7 +89,7 @@ jobs:
|
||||
run: yarn build:dev
|
||||
|
||||
- name: "Prepare database configuration"
|
||||
run: cp app/config/tests/parameters_test.${{ matrix.database }}.yml app/config/parameters_test.yml
|
||||
run: cp app/config/tests/.env.${{ matrix.database }} .env.test.local
|
||||
|
||||
- name: "Run PHPUnit"
|
||||
run: "php bin/phpunit -v"
|
||||
@ -140,8 +140,7 @@ jobs:
|
||||
|
||||
- name: "Remove database prefix"
|
||||
run: |
|
||||
pip install --user yq
|
||||
yq -Y --in-place '.parameters.database_table_prefix = ""' app/config/parameters.yml.dist
|
||||
sed -i 's/DATABASE_TABLE_PREFIX=wallabag_/DATABASE_TABLE_PREFIX=/' .env
|
||||
|
||||
- name: "Setup MySQL"
|
||||
if: "${{ matrix.database == 'mysql' }}"
|
||||
@ -169,7 +168,7 @@ jobs:
|
||||
run: yarn build:dev
|
||||
|
||||
- name: "Prepare database configuration"
|
||||
run: cp app/config/tests/parameters_test.${{ matrix.database }}.yml app/config/parameters_test.yml
|
||||
run: cp app/config/tests/.env.${{ matrix.database }} .env.test.local
|
||||
|
||||
- name: "Run PHPUnit"
|
||||
run: "php bin/phpunit -v"
|
||||
@ -235,7 +234,7 @@ jobs:
|
||||
run: yarn build:dev
|
||||
|
||||
- name: "Prepare database configuration"
|
||||
run: cp app/config/tests/parameters_test.${{ matrix.database }}.yml app/config/parameters_test.yml
|
||||
run: cp app/config/tests/.env.${{ matrix.database }} .env.test.local
|
||||
|
||||
- name: "Run PHPUnit"
|
||||
run: "php bin/phpunit -v"
|
||||
|
||||
Reference in New Issue
Block a user