fix: check database driver
This commit is contained in:
parent
6709411471
commit
d2385008db
|
@ -48,8 +48,8 @@
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ drone_sqlite_dir }}:/data"
|
- "{{ drone_sqlite_dir }}:/data"
|
||||||
env_file: /etc/drone/drone-server.env
|
env_file: /etc/drone/drone-server.env
|
||||||
when: (drone_server_config is defined and drone_server_config.changed) or
|
when: ((drone_server_config is defined and drone_server_config.changed) or
|
||||||
(drone_sqlite_folder is defined and drone_sqlite_folder.changed) or
|
(drone_sqlite_folder is defined and drone_sqlite_folder.changed)) and
|
||||||
drone_database_driver == "sqlite"
|
drone_database_driver == "sqlite"
|
||||||
tags:
|
tags:
|
||||||
- drone-server
|
- drone-server
|
||||||
|
@ -68,8 +68,8 @@
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ drone_sqlite_dir }}:/data"
|
- "{{ drone_sqlite_dir }}:/data"
|
||||||
env_file: /etc/drone/drone-server.env
|
env_file: /etc/drone/drone-server.env
|
||||||
when: (drone_server_config is defined and drone_server_config.changed) or
|
when: ((drone_server_config is defined and drone_server_config.changed) or
|
||||||
(drone_postgres_data_dir is defined and drone_postgres_data_dir.changed) or
|
(drone_postgres_data_dir is defined and drone_postgres_data_dir.changed)) and
|
||||||
drone_database_driver != "sqlite"
|
drone_database_driver != "sqlite"
|
||||||
tags:
|
tags:
|
||||||
- drone-server
|
- drone-server
|
||||||
|
|
Loading…
Reference in New Issue
Block a user