Commit graph

500 commits

Author SHA1 Message Date
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
f92acc0404 try to move encryption key env decleration in docker file to fix build issues 2025-01-30 12:49:04 -08:00
msukkari
9946901044 add initial logic for staging environment 2025-01-30 10:23:47 -08:00
Michael Sukkarieh
dffbbae41d
adds garbage collection for repos (#182)
* refactor repo indexing logic into RepoManager

* wip cleanup stale repos

* add rest of gc logic

* set status to indexing properly
2025-01-29 09:05:20 -08:00
msukkari
26ac654a00 release v2.8.1 2025-01-28 14:47:46 -08:00
msukkari
f83a4db3d6 add maxTrigramCount setting 2025-01-28 14:44:47 -08:00
Michael Sukkarieh
75d4189f25
enforce tenancy on search and repo listing endpoints (#181)
* enforce tenancy on search and repo listing

* remove orgId from request schemas
2025-01-28 10:39:59 -08:00
bkellam
d1ef80d39f try out new arm64 hosted runner 2025-01-28 12:29:07 -05:00
Brendan Kellam
27dde3a902
Fix version upgrade toast refresh issue (#179) 2025-01-28 12:04:27 -05:00
msukkari
a88f9e6677 bump zoekt version 2025-01-27 17:02:54 -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
msukkari
d20412301d change example repo filter query to use react instead of linux as example 2025-01-27 11:22:03 -08:00
Brendan Kellam
dd8ff6edb0
Connection management (#178) 2025-01-24 13:16:08 -08:00
Brendan Kellam
bae7ca3438
Add @sourcebot/schemas package (#177) 2025-01-24 10:51:49 -08:00
Brendan Kellam
78c9111fa0
init (#176) 2025-01-23 14:06:40 -08:00
bkellam
ed0d28a4f0 fix issue with yarn dev startup 2025-01-23 10:58:42 -08:00
Brendan Kellam
0322cd8f32
Connection creation form (#175) 2025-01-23 10:26:41 -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
8a3521b080 updated syncedAt date after config sync: 2025-01-23 09:08:30 -08:00
Brendan Kellam
9c120c6b0a
Organization switching & active org management (#173) 2025-01-21 14:50:16 -08:00
msukkari
738bbaad30 add tenant mode support in docker container: 2025-01-21 12:20:55 -08:00
Michael Sukkarieh
7c6adf17aa
Multi tenancy support in config syncer (#171)
* [wip] initial mt support in config syncer

* Move logout button & profile picture into settings dropdown (#172)

* update sync status properly and fix bug with multiple config in db case

* make config path required in single tenant mode

NOTE: deleting config/repos is currently not supported in multi tenancy case. Support for this will be added in a future PR

---------

Co-authored-by: Brendan Kellam <bshizzle1234@gmail.com>
2025-01-21 11:50:35 -08:00
Brendan Kellam
a5091fb900
Move logout button & profile picture into settings dropdown (#172) 2025-01-19 12:52:13 -08:00
bkellam
1ce33256cf release v2.8.0 2025-01-17 15:23:43 -08:00
Brendan Kellam
6c77278498
Syntax reference guide (#169) 2025-01-17 14:12:43 -08:00
Brendan Kellam
5d253ffa12
Add Org table (#167) 2025-01-16 16:18:16 -08:00
Brendan Kellam
6cf10b4988
Authentication (#164) 2025-01-16 15:24:13 -08:00
Michael Sukkarieh
7029aa70c1
parallelize repo indexing (#163)
* hacked together a example of using zoekt grpc api

* provide tenant id to zoekt git indexer

* update zoekt version to point to multitenant branch

* pipe tenant id through header to zoekt

* remove incorrect submodule reference and settings typo

* update zoekt commit

* remove unused yarn script

* remove unused grpc client in web server

* remove unneeded deps and improve tenant id log

* pass tenant id when creating repo in db

* add mt yarn script

* add pol of bullmq into backend

* add better error handling and concurrency setting

* spin up redis instance in dockerfile

* cleanup transaction logic when adding repos to index queue

* add NEW index status fetch condition

* move bullmq deps to backend

---------

Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-01-15 15:44:42 -08:00
msukkari
bd027f72b3 bump zoekt version 2025-01-15 14:37:40 -08:00
bkellam
b96fffcc83 Release v2.7.1 2025-01-15 09:20:14 -08:00
Brendan Kellam
7d516b1420
Fix broken file links (#161) 2025-01-14 16:50:38 -08:00
Michael Sukkarieh
553f5d25f7
Add tenant ID concept into web app and backend (#160)
* hacked together a example of using zoekt grpc api

* provide tenant id to zoekt git indexer

* update zoekt version to point to multitenant branch

* pipe tenant id through header to zoekt

* remove incorrect submodule reference and settings typo

* update zoekt commit

* remove unused yarn script

* remove unused grpc client in web server

* remove unneeded deps and improve tenant id log

* pass tenant id when creating repo in db

* add mt yarn script

* add nocheckin comment to tenant id in v2 schema

---------

Co-authored-by: bkellam <bshizzle1234@gmail.com>
2025-01-14 16:46:36 -08:00
msukkari
3c3140e2d6 bump zoekt version 2025-01-14 15:45:49 -08:00
Brendan Kellam
a013298955
curl error handling in entrypoint.sh (#159) 2025-01-14 15:09:20 -08:00
bkellam
95f637f3d2 point zoekt to v3 branch 2025-01-14 13:43:35 -08:00
Brendan Kellam
15b9e777e4
SQL Database (#157) 2025-01-14 13:37:31 -08:00
dependabot[bot]
75999800e7
Bump next from 14.2.15 to 14.2.21 (#155)
Bumps [next](https://github.com/vercel/next.js) from 14.2.15 to 14.2.21.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v14.2.15...v14.2.21)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-13 11:29:24 -08:00
bkellam
04dfb82732 release v2.7.0 2025-01-10 14:52:49 -08:00
bkellam
b32598d091 Bump golang version 2025-01-09 15:49:53 -08:00
bkellam
f54d71a489 update zoekt version 2025-01-09 15:44:22 -08:00