Commit graph

35 commits

Author SHA1 Message Date
bkellam
1f4a5aed22 remove AUTH_URL since it unused and (likely) unnecessary 2025-03-27 16:42:36 -07:00
Brendan Kellam
27a1066e1a
Declarative connection cleanup + improvements (#245) 2025-03-25 18:45:21 -07:00
bkellam
484aea8406 migrate to yarn v4 2025-03-23 21:21:14 -07:00
Brendan Kellam
483217bf56
Switch to using t3-env for env-var management (#230) 2025-03-17 21:22:05 -07:00
bkellam
e8acfcca70 Merge branch 'main' into v3 2025-03-16 15:24:04 -07:00
msukkari
9d1ebcefaa log addition info for public search demo 2025-03-06 15:20:30 -08:00
msukkari
9a204b9557 add sourcebot cloud card to public search demo 2025-03-05 17:27:23 -08:00
msukkari
d33185c118 switch source map publish to runtime in entrypoint 2025-03-01 20:43:50 -08:00
Michael Sukkarieh
a93ee6527c
add sentry support to backend and webapp (#223)
* add sentry to web app

* set sentry environemnt from env var

* add sentry env replace logic in docker container

* wip add backend sentry

* add sentry to backend

* move dns to env var

* remove test exception
2025-03-01 19:21:17 -08:00
bkellam
8b9a469324 First attempt at sending logs to grafana 2025-02-28 16:38:42 -08:00
msukkari
d70b729ee8 remove cpu split logic 2025-02-22 17:23:52 -08:00
msukkari
ced6c527ba add cpu split logic and only wait for postgres if we're going to connec to it 2025-02-21 17:13:35 -08:00
msukkari
26cc70cc11 fix publishible stripe key handling in docker container 2025-02-13 18:45:27 -08:00
Brendan Kellam
e6ee45c76d
Generate AUTH_SECRET if not provided (#189) 2025-02-13 13:23:30 -08:00
Brendan Kellam
34c9c1d9a8
Domain support (#188) 2025-02-12 13:51:44 -08:00
msukkari
9946901044 add initial logic for staging environment 2025-01-30 10:23:47 -08:00
Michael Sukkarieh
31114a9d95
add concept of secrets (#180)
* add @sourcebot/schemas package

* migrate things to use the schemas package

* Dockerfile support

* add secret table to schema

* Add concept of connection manager

* Rename Config->Connection

* Handle job failures

* Add join table between repo and connection

* nits

* create first version of crypto package

* add crypto package as deps to others

* forgot to add package changes

* add server action for adding and listing secrets, create test page for it

* add secrets page to nav menu

* add secret to config and support fetching it in backend

* reset secret form on successful submission

* add toast feedback for secrets form

* add instructions for adding encryption key to dev instructions

* add encryption key support in docker file

* add delete secret button

* fix nits from pr review

---------

Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-01-27 14:07:07 -08:00
Michael Sukkarieh
a5006c52fe
Migrate to postgres (#174)
* spin up postgres in docker container

* get initial pol of postgres db working in docker image

* spin up postgres server in dev case

* updated syncedAt date after config sync:

* remove unnecessary port expose in docker file
2025-01-23 10:23:46 -08:00
msukkari
738bbaad30 add tenant mode support in docker container: 2025-01-21 12:20:55 -08:00
Brendan Kellam
6cf10b4988
Authentication (#164) 2025-01-16 15:24:13 -08:00
Brendan Kellam
a013298955
curl error handling in entrypoint.sh (#159) 2025-01-14 15:09:20 -08:00
Brendan Kellam
15b9e777e4
SQL Database (#157) 2025-01-14 13:37:31 -08:00
Brendan Kellam
33b5418bbf
Pass PostHog key at build time (#92) 2024-11-25 21:04:52 -08:00
Brendan Kellam
83270ffdc9
Add support for configurable domain sub-paths (#74) 2024-11-18 12:09:26 -08:00
Brendan Kellam
adba96a8c4
Add additional telemetry (#63) 2024-11-09 16:40:07 -08:00
Brendan Kellam
fc8815d135
Config format V2 (#42) 2024-10-17 16:31:18 -04:00
Brendan Kellam
4b51a8d7d7
Added SOURCEBOT_VERSION build arg + versioned telemetry (#41) 2024-10-17 14:50:07 -04:00
Brendan Kellam
d7b6829a42
Add env vars for overriding GitHub / GitLab hostnames in the .netrc file. (#26)
* Add env vars for overriding GitLab / GitHub hostnames used in the .netrc file. (GITLAB_HOSTNAME, GITHUB_HOSTNAME)

* Add docs

* Add changelog entry
2024-10-03 14:06:24 -07:00
Brendan Kellam
d0d104a1e1
Readme V3 + config examples (#12) 2024-09-29 14:17:43 -07:00
bkellam
e250fd9ae3 Handle remote configs in entrypoint.sh 2024-09-29 13:27:30 -07:00
Brendan Kellam
74b9fe5c57
Add 'install' event that is fired once on first run (#11) 2024-09-28 16:47:07 -07:00
bkellam
fed2f75a28 Changed things s.t., /data/config.json is the default config path. If a file cannot be found at that path, a warning is issued and we fallback on ./sample-config.json 2024-09-27 23:38:32 -07:00
bkellam
3ef9be2b6b Add PostHog telemetry support 2024-09-16 21:37:34 -07:00
bkellam
577d05c503 Relax CONFIG_PATH check to warning 2024-09-06 12:19:55 -07:00
bkellam
0a66eea9ee For simplicity, move to a single docker container and use supervisord to handle running the processes. 2024-09-05 13:00:27 -07:00
Renamed from entrypoint.zoekt-indexserver.sh (Browse further)