Commit Graph

368 Commits

Author SHA1 Message Date
melohagan dca73dac83
Run account portal unit tests (#14013) 2024-06-25 09:14:46 +01:00
melohagan 4ac9b657e5
Remove deprecated properties (#13958)
* Remove deprecated properties

* Fix backend-core test

* Don't run account-portal tests

* Update account-portal ref

* Run account portal unit tests

* Revert "Run account portal unit tests"

This reverts commit b509bf31a4.

* Revert "Update account-portal ref"

This reverts commit 186391fbb6.
2024-06-25 08:26:52 +01:00
mike12345567 5b6c5011fb Removing Datadog CI visibility for now due to its pricing - have created a confluence page documenting how to add it back if it is desired. 2024-06-17 18:13:54 +01:00
melohagan 9ecf82e0f6
Add endpoint to GET tenant info from tenant global DB. (#13923)
* Add GET tenant info endpoint

* Add GET global tenant to endpoint list.

* Use correct not found code

* Fix unit test

* Code review comments

* Ignore account portal check types

* remove account-portal-ui from type check ignore

* Remove ignore account-portal-ui from type check
2024-06-17 09:22:44 +00:00
Sam Rose f6ed2c9afc
Enable DataDog test instrumentation. 2024-06-10 15:48:15 +01:00
Peter Clement 1d300c2577
Remove aws sdk global mock and update tests (#13637)
* Remove aws sdk global mock and update tests

* add awaits

* Minio healthcheck in tests.

* Bind to 127.0.0.1 instead of 0.0.0.0

* Fix port fetching for minio container.

* Actually fix port mapping this time.

* Pull minio container before running tests.

* Enable testcontainers debug logging.

* Promote minio container to always running in tests, like CouchDB.

* Remove testcontainers debug logging.

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-05-08 14:08:34 +01:00
Sam Rose 777b5b5f53
Make REUSE_CONTAINERS the default for running tests. 2024-04-26 11:35:23 +01:00
mike12345567 b8685dc245 Updating if statement. 2024-04-11 16:24:11 +01:00
mike12345567 f9e1f4b8c4 Fixing issue with OSS build, if the user is OSS don't attempt to account portal build. 2024-04-11 15:58:22 +01:00
Sam Rose 4c24a43465
Merge branch 'master' of github.com:budibase/budibase into budi-7659-sqs-investigate-handle-more-complex-types 2024-04-09 16:57:21 +01:00
Sam Rose 06e01be5f9
Enable all search.spec.ts tests, pull the sqs CouchDB image in CI. 2024-04-09 16:48:54 +01:00
mike12345567 8880920c97 Remove the test container logs. 2024-04-09 15:22:02 +01:00
Sam Rose 79184e70af
Remove CONTAINER_NAMESPACE, it wasn't the solution. 2024-04-03 12:32:29 +01:00
Sam Rose 04aa53c306
Trying with 8 workers. 2024-04-03 12:22:11 +01:00
Sam Rose dda0d1fb5b
Lock globalSetup to prevent multiple containers starting. 2024-04-03 12:06:49 +01:00
Sam Rose c764b0f22e
Testcontainer debug logging in test-libraries. 2024-04-03 11:55:38 +01:00
Sam Rose c31614a582
Give test-libraries its own container namespace, give packages/server/scripts/test.sh some new params in the larger runners. 2024-04-03 11:45:41 +01:00
Sam Rose 8cffdeda56
Re-use containers and create namespaces for each test. 2024-04-03 11:33:39 +01:00
Sam Rose dbccfd115b
Update CI workflow to use new larger runners. 2024-04-03 11:16:20 +01:00
Sam Rose e3fbce25fa
Merge branch 'master' of github.com:budibase/budibase into reuse-containers 2024-04-03 11:15:11 +01:00
Martin McKeaveney 6b1829a7fc remove QA core 2024-04-02 17:24:30 +01:00
Sam Rose 90cfdd661d
Rework how we connect to containers. 2024-03-28 17:36:26 +00:00
Sam Rose f43f03a3b4
Use new larger runners. 2024-03-28 10:31:28 +00:00
Sam Rose 29a928eb09
Turn off some expensive options on the disk free up. 2024-03-27 17:51:19 +00:00
Sam Rose d7f112dc95
Free up space in the server tests run. 2024-03-27 17:47:03 +00:00
mike12345567 84f87c4a48 Updating CI. 2024-03-27 17:00:56 +00:00
Adria Navarro 5b55b9f569
Merge branch 'master' into ci/ignore-merge-commits-on-submodule-checks 2024-03-27 15:40:15 +01:00
mike12345567 e4d2ac4fc2 Changing build back. 2024-03-27 14:25:14 +00:00
mike12345567 2427936b70 Build in CI in two steps, one for account portal and one for OSS/monorepo. 2024-03-27 12:59:29 +00:00
mike12345567 36fa7b75de Removing yarn version set - made no difference. 2024-03-27 12:24:03 +00:00
mike12345567 e36ec14163 Use yarn 1.22.19 across all CI steps. 2024-03-27 12:05:44 +00:00
mike12345567 4fa98f17d2 Different way to set yarn version. 2024-03-27 11:55:22 +00:00
mike12345567 1e7608a790 Trying yarn 1.22.19. 2024-03-27 11:46:45 +00:00
Adria Navarro 1ed687f6c4 Fix checks 2024-03-27 12:37:07 +01:00
Adria Navarro 89d9b787df Rename 2024-03-27 12:26:10 +01:00
Adria Navarro c255c70954 cd 2024-03-27 12:25:37 +01:00
Adria Navarro 4fb6217730 Fix checks 2024-03-27 12:24:16 +01:00
Adria Navarro 02e2d26985 Fix 2024-03-27 12:20:07 +01:00
Adria Navarro 5939a3f4f1 Ignore merge conflicts on pro submodule checks 2024-03-27 12:15:30 +01:00
Adria Navarro f1dfc16e1c Fix 2024-03-27 11:44:32 +01:00
Adria Navarro d3fdf4add8 Runs checks only if you changed it 2024-03-27 11:37:13 +01:00
Sam Rose 4a080e7069
Pull newer version of ryuk. 2024-03-25 17:12:40 +00:00
Sam Rose 44b448f3e1
Also pull couchdb 2024-03-25 11:52:01 +00:00
Sam Rose 79d1b22cae
Pull images separately from tests, enable testcontainers debug logs. 2024-03-25 11:00:13 +00:00
Adria Navarro 056be40011 Remove pro step 2024-03-15 14:28:21 +01:00
Adria Navarro 8699ebdf59 Updating actions/github-script to v7 2024-01-25 09:55:28 +01:00
Adria Navarro df3468d98d Update actions/setup-node action to v4 2024-01-25 09:17:17 +01:00
Adria Navarro 692dcaa746 Update github checkout action to v4 2024-01-25 09:15:37 +01:00
Adria Navarro a9b6bd4e5a Update CI node version 2023-12-22 15:01:21 +01:00
Sam Rose 70e5b1c551
Run helm lint during CI checks. 2023-12-20 10:22:50 +00:00
Adria Navarro a855b289a2 Don't check submodule refs for oss references 2023-12-18 09:47:26 +01:00
Adria Navarro 5bef8fc607 Remove develop references 2023-12-11 15:25:57 +01:00
Adria Navarro 9c9f45436f Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-12-04 09:30:00 +01:00
mike12345567 14021f83e9 Removing codecov upload during Budibase CI/on PRs, right now this isn't much use due to the NX caching - if we wish to have accurate code coverage reports we will need to run a separate job periodically to check coverage by running the whole suite, with no caching. 2023-11-29 14:49:55 +00:00
Adria Navarro e7bcabf1d2 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-27 20:48:32 +01:00
Adria Navarro c41e339d9d Attempt 2023-11-17 18:49:41 +01:00
Adria Navarro 68a5d1a09d Run oss checks 2023-11-17 18:44:06 +01:00
Adria Navarro c5930ec0b6 Revert fixing oss contributor 2023-11-17 18:23:31 +01:00
Adria Navarro f4c20b864d Fix integration test for OSS 2023-11-17 18:18:05 +01:00
Adria Navarro bed1b3d330 Test oss 2023-11-17 18:01:49 +01:00
Adria Navarro 347b6ccd4e Fix yarn version 2023-11-17 17:44:50 +01:00
Adria Navarro 52f2e5633c Fixes 2023-11-17 17:41:07 +01:00
Adria Navarro e78a68fb03 Fix 2023-11-17 17:35:26 +01:00
Adria Navarro bdc297d4ec Fix 2023-11-17 17:29:13 +01:00
Adria Navarro 1641b5a18e Fix condition 2023-11-17 17:16:36 +01:00
Adria Navarro 40ff3b88af Conditional cache 2023-11-17 17:15:54 +01:00
Adria Navarro 44c436c25b Unify checkouts 2023-11-17 17:08:41 +01:00
Adria Navarro 5489a25fab Lint action 2023-11-17 16:59:09 +01:00
Adria Navarro 6abb1b5f70 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-10-27 10:57:07 +02:00
Adria Navarro 2d1e01998a Use nx affected on PRs 2023-10-20 15:16:48 +02:00
Adria Navarro 1b3ba9a402 Don't use nx cloud on ci 2023-10-20 13:32:54 +02:00
Adria Navarro 38144aa15a Clean scripts 2023-10-19 11:08:56 +02:00
Adria Navarro b9f77ba5e3 Check account portal submodule 2023-10-18 10:49:15 +02:00
Martin McKeaveney f2dbb4106d update CI job to remove references to develop 2023-10-16 11:04:33 +01:00
Adria Navarro 555544b1b5 Merge branch 'master' into feature/multi-user-type-column 2023-10-11 12:01:52 +02:00
Adria Navarro cfa5f84cf1 Removing unnecessary easimon/maximize-build-space 2023-10-11 11:39:45 +02:00
Adria Navarro 31203c52c5 Use nx cloud write token 2023-10-11 11:38:47 +02:00
mike12345567 6c2eb69395 Correcting syntax. 2023-10-10 11:58:30 +01:00
mike12345567 cd5d438a96 Quick fix. 2023-10-10 11:35:07 +01:00
mike12345567 4b73f636fc Updating CI to only check pro when going to base branch. 2023-10-10 11:34:14 +01:00
Adria Navarro f538b55110 Split test worker and server 2023-09-26 18:06:52 +02:00
mike12345567 c466f35a98 Found some discussion of testcontainers being problematic when nearly out of disk space, we have seen issues with the default Github runners as they have extremely limited disk space, this should help a bit removing android and dotnet, two pieces of functionality we will never need. 2023-09-14 14:24:59 +01:00
mike12345567 25287173e2 Switching to fetch-depth 0. 2023-09-07 10:59:29 +01:00
mike12345567 f17a0acb17 Better logging. 2023-09-07 10:48:08 +01:00
mike12345567 ef9c0f7f04 Pure git fetch for checking pro ref. 2023-09-07 10:46:02 +01:00
mike12345567 3fb67ffe4f Updating pro reference checking to work for master branch. 2023-09-07 10:42:07 +01:00
Adria Navarro 201eae39f3 Fix build issue with integration tests when running on forks 2023-08-21 13:56:33 +03:00
mike12345567 7110351bdc Revert "revert develop into master"
This reverts commit fd099658a0.
2023-08-18 14:33:21 +01:00
Martin McKeaveney fd099658a0 revert develop into master 2023-08-17 10:28:15 +01:00
Adria Navarro 393bdecd0d Check:types using affected 2023-08-10 17:34:51 +03:00
Adria Navarro 5ff26ab2da Do not build using affected 2023-08-10 17:33:31 +03:00
Adria Navarro fb4b439f7b Fix ifs 2023-08-10 11:10:47 +03:00
Adria Navarro 1c6b17ee32 Use affected only on PRs, excluding master 2023-08-09 18:02:45 +03:00
Adria Navarro ee2f3e3157 Fix build 2023-08-08 12:39:40 +03:00
Adria Navarro fc6472c0cc Prefix 2023-08-08 12:31:46 +03:00
Adria Navarro 903b1eac09 Fetch-depth 2023-08-08 12:27:14 +03:00
Adria Navarro 62bb5bb4ff Fetch only required branch 2023-08-08 12:14:22 +03:00
Adria Navarro 5eb49fbb29 Fetch remote refs 2023-08-08 12:08:39 +03:00
Adria Navarro 987ee1b8b2 Prefix NX_BASE_BRANCH 2023-08-08 11:58:29 +03:00
Adria Navarro 49bc467eb9 Prefix env 2023-08-08 11:48:16 +03:00