Commit Graph

158 Commits

Author SHA1 Message Date
AmineDiro
d9c1f3add4
fix: quivr core fix tests (#2935)
# Description
- Update CI
- Fix DockerFile for quivr-core tests
- Tox parallel tests

@StanGirard  @chloedia 
- For running quivr-core tests:
```bash
cd backend/core
./scripts/run_tests.sh
```

---------

Co-authored-by: aminediro <aminedirhoussi@gmail.com>
Co-authored-by: Stan Girard <girard.stanislas@gmail.com>
2024-08-01 06:54:43 -07:00
porter-deployment-app[bot]
3f9f24fb83
Delete Porter Application quivr-com-backend (#2928)
Please merge this PR to delete the workflow file associated with your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-07-30 08:35:30 -07:00
porter-deployment-app[bot]
d7633440b2
Delete Porter Application quivr-com (#2927)
Please merge this PR to delete the workflow file associated with your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-07-30 08:34:56 -07:00
Stan Girard
34e47a0af2 feat: Add OPENAI_API_KEY to backend-core-tests.yml
The `backend-core-tests.yml` GitHub Actions workflow file has been updated to include the `OPENAI_API_KEY` environment variable with a test key. This change allows the tests to access the OpenAI API using the specified key.
2024-07-09 18:48:07 +02:00
Stan Girard
a4b657768c Update health check command in backend-core-tests.yml 2024-07-09 18:45:32 +02:00
Stan Girard
05d7dff91b feat: Update health check command in backend-core-tests.yml
The health check command in the `backend-core-tests.yml` GitHub Actions workflow file has been updated to include a `--max-time` option with a value of 5 seconds. This change ensures that the health check fails if the Tika server does not respond within the specified time limit.
2024-07-09 18:43:32 +02:00
Stan Girard
15660409a3
feat: Add GitHub Actions workflow for running tests on backend/core (#2822)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-07-09 09:39:01 -07:00
Stan Girard
82292f30ac
feat: Add GitHub Actions workflow for running tests on backend/core (#2820)
This commit adds a new GitHub Actions workflow file
`backend-core-tests.yml` to the repository. This workflow is triggered
on push and pull request events, specifically for changes made to the
`backend/core` directory. The workflow runs tests for the backend/core
module using a Tika server as a service. It checks the health of the
Tika server before running the tests. The workflow sets up Python,
installs dependencies using Poetry, and runs the tests using pytest.

This commit is necessary to automate the testing process for the
backend/core module and ensure that the tests are run consistently and
reliably.

Co-authored-by: aminediro <aminedirhoussi@gmail.com>
2024-07-09 09:28:27 -07:00
Stan Girard
2e995a6ae9 chore: Update backend/core version to 0.0.1 in release-please-manifest.json 2024-07-09 16:48:12 +02:00
Stan Girard
b8eb5dc652 chore: Update release-please-core workflow for python package in backend 2024-07-09 16:36:23 +02:00
Stan Girard
ae8bb71142 chore: Update release-please-core workflow for python package in backend 2024-07-09 16:28:54 +02:00
Stan Girard
71928ac255 chore: Add release-please-core workflow and configuration files for python package in backend 2024-07-09 16:19:26 +02:00
Stan Girard
7919c09161 chore: Update GitHub Actions workflows to trigger on tag pushes
This commit updates the GitHub Actions workflows for the backend services (quivr-com-backend, quivr-com, raise-frontend, raise, theodo-backend, and theodo-frontend) to trigger on tag pushes instead of branch pushes. This change allows for more controlled deployments and ensures that only tagged versions are deployed to the respective environments.
2024-07-09 16:07:59 +02:00
Stan Girard
07d25e4208 chore: Add release-please-core workflow and configuration files
This commit adds the release-please-core workflow and configuration files for the python package in the backend. The release-please workflow is triggered on push to the main branch and on manual workflow dispatch. It sets up Python, installs Poetry, configures Poetry, and runs release-please for the backend/core package. The release-please configuration file specifies the release type, package name, bump patch for minor pre-major, changelog notes type, include v in tag, tag separator, and component.
2024-07-09 16:00:31 +02:00
Stan Girard
318b615fcb chore: Update release-please workflow for python package in backend 2024-07-09 15:55:46 +02:00
Stan Girard
70119ab652 chore: Update release-please workflow for python package in backend 2024-07-09 15:51:06 +02:00
Stan Girard
28b5c6a3d9 chore: Update release-please workflow for python package in backend 2024-07-09 15:43:45 +02:00
Stan Girard
5082182ae7
chore: Add release-please-core workflow and configuration files (#2809)
This pull request adds the release-please-core workflow and
configuration files. The release-please workflow is triggered on push to
the main branch and on manual workflow dispatch. It sets up Python,
installs Poetry, configures Poetry, and runs release-please for the
backend/core package. The release-please configuration file specifies
the release type, package name, bump patch for minor pre-major,
changelog notes type, include v in tag, tag separator, and component.
2024-07-09 06:35:23 -07:00
Stan Girard
6f0a757db2
chore: Add GitHub Actions workflow for testing and building Docker image (#2778)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-28 07:20:02 -07:00
Stan Girard
a59d7533d1
Revert "chore: Update docker-compose files to specify platform for backend services" (#2770)
Reverts QuivrHQ/quivr#2763
2024-06-27 05:07:04 -07:00
Stan Girard
32786866cb
chore: Update docker-compose files to specify platform for backend services (#2763)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-06-27 05:02:59 -07:00
Stan Girard
a9ab38e735
chore: Remove Porter stack deployment workflows for cherry-pick-backend and cherry-pick-frontend (#2707)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):

Co-authored-by: Stan Girard <stan@quivr.app>
2024-06-23 08:55:51 -07:00
porter-deployment-app[bot]
60faa8584b
Enable Porter Application raise-frontend (#2706)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-06-23 08:40:11 -07:00
porter-deployment-app[bot]
060488810b
Enable Porter Application raise (#2705)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-06-23 08:37:17 -07:00
Stan Girard
a544f6a147 Remove backend path from push trigger and update Docker image tags 2024-05-08 17:15:30 +02:00
Stan Girard
c1c39f1f5c
ci(ecr): added build to public ecr (#2564)
This pull request adds a GitHub Actions workflow for building and
pushing Docker images to Amazon ECR. The workflow is triggered on every
push to the main branch and includes steps for configuring AWS
credentials, logging in to Amazon ECR, GitHub Container Registry, and
Docker Hub, setting up Docker Buildx, creating a Docker cache storage
backend, and building, tagging, and pushing the Docker image to Amazon
ECR.
2024-05-08 07:42:31 -07:00
Stan Girard
f53b3a0f1c
chore(ci): Update PR title linting workflow (#2553)
This pull request updates the PR title linting workflow to use the
action-semantic-pull-request@v5 action instead of the
conventional-pr-title-action. This change improves the accuracy of the
PR title validation process.
2024-05-07 00:27:14 -07:00
porter-deployment-app[bot]
239d9b26d7
Enable Porter Application theodo-frontend (#2538)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-05-03 07:22:54 -07:00
porter-deployment-app[bot]
33ef470595
Enable Porter Application theodo-backend (#2537)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-05-03 07:14:54 -07:00
Stan Girard
05cb0f71d0
feat(llama-parse): improve prompt (#2535)
# Description

Please include a summary of the changes and the related issue. Please
also include relevant motivation and context.

## Checklist before requesting a review

Please delete options that are not relevant.

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented hard-to-understand areas
- [ ] I have ideally added tests that prove my fix is effective or that
my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged

## Screenshots (if appropriate):
2024-05-03 06:28:07 -07:00
Stan Girard
a9aa3cf767 chore: Remove AWS deployment workflow 2024-05-02 14:14:10 +02:00
Stan Girard
41baaceff8 chore(porter): Update GitHub Actions workflow triggers 2024-05-02 00:10:26 +02:00
porter-deployment-app[bot]
008412fbef
Enable Porter Application production (#2528)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-05-01 14:31:42 -07:00
porter-deployment-app[bot]
2ed446f29f
Enable Porter Application preview-frontend (#2522)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-04-30 04:39:04 -07:00
porter-deployment-app[bot]
850087dfd1
Enable Porter Application preview (#2521)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-04-30 04:34:20 -07:00
porter-deployment-app[bot]
b9a52cc8eb
Delete Porter Application quivr-demo-front (#2520)
Please merge this PR to delete the workflow file associated with your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-04-30 01:46:17 -07:00
porter-deployment-app[bot]
15ec72040a
Delete Porter Application quivr-back (#2519)
Please merge this PR to delete the workflow file associated with your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-04-30 01:45:38 -07:00
porter-deployment-app[bot]
7725c1005b
Enable Porter Application quivr-com (#2511)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-04-27 14:50:04 -07:00
porter-deployment-app[bot]
d9150e9431
Enable Porter Application quivr-com-backend (#2510)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-04-27 14:45:35 -07:00
porter-deployment-app[bot]
55b456bfe1
Enable Porter Application cherry-pick-frontend (#2493)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-04-25 04:18:35 -07:00
porter-deployment-app[bot]
6def307408
Enable Porter Application cherry-pick-backend (#2492)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-04-25 04:11:24 -07:00
porter-deployment-app[bot]
e0edaedbd0
Enable Porter Application quivr-demo-front (#2444)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-04-18 09:23:39 -07:00
porter-deployment-app[bot]
c84e15dcff
Enable Porter Application quivr-back (#2443)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-04-18 08:55:42 -07:00
Stan Girard
aeaa16dc5f
feat(notion): added custom integration (#2268)
This pull request adds a custom integration feature and sync
functionality to the application. It includes the following changes:

- Added a new integration entity for custom integrations.

- Implemented the ability to load and poll the custom integration.

- Added a task to sync the custom integration with the user's brain.

- Updated the celery beat schedule to include the new task.

Please review and merge this pull request.
2024-02-27 21:30:25 -08:00
Stan Girard
c95c35499f
Refactor GitHub workflows (#2261)
This pull request refactors the GitHub workflows for backend tests and
deployment to preview and production environments. The changes include
updating the workflow triggers, setting up Python versions, installing
system dependencies, and running pytest.
2024-02-24 09:15:27 -08:00
porter-deployment-app[bot]
25ef453b19
Enable Porter Application prod-quivr (#2223)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-02-19 20:55:11 -08:00
porter-deployment-app[bot]
7fa3a4fc8b
Enable Porter Application preview-quivr (#2222)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-02-19 19:22:41 -08:00
porter-deployment-app[bot]
cc09efaccb
Delete Porter Application quivr (#2221)
Please merge this PR to delete the workflow file associated with your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-02-19 19:19:24 -08:00
porter-deployment-app[bot]
cd3df2fe45
Enable Porter Application quivr (#2220)
Hello 👋 from Porter! Please merge this PR to finish setting up your
application.

Co-authored-by: porter-deployment-app[bot] <87230664+porter-deployment-app[bot]@users.noreply.github.com>
2024-02-19 18:33:02 -08:00
Stan Girard
a1dbce559c Update image tags in AWS workflow and docker-compose.yml 2024-02-07 14:15:24 -08:00