1
0
Fork 0
mirror of synced 2024-07-31 19:01:57 +12:00
Commit graph

421 commits

Author SHA1 Message Date
Adria Navarro
2e54b40d55 Build backend-core before dev script 2023-07-26 12:48:33 +02:00
Adria Navarro
b488dd06a3 Update esbuild refs 2023-07-26 12:47:35 +02:00
Adria Navarro
29624eea10 Use nx deps to run client 2023-07-14 17:08:49 +02:00
Adria Navarro
711fb7b5c9 Downgrade nx to support node 14 2023-07-10 12:21:05 +02:00
Adria Navarro
f45f1567a5 Update lerna 2023-07-10 12:18:07 +02:00
Adria Navarro
39efd01f23 Update nx 2023-07-10 11:41:46 +02:00
Adria Navarro
5cdb7fb4b8 Merge branch 'develop' into chore/nx-cloud 2023-07-10 10:56:31 +02:00
Gerard Burns
808e0d1ef2 Linting improvements (#11119) 2023-07-05 18:00:50 +01:00
Adria Navarro
d6ca78cb82 Use nx cloud 2023-07-05 15:58:03 +02:00
Adria Navarro
8db5b87136 Update prettier 2023-06-28 14:39:17 +01:00
Adria Navarro
f2d41addbd Unify prettier 2023-06-28 14:33:51 +01:00
Adria Navarro
24d5d36cff Add dependencies on scripts 2023-06-26 11:54:24 +01:00
Adria Navarro
2f548d834f Merge branch 'develop' into chore/refactor_pro_as_package 2023-06-23 10:43:57 +01:00
Michael Drury
958cabee52 Merge pull request #10921 from Budibase/fix/airgap-templates-call
update airgap script and enable support for offline mode
2023-06-20 13:51:10 +01:00
Adria Navarro
50d082c385 Merge branch 'develop' into chore/refactor_pro_as_package 2023-06-20 11:14:05 +01:00
Adria Navarro
b85c252e58 Merge pull request #10958 from Budibase/budi-7048/update-to-lerna-7
BUDI-7048 - update to lerna 7
2023-06-19 19:37:06 +01:00
mike12345567
3955b00bbc Merge branch 'develop' of github.com:Budibase/budibase into fix/airgap-templates-call 2023-06-19 18:57:17 +01:00
Adria Navarro
acfe69a3d5 Remove the doble deep format references 2023-06-19 18:34:51 +01:00
Adria Navarro
d7d1eabc0f Fix build order 2023-06-19 17:55:47 +01:00
Adria Navarro
fdba5bf3ae Exclude package dependencies 2023-06-19 17:55:47 +01:00
Adria Navarro
e73934a09c Clean packages 2023-06-19 17:55:47 +01:00
Adria Navarro
b3a6a2e13a Remove nx dependency, use lerna instead 2023-06-19 17:50:52 +01:00
Adria Navarro
cf4c57a61b Revert "BUDI-7048 - Update to lerna 7" 2023-06-16 15:25:34 +01:00
Martin McKeaveney
dd8e54c5e1 update airgap script and enable support for offline mode 2023-06-15 15:20:14 +01:00
Adria Navarro
bc82f95410 Update nx to latest 2023-06-15 11:48:49 +01:00
Adria Navarro
7f9891b5a7 Update lerna out of beta 2023-06-15 11:48:12 +01:00
Adria Navarro
511559a720 Use predocker 2023-06-06 14:45:20 +01:00
Adria Navarro
b79a6b82ba Publish release with the already fixed version 2023-06-06 08:06:33 +01:00
Adria Navarro
bb3179cdf4 Use resolutions for pro 2023-05-29 12:46:19 +02:00
mike12345567
5d93ea6fff Adding environment variable file for dev:docker command. 2023-05-26 13:28:08 +01:00
Adria Navarro
7a439b8e01 Remove nx/esbuild refs 2023-05-26 13:59:50 +02:00
Adria Navarro
489ca561b7 Check types 2023-05-26 13:54:10 +02:00
Adria Navarro
bdda73a70b Respect tsconfig paths 2023-05-25 11:49:38 +02:00
mike12345567
40a3624c5b Removing directions towards bootstrap command as it is no longer required. 2023-05-24 16:35:05 +01:00
mike12345567
90ffa338c3 Fixes the single image build, as well as fixing the nodemon process for the server. 2023-05-24 16:23:34 +01:00
Adria Navarro
163f7fff2a Fix proxy issues on dev/docker-dev 2023-05-24 13:25:41 +02:00
Adria Navarro
c3301e393e Optimise nx dependencies 2023-05-23 23:11:26 +02:00
mike12345567
9d3d29f43a Setting version and adding types dependency to backend-core. 2023-05-23 18:21:47 +01:00
Adria Navarro
3d604f780a Fix build order 2023-05-23 19:00:56 +02:00
mike12345567
f4e1f9b2b8 Moving services profile. 2023-05-23 16:10:12 +01:00
mike12345567
5039e63bfb PR comments. 2023-05-23 16:07:45 +01:00
Adria Navarro
375a8076b1 Rename command 2023-05-23 12:54:15 +02:00
Adria Navarro
73372d5f5d Optimise builds 2023-05-22 12:42:14 +02:00
Adria Navarro
077e6895da Undo package 2023-05-19 17:37:16 +02:00
Adria Navarro
f27c4ae55a Use nx/esbuild for worker docker & dev 2023-05-19 14:45:05 +02:00
mike12345567
f3785892a9 Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild 2023-05-17 12:45:28 +01:00
Adria Navarro
09462974e1 Use semver 2023-05-05 13:23:14 +01:00
Adria Navarro
cc83d7458e Merge branch 'chore/npmless-builds' into chore/esbuild
# Conflicts:
#	packages/pro
#	yarn.lock
2023-05-04 10:32:58 +01:00
Adria Navarro
cec2f88c25 Fix svelte issues 2023-05-03 18:05:32 +01:00
Adria Navarro
648db248dc Fix builds 2023-05-03 18:05:32 +01:00
Adria Navarro
d7f7ad5b5f Build shared-core 2023-05-03 18:05:21 +01:00
Adria Navarro
f426ba1ac3 Merge branch 'chore/npmless-builds' into chore/esbuild 2023-05-02 14:56:34 +01:00
Adria Navarro
9ffd43b682 Merge branch 'chore/npmless-builds' into chore/pipeline_npm_version_updates 2023-05-02 14:07:44 +01:00
mike12345567
de51364303 Some updates to Dockerfiles. 2023-04-27 17:00:15 +01:00
mike12345567
19b568891e Merge branch 'develop' of github.com:Budibase/budibase into chore/npmless-builds 2023-04-25 17:44:17 +01:00
mike12345567
49b45f5e67 Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild 2023-04-25 17:37:56 +01:00
adrinr
dfa33eb27b Add yarn install back 2023-04-24 20:01:59 +01:00
adrinr
7cc859087e Execute pro checks on preinstall 2023-04-24 20:01:59 +01:00
adrinr
1b8a780cb2 Clean scripts 2023-04-24 20:01:59 +01:00
adrinr
50a0662a99 Smart script 2023-04-24 20:01:59 +01:00
adrinr
35bc055ba6 Change release pipelines 2023-04-24 20:01:59 +01:00
adrinr
a2746ec241 Cleanups 2023-04-24 20:01:49 +01:00
adrinr
d8cfb68082 --no-git-reset 2023-04-24 20:01:49 +01:00
adrinr
7018fea06f Add logging 2023-04-24 20:01:30 +01:00
adrinr
d059385979 Add no-push 2023-04-24 20:01:25 +01:00
adrinr
417b7b1538 Bump version manually 2023-04-24 20:00:59 +01:00
adrinr
d8103046e2 Publish via lerna, from package 2023-04-24 20:00:37 +01:00
adrinr
49713e5f9a Don't publish sdk 2023-04-24 20:00:33 +01:00
adrinr
d6ea99689f Publish packages 2023-04-24 20:00:28 +01:00
adrinr
1bcb481d69 Change publish process 2023-04-24 19:58:40 +01:00
adrinr
8faed6cfbc Move script 2023-04-24 19:58:40 +01:00
adrinr
ca84e0c94c Push changes 2023-04-24 19:58:40 +01:00
adrinr
0a83d8eec8 Remove release pro from commands 2023-04-24 19:56:13 +01:00
adrinr
afc5c99c6f Revert "Merge pull request #10367 from Budibase/revert-10267-chore/pro_as_submodule"
This reverts commit df18119b56, reversing
changes made to 676b85dbd8.
2023-04-20 19:48:29 +01:00
adrinr
e65225996e Revert https://github.com/Budibase/budibase/pull/10267 2023-04-20 19:04:20 +01:00
Michael Drury
1bd1857533 Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild 2023-04-20 11:35:29 +01:00
adrinr
b825beae43 Complete submodules:unload script 2023-04-19 10:21:07 +01:00
adrinr
c58f6d8db6 Force clean on dep:clean 2023-04-19 10:17:49 +01:00
adrinr
279e2b723c Use nx for build:dev 2023-04-19 09:59:01 +01:00
adrinr
41b05442ef Update husky 2023-04-17 19:33:45 +01:00
adrinr
0c70eb7fde Try config 2023-04-17 19:31:18 +01:00
adrinr
3b891df8d8 Fix 2023-04-17 19:27:49 +01:00
adrinr
5b86cf96ba Change hook 2023-04-17 19:27:06 +01:00
adrinr
751d65bfab Update scripts 2023-04-17 18:42:22 +01:00
adrinr
b93d466d75 Pull submodule automatically 2023-04-16 11:02:10 +01:00
adrinr
1e13c65622 Add kill-all in dev:built 2023-04-14 16:28:34 +01:00
mike12345567
af72b730e0 Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild 2023-04-14 13:06:57 +01:00
mike12345567
361005b521 Merge branch 'develop' of github.com:Budibase/budibase into chore/esbuild 2023-04-13 17:23:58 +01:00
adrinr
5d14b71c7e Add lerna link back to fix embeeding files on server tests 2023-04-13 13:09:44 +01:00
adrinr
09358addc1 Remove not needed yarn link 2023-04-13 12:16:35 +01:00
adrinr
caeb331c7a Add yarn link (needed for some test path refs) 2023-04-13 10:54:35 +01:00
adrinr
3672acd68e Fix backend-core tests 2023-04-13 10:54:35 +01:00
adrinr
17f6c21a9f Remove bootstrap 2023-04-13 10:54:35 +01:00
adrinr
70475c3250 Use yarn workspaces with nx 2023-04-13 10:54:18 +01:00
adrinr
ceacf38ed6 Bootstrap submodule 2023-04-13 10:44:28 +01:00
adrinr
b8d5fe88b6 Remove "root" from refrenced packages 2023-04-13 09:43:59 +01:00
adrinr
b8d9311b49 Merge branch 'chore/yarn_workspaces' into chore/pro_as_submodule 2023-04-13 09:41:59 +01:00
adrinr
627a02e150 Add yarn link (needed for some test path refs) 2023-04-12 22:33:56 +01:00
adrinr
0319610095 Fix backend-core tests 2023-04-12 21:46:08 +01:00
adrinr
929e0c8e6a Remove bootstrap 2023-04-12 19:36:22 +01:00
adrinr
4f98f99a90 Use yarn workspaces with nx 2023-04-12 18:48:57 +01:00
adrinr
181d0ee236 Run pro bootstrap if submodule exists 2023-04-12 18:36:58 +01:00
adrinr
fd538e0aad Setup pro 2023-04-11 17:12:50 +01:00
adrinr
5ea8086be0 Remove scripts 2023-04-11 16:52:59 +01:00
Rory Powell
77ffb8d86d Run integration suite in CI again / auto detect tenancy / refactors (#10209)
* qa-core-ci-fixes

* global setup and teardown wip

* Updates to logs and setup

* Remove date and console mocking

* Update CI to spin up minimal dev env

* Update readme

* Fix scopeBackend.sh

* Ensure docker services are initialised before starting worker

* Lint

* Fix admin user being created on startup (#10219)

* use regular bootstrap and build

* Lint

* Temp: re-use global setup to get around app limit in QA
2023-04-05 15:33:56 +01:00
adrinr
e052ab50c7 Add stream flag to lerna run 2023-04-04 09:05:38 +01:00
adrinr
85e3906426 Fix 2023-04-04 08:44:23 +01:00
adrinr
ece0d44f1a Stream outputs 2023-04-04 08:44:23 +01:00
adrinr
8a68b4146d Update lerna 2023-04-04 08:44:05 +01:00
adrinr
98a3ed323b Use yarn workspaces with lerna 2023-03-31 12:33:31 +01:00
adrinr
e8e77cc140 Use esbuild for server 2023-03-31 12:32:41 +01:00
adrinr
55b12002be Add dependencies 2023-03-31 12:32:41 +01:00
Rory Powell
74995381f4 Remove client build in CI 2023-03-31 12:30:20 +01:00
Rory Powell
44aa19a99a Merge branch 'master' into merge-master-develop 2023-03-31 12:26:04 +01:00
Rory Powell
79bec7d86d Add force exit, -e flag and streaming to tests (#10151)
* Add force exit, -e flag and streaming to tests

* Temp remove script usage from worker tests

* Revert "Temp remove script usage from worker tests"

This reverts commit 5e0ed2e92d.

* Always fail test

* Ignore server test package from coverage report

* Unscope server only

* Run all server tests again

* Update backend core test script to fail when any command fails and force exit

* Don't try to require client in test

* Port memory limit fix from develop

* Remove always failing test and commented out block for client require

* Fixing some issues with test cases.

* Revert assertions in internalSearch.spec.js

---------

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
2023-03-31 10:32:13 +01:00
Michael Drury
772a732194 Making sure client is built, before running server tests. 2023-03-28 01:01:01 +01:00
Michael Drury
a88a8ab272 Running server tests first. 2023-03-28 00:52:38 +01:00
Michael Drury
972897faf7 Splitting server tests out to run separately to main lerna thread. 2023-03-28 00:33:46 +01:00
Martin McKeaveney
97f0b76d82 removing test step from release 2023-03-06 11:30:21 +00:00
Martin McKeaveney
195868b9b1 increasing max-old-space-size 2023-03-06 11:27:32 +00:00
Rory Powell
9b642eab27 Merge branch 'pro-own-tests' into feature/audit-logs 2023-02-27 15:58:26 +00:00
Rory Powell
895938a53b Remove test:pro from main test command 2023-02-27 15:56:27 +00:00
mike12345567
d6b0b7610a Fixing circular dependencies which were blocking tests. 2023-02-24 17:31:58 +00:00
Adria Navarro
b125b5478b Merge branch 'develop' into feature/dependencies-image 2023-02-01 16:32:00 +00:00
Mitch-Budibase
bf5da62f75 Removing Cypress
We no longer need Cypress.

I am removing the Cypress directory.
Also updated package.json to remove the cypress related lines
2023-01-31 16:48:27 +00:00
mike12345567
a5980caf68 Updating Dockerfile to use same path as the publish (restrict context size). 2023-01-27 13:17:19 +00:00
Adria Navarro Redo
9242470f6f Fix snapshots test 2023-01-26 18:20:21 +00:00
Adria Navarro
d6f0e5b1ec Dry, moving env variables to a .env.test file 2023-01-23 17:41:32 +00:00
Adria Navarro
0aa28c0ee2 Rename image "tests" for "dependencies" 2023-01-23 15:09:13 +00:00
Adria Navarro
f94f4b2e9f Renamings 2023-01-23 10:45:59 +00:00
Adria Navarro
656a247dbe Fix image and move folders 2023-01-23 10:05:16 +00:00
mike12345567
d347b8015b Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2023-01-10 18:49:07 +00:00
mike12345567
3601bd1f4d Adding pre-commit check for qa-core and examples. 2023-01-06 16:52:18 +00:00
mike12345567
60371d828e Linting. 2023-01-06 16:46:50 +00:00
mike12345567
84403253b1 Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2022-12-22 17:24:34 +00:00
Rory Powell
b635614f77 Allow proxy upstream URLs to be configured at runtime (#7413)
* allow proxy upstream urls to be configured at runtime

* make dynamic upstream urls in proxy the default behaviour

* reorder env directives

* Use appVersion for proxy image

* Update couch upstream for proxy

* proxy ci updates - WIP

* allowing custom resolvers in proxy service deployment

* remove generateProxyConf script for prod and remove from builds

* remove generateProxyConfig script

* removing nginx dev conf

* delete generated nginx conf

Co-authored-by: Thomas Weiß <panos@unbunt.org>
Co-authored-by: Martin McKeaveney <martinmckeaveney@gmail.com>
2022-12-20 16:28:13 +00:00
mike12345567
d8e702567b Merge branch 'develop' of github.com:Budibase/budibase into feature/test-image 2022-12-15 15:22:01 +00:00
Rory Powell
786039055e File authentication using presigned URLs (#8883)
* file auth wip

* Private plugin bucket wip

* Add etag to logo request, fix circular dependency

* Resolve cyclic dependency

* Ensure browser doesn't cache custom component

* Global file fixes

* File fixes / remove permaUrl

* Add ctx local storage

* Enable presigned url to work from any host

* Test fix

* Self hosting w/ S3 + other fixes

* Fix for serving dev app in multi tenant

* Fix backup restore and import attachment url processing, never store attachment urls

* Test fixes

* Unit tests WIP

* Replace file path with base64 encoded private key

* Multi tenancy tests for files

* Environment files fixes

* Post-merge build and test fixes

* Add debug conditional to all jest logging and revert/fix prod minio proxy_pass

* Re-add default '/' minio route :(

* Rename iconFile -> iconFileName

* Add cloudfront vars to k8s templates

* Remove public bucket policy

* Remove duplicated test
2022-12-15 11:35:22 +00:00
mike12345567
77a18bbba9 Adding base test image 2022-12-13 16:50:31 +00:00
mike12345567
b2171c5955 Enabling pushing of budibase/couchdb image. 2022-12-09 22:11:15 +00:00
mike12345567
9b144f61f7 Updating single image, break out couchdb config into its own image. 2022-12-01 17:08:49 +00:00
Michael Drury
95f1081208 Updating typescript eslinter version to all match and resolve issue with our current Typescript version. 2022-11-29 11:26:23 +00:00
Rory Powell
1612044dc1 Merge branch 'develop' into subdomain-tenancy 2022-11-15 16:18:59 +00:00
Rory Powell
5da699e27c Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings 2022-11-14 13:29:46 +00:00
Rory Powell
6783fd713e Update tenancy detection to honour any subdomain pattern according to platform url 2022-11-09 16:35:16 +00:00
Mel O'Hagan
0d08eb60c5 Merge branch 'develop' into lab/mongodb 2022-10-03 17:10:21 +01:00
Andrew Kingston
25078b6bb8 Add unique srcript for generating SDK to avoid unnecessarily building it 2022-09-21 09:08:52 +01:00
Martin McKeaveney
604ee41f51 adding madge dep and script for detecting circular dependencies 2022-09-20 10:30:30 +01:00
Martin McKeaveney
fdbe429581 complete refactor and total type safety of test suite - making use of OpenAPI types throughout 2022-09-15 00:58:08 +01:00
Martin McKeaveney
32be537023 make sure yarn gets run in qa-core 2022-09-06 09:08:49 +01:00