Commit Graph

7504 Commits

Author SHA1 Message Date
Jorge Manrubia 8baf5b8abd Make mission control only accessible for staff members 2025-11-28 15:53:58 +01:00
Jorge Manrubia 499b132b42 Remove script that depends on QB 2025-11-28 15:53:58 +01:00
Jorge Manrubia 68bb4a84e2 Rename 2025-11-28 15:53:58 +01:00
Jorge Manrubia e213e3e5f8 Update fizzy-saas gem 2025-11-28 15:53:58 +01:00
Jorge Manrubia dd0f9f174e Split CI files to prevent PR workflows from accessing secrets 2025-11-28 15:53:58 +01:00
Jorge Manrubia 40455bff3a Update fizzy-saas to bring test support 2025-11-28 15:53:58 +01:00
Jorge Manrubia afbc0ca8e5 Include engine tests in saas mode
Notice that test is not a regular rake task you can enhance, but a hard-coded rails command.
2025-11-28 15:53:58 +01:00
Jorge Manrubia 624b6680c7 Fix condition 2025-11-28 15:53:58 +01:00
Jorge Manrubia 99bda234c0 Bring changes from main 2025-11-28 15:53:58 +01:00
Jorge Manrubia c5d7dc3255 Restore bc shorthand 2025-11-28 15:53:58 +01:00
Jorge Manrubia f62bf9fcbf Bundle! 2025-11-28 15:53:58 +01:00
Jorge Manrubia d81cf9161e Fix hostname 2025-11-28 15:53:58 +01:00
Jorge Manrubia 00cb9a3638 Set proper SaaS vars for mysql 2025-11-28 15:53:58 +01:00
Jorge Manrubia ac649f1af0 Try to pin the host 2025-11-28 15:53:58 +01:00
Jorge Manrubia 127a4ebdc9 LOL if does not exist 2025-11-28 15:53:58 +01:00
Jorge Manrubia 93c60d09a8 Omit MySQL service with if condition 2025-11-28 15:53:58 +01:00
Jorge Manrubia 5a1d40ae65 Omit empty image 2025-11-28 15:53:58 +01:00
Jorge Manrubia 0328149ba2 Initial github action setup 2025-11-28 15:53:58 +01:00
Jorge Manrubia 9e8bc5b30b Update to last version, tests passing! 2025-11-28 15:53:58 +01:00
Jorge Manrubia 0754b0e93c Test moved to the gem 2025-11-28 15:53:58 +01:00
Jorge Manrubia c62e843d2b Move bc shorthand to saas gemfile 2025-11-28 15:53:58 +01:00
Jorge Manrubia a5b02755b2 Add rake tasks for enabling/disabling saas mode 2025-11-28 15:53:58 +01:00
Jorge Manrubia 9496a20736 Update to latest fizzy-saas 2025-11-28 15:53:58 +01:00
Jorge Manrubia 9132f6b835 Fix path to saas. 2025-11-28 15:53:58 +01:00
Jorge Manrubia a7461df049 Update fizzy-saas 2025-11-28 15:53:58 +01:00
Jorge Manrubia 53d4ed3749 Point to the remote gem again 2025-11-28 15:53:58 +01:00
Jorge Manrubia 8724963b84 Bring vanilla versions for Dockerfile and deploy config, we are moving those to the private saas gem 2025-11-28 15:53:58 +01:00
Jorge Manrubia f1df9afe72 Not needed anymore, no more bundler groups 2025-11-28 15:53:58 +01:00
Jorge Manrubia fe20d8f2a5 Format 2025-11-28 15:53:58 +01:00
Jorge Manrubia cd231c48d5 Format 2025-11-28 15:53:58 +01:00
Jorge Manrubia 08cc02804d Invoke setup script in gem 2025-11-28 15:53:58 +01:00
Jorge Manrubia 3caf8d05a2 Remove line, this gets bin/setup confused, better to keep the rails output clean 2025-11-28 15:53:58 +01:00
Jorge Manrubia 97c280ddb1 Prepare bin/setup to work with SAAS env variable / txt file 2025-11-28 15:53:58 +01:00
Jorge Manrubia ad6f3a9ff7 Instead of a dedicated group, use a completely separate Gemfile for the saas version
The group-based approach won't work if you don't have access to the gems!
2025-11-28 15:53:58 +01:00
Jorge Manrubia 13f1ad19f3 The engine automounts now 2025-11-28 15:53:58 +01:00
Jorge Manrubia 3414fea012 Remove comment 2025-11-28 15:53:58 +01:00
Jorge Manrubia 4c5640a655 Make structured logging private 2025-11-28 15:53:58 +01:00
Jorge Manrubia 03483a0526 Format 2025-11-28 15:53:58 +01:00
Jorge Manrubia 277a45fa88 Add CI step for saas tests 2025-11-28 15:53:58 +01:00
Jorge Manrubia c1334f7ffe Don't choke if no structured logging
Temporary workaround, we need a better solution here.
2025-11-28 15:53:58 +01:00
Jorge Manrubia f75ccfc2dd Remove gem that now lives in GitHub 2025-11-28 15:53:58 +01:00
Jorge Manrubia 13701f0e97 Move kamal hooks to the saas gem 2025-11-28 15:53:48 +01:00
Jorge Manrubia fb9aa5dfac Extract common method to configure bundle 2025-11-28 15:53:48 +01:00
Jorge Manrubia 5d32e40756 Use kamal from the 2025-11-28 15:53:48 +01:00
Jorge Manrubia 2c7079393a Move kamal deploy config to the gem 2025-11-28 15:53:48 +01:00
Jorge Manrubia 35b49a417d Move the SASS database config to the gem 2025-11-28 15:53:48 +01:00
Jorge Manrubia 102827ff8d Use bundler groups instead of conditional
So that the gemfile.lock does not change across invocations
2025-11-28 15:53:48 +01:00
Jorge Manrubia cf59ac1da9 Split database files 2025-11-28 15:53:48 +01:00
Jorge Manrubia bab914d4e0 Move db check to the Fizzy module 2025-11-28 15:53:48 +01:00
Jorge Manrubia 6134407f5e Make sass property depend on txt file or env var 2025-11-28 15:53:48 +01:00