bkellam
d8fd958b0e
Remove SOURCEBOT_ENCRYPTION_KEY from build arg
2025-03-23 21:27:03 -07:00
bkellam
e8acfcca70
Merge branch 'main' into v3
2025-03-16 15:24:04 -07:00
msukkari
1b66920c23
fix bug where Sourcebot Cloud card is shown in self-hosted
2025-03-14 15:10:31 -07: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
msukkari
20eac7bb26
fix sentry login in action
2025-03-01 19:50:21 -08:00
msukkari
36f79d7fe6
login to sentry
2025-03-01 19:44:58 -08:00
msukkari
7253c5a8c6
add setup sentry cli step to github action
2025-03-01 19:34:47 -08:00
msukkari
ba19f39f99
bump timeout for gcp deploy container stop command
2025-02-27 16:58:41 -08:00
msukkari
2e496e759d
add rm flag to gcp deploy
2025-02-25 09:16:48 -08:00
msukkari
07cafdde5a
use staging posthog papik when building staging image
2025-02-24 17:18:33 -08:00
bkellam
bf8bfdbb9a
use docker scopes to try and improve caching
2025-02-22 15:32:46 -08:00
msukkari
21fb03c9c6
change gcp deploy to run commands directly instead of using alias
2025-02-21 18:45:14 -08:00
msukkari
f878e92344
actually fix the typo this time
2025-02-21 17:50:58 -08:00
msukkari
22666d8536
fix typo in gcp staging deploy action
2025-02-21 17:34:04 -08:00
msukkari
4456346912
remove fly staging deployment action
2025-02-21 17:10:17 -08:00
msukkari
a66e3493f7
add gcp staging deployment action
2025-02-21 17:08:55 -08:00
msukkari
888a2e3924
change stripe init to be behind function
2025-02-13 16:42:33 -08:00
msukkari
4d4988dae7
update staging deploy script to match new version in main
2025-01-31 11:31:46 -08:00
msukkari
ea4e92d704
reference staging deploy token in deploy workflow config
2025-01-31 11:31:18 -08:00
msukkari
feb466af2b
fix staging fly deploy config
2025-01-31 11:02:31 -08:00
msukkari
4e7ac937e4
try to change into the staging dir manuall
2025-01-30 17:17:22 -08:00
msukkari
44dd53f179
checkout v3 when deploying staging
2025-01-30 17:00:27 -08:00
msukkari
7b6226b695
fix working directory typo and pray it doesnt push to prod
2025-01-30 16:34:18 -08:00
msukkari
22e0096ddb
trigger staging actions to see if it works
2025-01-30 16:19:39 -08:00
msukkari
553fcb2a30
add staging github actions
2025-01-30 16:10:25 -08:00
msukkari
bb4ff37752
change workflow names to fix trigger issue
2025-01-30 14:50:52 -08:00
msukkari
d513f93a39
switch to using arm64 runners on arm64 build
2025-01-30 14:30:53 -08:00
msukkari
d37a969930
try using mac github action runners instead
2025-01-30 14:19:36 -08:00
msukkari
2b6125be0c
add deployment action for staging image
2025-01-30 13:31:59 -08:00
msukkari
92530a7ee0
switch encryption key as build arg to se if that fixes build issues
2025-01-30 13:12:45 -08:00
msukkari
9946901044
add initial logic for staging environment
2025-01-30 10:23:47 -08:00
bkellam
d1ef80d39f
try out new arm64 hosted runner
2025-01-28 12:29:07 -05:00
Brendan Kellam
33b5418bbf
Pass PostHog key at build time ( #92 )
2024-11-25 21:04:52 -08:00
Brendan Kellam
7f952ce163
Search suggestions ( #85 )
...
The motivation for building search suggestions is two-fold: (1) to make the zoekt query language more approachable by presenting all available options to the user, and (2) make it easier for power-users to craft complex queries.
The meat-n-potatoes of this change are concentrated in searchBar.tsx and searchSuggestionBox.tsx. The suggestions box works by maintaining a state-machine of "modes". By default, the box is in the refine mode, where suggestions for different prefixes (e.g., repo:, lang:, etc.) are suggested to the user. When one of these prefixes is matched, the state-machine transitions to the corresponding mode (e.g., repository, language, etc.) and surfaces suggestions for that mode (if any).
The query is split up into parts by spaces " " (e.g., 'test repo:hello' -> ['test', 'repo:hello']). See splitQuery. The part that has the cursor over it is considered the active part. We evaluate which mode the state machine is in based on the active part. When a suggestion is clicked, we only modify the active part of the query.
Three modes are currently missing suggestion data: file (file names), revision (branch / tag names), and symbol (symbol names). In future PRs, we will need to introduce endpoints into the backend to allow the frontend to fetch this data and surface it as suggestions..
2024-11-22 18:50:13 -08:00
Brendan Kellam
9cba4f274f
Add unit testing library to @sourcebot/backend ( #65 )
2024-11-12 18:37:35 -08:00
Brendan Kellam
4b51a8d7d7
Added SOURCEBOT_VERSION build arg + versioned telemetry ( #41 )
2024-10-17 14:50:07 -04:00
bkellam
36a146486d
update demo site fly.toml to use image from ghcr instead of building one. Also make the deployment pipeline dependent on pushes to ghcr.
2024-10-17 13:41:58 -04:00
bkellam
fe3817b9a5
Rename organization to sourcebot-dev
2024-09-29 14:39:17 -07:00
bkellam
3299f854b5
remove arm/v6 and arm/v7 due to build failure
2024-09-19 18:07:29 -07:00
bkellam
a47b4c2058
Remove tags from build docker image stage
2024-09-19 17:55:51 -07:00
bkellam
34d4b072dd
expand the number of platforms + remove pull_request event
2024-09-19 17:24:27 -07:00
bkellam
bb6f3d91b0
Add simple PR gate that builds docker container for one platform
2024-09-19 17:21:24 -07:00
bkellam
b5f6d46d35
add back linux/arm64
2024-09-19 16:49:41 -07:00
bkellam
607e03d179
Add packages: write permission to merge job
2024-09-19 16:40:45 -07:00
bkellam
2bbbd57691
Add back ghcr.io prefix
2024-09-19 16:29:28 -07:00
bkellam
ee2f27fc30
revert inline login + remove ghcr.io prefix from REGISTRY_NAME
2024-09-19 16:09:14 -07:00
bkellam
cec45c36bb
try logging in inline
2024-09-19 14:48:53 -07:00
bkellam
16bd48dfc6
Upgrade to docker/login-action@v3 and temporarily disable arm64 builds
2024-09-19 14:18:11 -07:00
bkellam
7cb0e7e691
try removing tags from docker/build-push-action@v6 action
2024-09-19 13:25:09 -07:00