1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
Commit Graph

33 Commits

Author SHA1 Message Date
Sylvain
501411e293 (bug) unable to run the setup/upgrade scripts as root
yq has updated its docker image to prevent running as root so we need to provide the current user id when running the image

More info: https://github.com/mikefarah/yq/issues/890
2021-11-16 17:17:08 +01:00
Sylvain
a28a3ad651 [bug] upgrade script add env var already present 2021-10-20 17:19:07 +02:00
Sylvain
f2c436594a check hub API access in upgrade script 2021-10-04 16:45:54 +02:00
Sylvain
842c88e839 [bug] upgrade script report invalid upgrde target 2021-10-04 12:09:31 +02:00
Sylvain
17ab75cfa5 [bug] during the upgrade, unable to detect the target when not explicitly specified 2021-06-15 13:05:38 +02:00
Sylvain
e8517f1ea1 ability to upgrade to a specfic version with the script 2021-06-11 13:47:25 +02:00
Sylvain
f1bf6cf4a5 [bug] unable to run interactive rails commands during the upgrade 2021-06-10 17:24:16 +02:00
Sylvain
4c8c9f0ea7 force upgrade to 4.7.12 before going further 2021-06-10 16:51:51 +02:00
Sylvain
e08157b5f6 Unified and documented upgrade exit codes 2021-06-01 09:03:24 +02:00
Sylvain
1bee09442c run the chain:all command before db:migrate 2021-06-01 08:54:19 +02:00
Sylvain
2a4a4e6d74 Check the status of the assets' compilation during the upgrade 2021-05-18 16:18:44 +02:00
Sylvain
5adf15df91 syntax improvements 2021-05-18 09:40:35 +02:00
Sylvain
7024c30c6c improved readme and links to documentation 2021-05-17 15:42:23 +02:00
Sylvain
5a06d55838 improved error handling in upgrade script 2021-04-19 17:07:03 +02:00
Sylvain
ad6926ec1a [bug] unable to cancel the upgrade before it begins 2021-04-14 16:18:35 +02:00
Sylvain
29a3232bfe improved upgrade script output 2021-03-24 11:04:59 +01:00
Sylvain
5439dc14f5 cleaner version check durng upgrade 2021-03-09 09:25:27 +01:00
Sylvain
05b2f10bec [bug] unable to compile the assets during the upgrade
This occurs only if the env file has some whitespaces around the equal sign
2021-03-08 17:08:07 +01:00
Sylvain
303c0a0ba8 [bug] script to mount payment-schedules volume results in invalid yml file
+ improved scripts for mounting volumes
+ increased verbosity of upgrade script
2021-03-08 12:08:29 +01:00
Sylvain
b10e13c998 removed dependency to awk in upgrade script 2021-03-01 11:40:29 +01:00
Sylvain
89d31791fb migrate yq to v4 2021-03-01 10:13:48 +01:00
Sylvain
8cfd2d1694 WIP: migrate yq commands to V4 2021-02-24 17:00:33 +01:00
Sylvain
208ba793ed [bug] unable to run the upgrade script with docker-compose >= v1.19
Previously, even with a recent versio of Fab-manager, the upgrade script failed with the following error:
the input device is not a TTY
the input device is not a TTY

You must upgrade Fab-manager to v2.8.3 first.
2020-12-07 10:13:51 +01:00
Sylvain
2d1a2d81dd Check postgreSQL status before compiling assets 2020-10-23 12:15:25 +02:00
Sylvain
af8c7c21b4 Add intermediate step version for upgrades: v4.4.6
This will prevent issues with FootprintDebug if a regeneration is needed, especially with 20200511075933_fix_accounting_periods.rb
2020-10-23 11:56:21 +02:00
Sylvain
cd7ef8ddd2 Allow running upgrade scripts from dev ranch 2020-10-21 15:18:39 +02:00
Sylvain
2976da0238 fix assets compilation during upgrades 2020-10-21 13:13:13 +02:00
Sylvain
0b853adb42 Reduced down time during upgrades 2020-10-21 10:44:43 +02:00
Sylvain
efa3a42f5e printf error message to stderr 2020-10-06 14:31:41 +02:00
Sylvain
aa6b067d65 fix version check 2020-10-06 14:23:33 +02:00
Sylvain
08a98ab40f version check during the upgrade 2020-10-06 14:18:35 +02:00
Sylvain
894c54068f upgrade scripts with -y 2020-07-01 10:52:43 +02:00
Sylvain
4fbd88ffd7 beta preview of the upgrade script 2020-06-30 16:11:12 +02:00