27 Commits

Author SHA1 Message Date
hiento09
87f621129e
Update CI follow git flow (#1625)
* Update CI follow git flow

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-01-17 19:10:00 +07:00
hiento09
07f4727068
Refactor CI by create shared jobs output (#1287)
* Create shared job output get version for nightly build

* update CI prod add change version for web/package.json

* Add condition enable for auto update on CI run on main branch only

* Update Makefile to delete extensions folder on jan root

* Correct version for nightly build ci pipeline

* Add direct url for nightly build to README.md file

* Correct make clean path for windows

* Remove nightly build session in README

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-01-02 17:33:53 +07:00
hiento09
5ef49c8684
Correct jq command cause ci nightly build run failed (#1104)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-19 17:31:22 +07:00
hiento09
96b00bd284
Fix auto update windows Bug (#1102)
* upgrade electron-updater and electron-builder for fixing windows autoupdater

* windows specific target build

* Add block map for windows nightly build

* content-type blocksize change to application/gzip

* content-type blocksize change to application/octet-stream

* remove content-type for windows

* add custom sign for windows

* correct exe file path for binary file

* Add windows codesign step to electron-builder

---------

Co-authored-by: Service Account <service@jan.ai>
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-19 16:33:53 +07:00
hiento09
a296cb2c85
Feature autoupdater for nightly build (#1068)
* CI nightly build enable auto-updater

* Add jobs dependencies

* add continue on error for task delete latest folder on R2

* Switch to use aws s3api

* Switch to use bash for make build command

* Fix error region aws s3cli command

* Fix makefile command error on windows

* Change content type of yaml file upload to R2

* add retry curl github api

* Fix error command aws s3api delete-objects

* quit from tty for aws s3api command

* CI nightly build enable auto-updater

* Add jobs dependencies

* add continue on error for task delete latest folder on R2

* Switch to use aws s3api

* Switch to use bash for make build command

* Fix error region aws s3cli command

* Fix makefile command error on windows

* Change content type of yaml file upload to R2

* add retry curl github api

* Fix error command aws s3api delete-objects

* quit from tty for aws s3api command

* Correct yml file for auto updater electron

* Add channel for auto-updater

* Add channel for auto-updater

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: Service Account <service@jan.ai>
2023-12-19 00:06:09 +07:00
hiento09
9dd13716be
Separate posthog project for jan app and docs (#1029)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-12-15 12:50:17 +07:00
hiento09
66cd1817f9
fix bug #1013, enable posthog for release app version only (#1019)
Co-authored-by: Hien To <hien@jan.ai>
2023-12-15 10:52:59 +07:00
hiento09
e5d4b81aab
Add nightly build ci (#794)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-30 20:23:45 +07:00
hiento09
07eafd85f6
Switch from .zip to .tar.gz for nitro url inference plugin (#781)
* Switch from .zip to .tar.gz for nitro url

* make clean add clean data folder

---------

Co-authored-by: Hien To <hien@jan.ai>
2023-11-29 17:27:15 +07:00
hiento09
beafa676c4
Add windows code sign to CI (#712)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-24 11:46:39 +07:00
hiento09
df163a85e5
Chore: refactor to makefile (#691)
* Add makefile for jan

* CICD switchs to use make

* Update README.md to use Makefile

---------

Co-authored-by: Hien To <hien@jan.ai>
2023-11-22 17:48:02 +07:00
hiento09
0dd70824e8
Feature: Preview URL for each PR and add pre-release.jan.ai as staging of Jan Docs (#669)
* CloudFlare Pages add Preview URL to PR

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-21 10:26:26 +07:00
Linh Tran
9c5c03b6bc
Add run-script-os (#620) 2023-11-15 21:46:27 +07:00
hiento09
500f7b4867
Chore/refactor yarn script (#615)
* Refactor yarn script

---------

Co-authored-by: Hien To <hien@jan.ai>
2023-11-14 11:53:09 +07:00
hiento09
ee5b2d0b0d
Add set yarn network timeout for uikit (#579)
* Add set yarn network timeout for uikit

* Temporary set nitro version in CI

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-10 17:16:45 +07:00
hiento09
edb34c9bc2
Add set env CI=e2e in CI pipeline (#578)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-10 15:59:21 +07:00
hiento09
42c13c60a4
Fix build plugins macos codesiging error (#576)
Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-10 14:33:28 +07:00
Louis
b1bb288fae
fix: failed to package app since core and uikit are not being built (#575) 2023-11-10 13:15:56 +07:00
Louis
96dba2690d feat: class-based plugin manager
chore: add facades

refactor: core module export

refactor: inference plugin - deprecate function registering (#537)

* refactor: revamp inference plugin as class - deprecate function registering

* refactor: monitoring plugin - deprecate service registering (#538)

refactor: revamp inference plugin as class - deprecate function registering

chore: update import

refactor: plugin revamp - model management

chore: update build steps and remove experimental plugins

refactor: remove pluggable electron

chore: add sorting for conversations

chore: build plugins for testing

chore: consistent plugin directory name

chore: docs

chore: fix CI

chore: update conversation prefix
2023-11-06 13:46:01 +07:00
Louis
f02f769f11
chore: disable app update on test (#521)
* chore: disable app update on test

* chore: add build:test step

* Update CI test uses yarn build:test

* Plugin pull from npm registry instead of rebuild
---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-11-01 17:29:58 +07:00
Service Account
a965f2360e Move back to github-hosted runner 2023-10-25 13:39:27 +07:00
Service Account
b92e6bf2d1 Temporary disable electron build code sign from p12 file 2023-10-25 12:07:07 +07:00
Service Account
ff872f6d97 Change codesign plugin folder in ci 2023-10-25 01:19:57 +07:00
Service Account
e60e7a228e fix error codesign 2023-10-25 00:58:36 +07:00
Service Account
847e377350 Add continue on error for import cert 2023-10-24 22:29:58 +07:00
Service Account
11bb52fd9d Update code siging for new data plugin 2023-10-24 20:49:51 +07:00
hiento09
a6694921e8
Refactor cicd (#397)
* Refactor cicd

* Correct version plugin core

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2023-10-19 08:29:40 +00:00