Commit Graph

74 Commits

Author SHA1 Message Date
Mike Dalessio eb471cc9d2 bin/setup installs libvips 2025-10-29 21:08:45 -04:00
Aaron Santos 6c672c73e4 Send notification to Dash on deploys 2025-10-29 10:27:13 +08:00
Mike Dalessio 9242bac2d5 Make migration audit more robust
ref: https://fizzy.37signals.com/5986089/cards/2542
2025-10-27 09:38:50 -04:00
Mike Dalessio c87c2f0960 Complete beamer gem adoption
- stop importing beamer during Dockerfile builds
- add a "bin/beamer" gemstub
- invoke `bin/beamer` explicitly
- drop the beamer initializer
2025-10-23 15:35:57 -07:00
Mike Dalessio 519f719173 Better seeding
- don't ever seed during CI
- cut honcho seed time by 75%
2025-10-23 15:33:34 -07:00
Stanko K.R. 0d18a00bb6 Exit with status 0 if not the primary 2025-10-23 14:12:01 +02:00
Stanko K.R. 898840e8d6 Use bundler to invoke beamer 2025-10-23 13:59:51 +02:00
Stanko K.R. f9b4cb9b26 Specify Beamer directory when running is-primary 2025-10-23 13:38:36 +02:00
Stanko Krtalić 880ad7ff12 Use Beamer through its gem (#1230) 2025-10-23 12:14:00 +02:00
Mike Dalessio cd6ef14d00 beamer-testbed runs with local user's UID/GID
so that created files aren't owned by root
2025-10-22 14:29:47 -07:00
Mike Dalessio b4f98e35a7 Fix the default tenant in migration-audit
also skip the gum installation check (it's installed in bin/setup) and
explicitly use `--` to disambiguate file names.
2025-10-22 08:36:46 -07:00
Mike Dalessio 1b5f2b72d7 bin/setup detects when it needs to set up seeds 2025-10-21 13:56:11 -07:00
Mike Dalessio e7d59ff6d0 Add a migrations check to CI
which can be skipped with SKIP_MIGRATION_CHECK=1
2025-10-21 09:27:56 -07:00
Mike Dalessio ffc0c86f36 Minio support in development
for when we need to debug direct upload problems
2025-10-14 19:11:50 -04:00
Mike Dalessio 7a4e885fd5 beamer-testbed configures fizzy-01 to be the writer
and everything else is listed as a read-target.

Note that we need to set SECRET_BASE so all the app instances agree
2025-10-13 17:22:10 -04:00
Mike Dalessio d266f1bbff beamer-testbed runs on host port 3006 2025-10-13 16:55:13 -04:00
Stanko K.R. b016bd7cae Fix replicaiton wiht the untenanted DB 2025-10-13 14:09:37 +02:00
Stanko K.R. d3816bc212 Create testbed to test beamer scenarios in Fizzy 2025-10-13 13:46:00 +02:00
Jeremy Daer 440e96cfe1 bin/setup: drop spinners since they interfere with bash trap and error output 2025-10-10 22:44:44 -07:00
Jeremy Daer 0d4a045e1c bin/setup: enpurple step headings 2025-10-08 22:05:27 -07:00
Jeremy Daer 5c48e47c02 bin/setup: ensure PATH is prepared after a new Ruby is installed 2025-10-08 22:02:57 -07:00
Jeremy Daer 2faaba3ef0 Drop defunct bin/bundle that interferes with Bundler's own version management
Without it, Bundler auto-installs the correct version to run, including
newer Bundler versions.
2025-10-08 22:01:57 -07:00
Jeremy Daer 0e82255601 bin/setup: use Bash so we can bootstrap Ruby (#1273)
And chew gum
2025-10-08 21:45:18 -07:00
Mike Dalessio 6a9b98e44f Remove the mysql setup
no longer needed now that we're not connecting to 37id
2025-10-03 21:56:18 -04:00
Mike Dalessio dbc86f257c bin/setup installs system dependencies 2025-10-03 21:53:32 -04:00
Mike Dalessio 48783824ee Fix some small things related to accounts 2025-10-03 16:55:00 -04:00
Mike Dalessio 8e0cb930af Delete SignalId concerns from the codebase
including Signup for now, will rebuild it with just QB
2025-10-03 14:06:51 -04:00
Mike Dalessio fcd3c178ce Account#slug uses the virtual "tenant" attribute 2025-10-02 16:44:24 -04:00
Mike Dalessio 320558919c Rename LOCAL_AUTHENTICATION to OSS_CONFIG 2025-10-02 16:44:24 -04:00
Mike Dalessio 0a0816aca6 bin/setup runs mise install 2025-09-17 16:03:15 -04:00
Mike Dalessio d5a4239d19 Rename the queenbee_id and signal_user_id columns
to be more generic for the open-source release.

Find the signal account via Account#external_account

Find the signal user via User#external_user
2025-09-15 13:57:53 -04:00
Mike Dalessio 2630e4bd74 Extract 37id and QB controllers, models, and tests 2025-09-13 16:03:02 -04:00
Mike Dalessio f4e2fe31b4 dep: add refs to the fizzy-saas git dependencies
so that we can quickly switch the app between using the saas extension
and not. (Bundler will re-fetch the remote if the ref is not present.)

Also set the bundler config to auto-install missing dependencies.
2025-09-13 16:03:02 -04:00
Mike Dalessio 8ad0c65997 Extract saas bin/setup 2025-09-13 15:21:01 -04:00
Mike Dalessio 9db98366c3 Set up a "cleanslate" seed that has no cards and no collections
and only a single user, david@37signals.com

ref: https://fizzy.37signals.com/5986089/collections/7/cards/1318
2025-08-06 17:35:55 -04:00
Mike Dalessio 57269b1b9c Allow local authentication with LOCAL_AUTHENTICATION=1
You can touch `tmp/local-auth.txt` to persist this setting.
2025-08-06 17:05:35 -04:00
David Heinemeier Hansson caaa205557 Switch to docker-dev 2025-07-16 15:33:22 -07:00
Mike Dalessio 3d39bdc9f3 Update bin/dev to point at the new tenant URLs 2025-07-01 15:56:14 -04:00
Kevin McConnell 108ea38759 Start MySQL container in bin/setup 2025-06-24 16:18:19 +01:00
Mike Dalessio a8a64a2384 Link the seeds up to the signal_id fixture data 2025-06-20 15:16:57 -04:00
Mike Dalessio 3444427d32 Don't run solid queue in dev by default
but allow it to be turned on by touching tmp/solid-queue.txt
2025-05-08 13:44:05 -04:00
Mike Dalessio f42973618d bin/dev ensures puma runs solid queue
ref: https://37s.fizzy.37signals.com/collections/693169850/cards/999009028
2025-05-07 14:38:59 -04:00
David Heinemeier Hansson c4fbed3156 Try a slimmer version
And I actually stopped liking that setup automatically starts the
server.
2025-04-22 21:20:55 +02:00
David Heinemeier Hansson 29948d8881 Enumerate all the options for logging in 2025-04-21 15:23:31 +02:00
David Heinemeier Hansson 2bfead0381 Convert to conventional Rails style 2025-04-21 15:23:08 +02:00
David Heinemeier Hansson 70275c9f04 Yank Solid Queue from development
It clogs up the test log and occasionally causes the puma to hang when
you want to quit.
2025-04-18 16:30:30 +02:00
David Heinemeier Hansson 0866eb6948 Excess CR 2025-04-05 17:33:37 +02:00
David Heinemeier Hansson 537cb7680e Add Bundler Audit for Local CI 2025-04-05 17:20:51 +02:00
David Heinemeier Hansson aaa4dd2967 Use modern CI setup 2025-04-05 17:18:26 +02:00
David Heinemeier Hansson 338ff496da No system tests yet 2025-04-05 17:15:47 +02:00