1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
Commit Graph

42 Commits

Author SHA1 Message Date
Sylvain
562a7b86e5 (feat) Check the minimum docker version (20.10) during setup and upgrade 2022-06-27 15:19:53 +02:00
Sylvain
a5cdd33e0b (bug) run the upgrade commands w/ the appropriate user 2022-06-14 16:25:36 +02:00
Sylvain
a02c10ef63 (bug) elevate new_packs folder creation during upgrade, if needed 2022-06-13 14:15:06 +02:00
Sylvain
2121dbed32 (feat) Ability to ignore assets compilation errors in the upgrade script 2022-06-07 16:38:46 +02:00
Sylvain
8a13eb1cd3 (bug) when installing fab-manager as non-root user, most of the resulting installation directories were owned by root 2022-06-07 15:12:07 +02:00
Sylvain
1bb1d13a50 (wip) fix folders permissions during setup
@see https://github.com/moby/moby/issues/2259
2022-06-06 17:23:02 +02:00
Sylvain
73ee927088 (bug) unable to run scripts on systemts with legacy version of docker-compose 2022-05-25 09:53:25 +02:00
Sylvain
f2cef4387e (bug) fix #355 compatibility with the new docker-compose CLI 2022-05-23 16:29:36 +02:00
Sylvain
497f8ed805 (bug) help message in upgrade script has a bogus format 2022-03-23 10:05:56 +01:00
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