Michael Drury
8129954f49
Updating env in budibase ci workflow.
2023-06-01 15:07:17 +01:00
Michael Drury
74b4f66adc
Trying a different approach to solving token replacement.
2023-06-01 15:04:50 +01:00
Michael Drury
1b0f8f2b9e
Revert "There has been an issue with open source contributors being able to perform CI runs for their PRs - this is related to the addition of the pro checkout/submodule recursion in a recent update. Changing it to not use the contributors personal access token, but to instead use the github access token so that it can always be checked out and tested again the specified pro version."
...
This reverts commit ec67b162b8
.
2023-06-01 15:01:57 +01:00
Michael Drury
ec67b162b8
There has been an issue with open source contributors being able to perform CI runs for their PRs - this is related to the addition of the pro checkout/submodule recursion in a recent update. Changing it to not use the contributors personal access token, but to instead use the github access token so that it can always be checked out and tested again the specified pro version.
2023-06-01 14:10:07 +01:00
Adria Navarro
489ca561b7
Check types
2023-05-26 13:54:10 +02:00
Adria Navarro
c3301e393e
Optimise nx dependencies
2023-05-23 23:11:26 +02:00
Adria Navarro
8b912dc8ed
Build all
2023-05-23 11:46:20 +02:00
Adria Navarro
931458094b
Rename
2023-05-23 11:43:57 +02:00
Adria Navarro
fe1d6e0dcc
Renames
2023-05-23 09:30:35 +02:00
Adria Navarro
a1d47aea3e
Split
2023-05-22 16:53:05 +02:00
Adria Navarro
0b107f1038
Split pro
2023-05-22 16:38:36 +02:00
Adria Navarro
4d4e95e69e
Split tests between apps and packages
2023-05-22 16:30:23 +02:00
Adria Navarro
ead9c5b00c
Build type-checks dependencies
2023-05-22 14:50:15 +02:00
Adria Navarro
d2768db2a3
Fix build ordering issues
2023-05-22 13:51:07 +02:00
Adria Navarro
7e2ddcef29
Remove unnecessary builds
2023-05-19 17:39:38 +02:00
Adria Navarro
17e7044617
Fix build
2023-05-19 17:37:39 +02:00
Adria Navarro
986d4c4740
Merge branch 'develop' into chore/esbuild
2023-05-19 17:26:47 +02:00
Adria Navarro
5ba9c75e70
Remove concurrency=1
2023-05-19 10:07:46 +02:00
Adria Navarro
d9b105a001
Don't run tests in parallel
2023-05-18 17:46:24 +02:00
Adria Navarro
de28670be1
Clean pipeline
2023-05-18 12:27:52 +02:00
Adria Navarro
75f7436aa6
Check types
2023-05-18 11:29:55 +02:00
Adria Navarro
ba00b8b47d
Add build share-core before test
2023-05-18 10:29:08 +02:00
Adria Navarro
61a7e4bbcf
Remove build step from test
2023-05-18 09:08:53 +02:00
Adria Navarro
e06d0c91f2
Update checkout action
2023-05-17 15:47:33 +02:00
Adria Navarro
60109ebcda
Fix manifest usage
2023-05-17 12:55:04 +02:00
Adria Navarro
08babf719e
Fix build deps
2023-05-17 12:41:26 +02:00
Adria Navarro
f33f7b1143
Tidy pipelines
2023-05-17 11:59:14 +02:00
Adria Navarro
8795bba6e0
Build all on integration tests
2023-05-17 11:22:46 +02:00
Adria Navarro
3e238f3e2f
Build string templates before tests
2023-05-17 11:17:50 +02:00
Adria Navarro
aa46f5a969
Clean unnecessary steps
2023-05-17 11:06:32 +02:00
Adria Navarro
7634b5ec11
Cache setup-node
2023-05-17 11:04:46 +02:00
Adria Navarro
d1ad7551dc
Build before pro test
2023-05-05 14:14:33 +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
adrinr
98b372965c
Merge branch 'develop' into chore/pro_as_submodule
2023-04-19 10:22:48 +01:00
Gerard Burns
d36cd3b1f8
Builder Unit Test PoC ( #10173 )
...
* wip
* wip
2023-04-18 14:37:29 +01:00
adrinr
d16bf6b149
Split test-pro from test
2023-04-18 12:27:12 +01:00
adrinr
96a2c52054
Add more dev info
2023-04-18 12:18:39 +01:00
adrinr
90506265ab
Back to the working version
2023-04-18 12:07:09 +01:00
adrinr
cedadb6c00
Try remote update
2023-04-18 12:03:34 +01:00
adrinr
eb2d3c8c29
Fetch depth
2023-04-18 12:01:34 +01:00
adrinr
2e1231b6e7
Fetch origin
2023-04-18 11:57:12 +01:00
adrinr
767f9ae792
Test
2023-04-18 11:53:13 +01:00
adrinr
86efe11dd8
Remove logs
2023-04-18 11:52:03 +01:00
adrinr
f3effc4b9b
More logs
2023-04-18 11:50:15 +01:00
adrinr
291908dde0
Next
2023-04-18 11:32:02 +01:00
adrinr
38a7c96d77
Log branches
2023-04-18 11:28:19 +01:00
adrinr
e5411277fd
Fetch all branches
2023-04-18 11:25:33 +01:00
adrinr
3b3e1f5247
Try
2023-04-18 11:24:14 +01:00
adrinr
2916fbe5e4
Use recursive
2023-04-18 11:21:35 +01:00
adrinr
46e76ea0b5
Add fetch-depth 0 back
2023-04-18 11:19:02 +01:00
adrinr
2fa60ccf54
Extract
2023-04-18 11:18:06 +01:00
adrinr
00698d48d6
Use current sha
2023-04-18 11:17:12 +01:00
adrinr
a6af18daae
Test if fetch depth 2 works
2023-04-18 11:15:25 +01:00
adrinr
e89a4a366d
Working! Branch pointing to develop
2023-04-18 11:07:20 +01:00
adrinr
df0079f1f5
Add origin
2023-04-18 11:05:40 +01:00
adrinr
773ae58d9c
Attempt with fetch
2023-04-18 11:00:46 +01:00
adrinr
9fceb6371d
Next attempt
2023-04-18 10:57:38 +01:00
adrinr
67fc09e256
Copy
2023-04-18 10:52:38 +01:00
adrinr
5d24a25dca
Remove origin from branch
2023-04-18 10:44:26 +01:00
adrinr
bef3ed7ced
Log less
2023-04-18 10:19:11 +01:00
adrinr
e39dd1324d
Fetch history
2023-04-18 10:14:14 +01:00
adrinr
fc5a5f92fa
Logging log
2023-04-18 10:09:11 +01:00
adrinr
187c64d351
Logs
2023-04-17 21:37:20 +01:00
adrinr
84a9e41efe
Try
2023-04-17 21:32:12 +01:00
adrinr
08ba41c5aa
..
2023-04-17 21:05:41 +01:00
adrinr
edce4fc4ed
More logs
2023-04-17 21:00:16 +01:00
adrinr
5215f4d400
Add git fetch
2023-04-17 20:56:03 +01:00
adrinr
52a6c872c2
Git log
2023-04-17 20:53:45 +01:00
adrinr
dfc58cff00
Attempt 2
2023-04-17 20:51:52 +01:00
adrinr
aeb28b3366
Next
2023-04-17 20:50:49 +01:00
adrinr
8374974ecd
Next
2023-04-17 20:49:48 +01:00
adrinr
9df022c8bf
Fix
2023-04-17 20:48:26 +01:00
adrinr
467842c84c
Fix
2023-04-17 20:45:30 +01:00
adrinr
3905c3af47
Attempt 1000
2023-04-17 20:44:29 +01:00
adrinr
81929802e1
Clean actions
2023-04-17 20:30:06 +01:00
adrinr
58330bba92
Use ref
2023-04-17 20:26:03 +01:00
adrinr
6dc40fca6f
Update var
2023-04-17 20:23:23 +01:00
adrinr
cdcbc9ec78
Try using branch name
2023-04-17 20:22:07 +01:00
adrinr
9c28413274
Attempt
2023-04-17 20:20:31 +01:00
adrinr
4d3a93b1de
Log
2023-04-17 20:10:02 +01:00
adrinr
2bbe4360bf
Attempt 55
2023-04-17 20:08:53 +01:00
adrinr
0972b481fe
Fix
2023-04-17 20:04:27 +01:00
adrinr
061ec2eb2d
Fix
2023-04-17 20:02:57 +01:00
adrinr
307587c982
Fix action
2023-04-17 20:01:20 +01:00
adrinr
03a5eef593
Fix action
2023-04-17 19:59:01 +01:00
adrinr
0590ae8b80
Add token
2023-04-17 19:47:31 +01:00
adrinr
0be32afbc7
Add submodule check
2023-04-17 19:46:13 +01:00
adrinr
cc64539981
Remove test pro
2023-04-12 10:50:10 +01:00
adrinr
120b27ae20
Add token
2023-04-12 10:35:58 +01:00
adrinr
4e9a8fd7d2
Pull submodules on actions
2023-04-12 10:27:10 +01:00
adrinr
7d792e22bd
Remove install pro in pipelines
2023-04-11 17:16:04 +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
Rory Powell
457262b0b4
Remove integration test in ci. The CI runs currently run against the deprecated release env and don't run against the live code
2023-03-31 22:37:54 +01:00
Rory Powell
74995381f4
Remove client build in CI
2023-03-31 12:30:20 +01:00
Michael Drury
772a732194
Making sure client is built, before running server tests.
2023-03-28 01:01:01 +01:00
Michael Drury
972897faf7
Splitting server tests out to run separately to main lerna thread.
2023-03-28 00:33:46 +01:00
Michael Drury
b0d3e79dd4
Removing files from coverage upload to see if it correctly resolves all coverage automatically.
2023-03-27 23:52:45 +01:00
Michael Drury
878d0f6dab
Updating to codecov-action v3 as v1 deprecated.
2023-03-27 22:55:57 +01:00
Michael Drury
2e8483152f
Adding back backend-core and worker coverage.
2023-03-27 22:52:01 +01:00
Michael Drury
71e4ab6215
Testing simplifying coverage (fix server issue).
2023-03-27 22:32:23 +01:00
Rory Powell
60a4d46fd3
Break out pro tests into their own ci job
2023-02-27 15:55:46 +00:00
Rory Powell
fd085847c3
Remove temporary ci branch
2023-02-27 13:53:10 +00:00
Rory Powell
2c46109e7d
Enforceable SSO ( #9787 )
...
* Add ENFORCEABLE_SSO feature flag
* First draft of enforce sso configuration / show single sign on url
* Reading and writing isSSOEnforced + integration with login page
* Enable CI + lint
* Set correct base branch for CI
* Test fix for expected string changed
* Use tenant aware platform url as SSO link
* Bring in latest pro changes
* Lint
* Add useEnforceableSSO mock helper function
* Update configs.spec.ts with coverage for public settings
* Update users.spec.ts with additional tests for isPreventPasswordActions
* Lint
* Update refresh OAuthToken to use correct enum and add case statement
2023-02-27 13:42:51 +00:00
Rory Powell
940de8b6a0
Run CI steps in parallel ( #9760 )
...
* Parallel CI
* Add build to integration test
* Add checkout to top of each run
* Revert branch update for ci job
* Experiment with --runInBand for CI
* Fix intermittent backend-core migration test failure
* Fix hanging worker redis connection
* Update naming from reset to newTenant
2023-02-21 17:13:24 +00:00
Rory Powell
ac105bbe3a
Add worker and backend-core to codecov-action
2022-11-14 14:13:55 +00:00
Martin McKeaveney
886a90d1fd
only run in test mode if couch url is not passed
2022-09-26 10:40:37 +01:00
Martin McKeaveney
f0bcf606bc
turn off unit tests
2022-09-26 09:41:49 +01:00
Martin McKeaveney
e06afeb194
adding startup script for local
2022-09-25 23:43:37 +01:00
Martin McKeaveney
25ce82fa4b
using real couch in integration tests
2022-09-24 13:17:21 +01:00
Martin McKeaveney
d6c8527340
tidy up
2022-09-15 20:09:23 +01:00
Martin McKeaveney
bc090f5f9d
better tests and cleaner import for server
2022-09-15 19:51:11 +01:00
Martin McKeaveney
32be537023
make sure yarn gets run in qa-core
2022-09-06 09:08:49 +01:00
Martin McKeaveney
c3f15b5af2
QA Core repo, and Jest API tests running end to end
2022-09-05 18:28:53 +01:00
Martin McKeaveney
367cf37795
remove beta stuff and remove self-host banners
2022-07-11 11:08:56 +01:00
Martin McKeaveney
fddd124ac4
updating CI job to upload to correct dir
2022-07-01 00:33:01 +01:00
Martin McKeaveney
251520bcd1
adding types
2022-06-28 12:16:23 +01:00
Martin McKeaveney
de08fe0160
PR comments
2022-06-28 11:53:57 +01:00
Rory Powell
4584643ee3
Update debug command
2022-06-07 09:01:43 +01:00
Rory Powell
96e1703147
Add debug log level to lerna bootstrap
2022-06-07 08:55:32 +01:00
Rory Powell
2e7c7b7050
Add yarn cache clean to CI
2022-06-07 08:41:00 +01:00
Rory Powell
38f0e6447c
Add command to re-install yarn on CI to test issue
2022-06-07 08:37:41 +01:00
Martin McKeaveney
d15dfb83fc
new ui functionality working from S3 bucket
2022-06-06 23:30:36 +01:00
Rory Powell
b0b83ae5a0
Update workflows to use release instead of develop (temporarily)
2022-06-06 11:18:41 +01:00
Rory Powell
40d28238b9
Add workflow_dispatch to ci, release-develop and release (master)
2022-05-03 14:18:18 +01:00
Rory Powell
a9717f3b8f
Add workflow_dispatch to ci, release-develop and release
2022-05-03 13:27:22 +01:00
Rory Powell
9105c1cbdd
Add access token to top level env
2022-04-21 22:20:38 +01:00
Rory Powell
46155c8308
Add access token to env
2022-04-21 22:19:52 +01:00
Rory Powell
96de55bf4f
Update pro install scripts with branch handling
2022-04-21 22:12:57 +01:00
Rory Powell
381c23325a
Update pro install and release scripts
2022-04-21 21:55:16 +01:00
Rory Powell
14ffba2e12
Resolve current branch on release job
2022-04-20 16:21:05 +01:00
Rory Powell
74ac556e9e
Add pro release to release-develop
2022-04-20 16:11:06 +01:00
Rory Powell
bb4edf186e
Run setup in pro directory
2022-04-13 22:31:51 +01:00
Rory Powell
197891078a
Remove CI check from dependency link script
2022-04-13 22:10:58 +01:00
Rory Powell
db23ba2dad
Change how branch is determined
2022-04-13 22:04:28 +01:00
Rory Powell
bdf1fba544
Change checkout directory
2022-04-13 21:54:56 +01:00
Rory Powell
3639525413
Link bb and pro branch checkout
2022-04-13 21:42:09 +01:00
Rory Powell
bd5237c83e
Add token to pro checkout
2022-04-13 21:27:52 +01:00
Rory Powell
d87714107d
Add checkout pro step to budibase-ci
2022-04-13 21:13:01 +01:00
Martin McKeaveney
441ddc1c31
use cypress CI action as runner
2022-02-17 21:10:19 +01:00
Martin McKeaveney
42ea628733
preprod helm setup
2021-12-21 12:06:31 +00:00
mike12345567
b886bbfc47
Upgrading node version to 14 for some packages.
2021-11-17 19:39:08 +00:00
Rory Powell
fbbd070113
Remove docker push from main CI job in favour of release-develop
2021-07-23 16:17:05 +01:00
mike12345567
4ea6c6cf01
Fixing workflow ordering for yarn lint and bootstrap.
2021-06-25 15:54:41 +01:00
Martin McKeaveney
9deeef2d9e
add develop tag and update docker push script
2021-06-21 16:25:12 +01:00
mike12345567
4e97eea3c0
Fixing staging build so it only occurs on develop, master doesn't need it.
2021-06-07 18:04:16 +01:00
Martin McKeaveney
bb9d209a36
pipeline work
2021-05-20 12:38:12 +01:00
Martin McKeaveney
2685d46266
Update budibase_ci.yml
2021-03-15 12:12:19 +00:00
Martin McKeaveney
d4bbb731fc
codecov GH action
2021-03-02 18:22:35 +00:00
Martin McKeaveney
58dde5f168
Update budibase_ci.yml
2021-02-12 10:49:54 +00:00