Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

May Release #10774

Merged
merged 902 commits into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
902 commits
Select commit Hold shift + click to select a range
f7da0b3
Standardise usage of user avatars and colours across the entire platform
aptkingston May 26, 2023
3f3ee42
Update ref
adrinr May 26, 2023
0bfc707
Merge remote-tracking branch 'origin/develop' into feature/sync-autom…
PClmnt May 26, 2023
0f77020
Update ref
adrinr May 26, 2023
554a94d
Merge pull request #10695 from Budibase/grid-feedback
aptkingston May 26, 2023
1ff2b5c
Merge branch 'develop' of github.com:Budibase/budibase into data-sect…
aptkingston May 26, 2023
f27fcec
Bump version to 2.6.19-alpha.13
May 26, 2023
5a8f9d7
Merge pull request #10680 from Budibase/budi-6933-verify-data-source-…
adrinr May 26, 2023
db1488d
Update ref
adrinr May 26, 2023
881707d
Merge pull request #10710 from Budibase/chore/esbuild_pro
adrinr May 26, 2023
9b82738
Point pro to dev
adrinr May 26, 2023
719d0e1
Bump version to 2.6.19-alpha.14
May 26, 2023
2c841ae
Merge commit
deanhannigan May 26, 2023
65b6bbc
Reverted eval call to direct. Indirect appears to cause issues in cloud
deanhannigan May 26, 2023
21c9153
Point pro to dev
adrinr May 26, 2023
73c0df2
Bump version to 2.6.19-alpha.15
May 26, 2023
0f20115
Lint
aptkingston May 26, 2023
5a2801b
Close context menu on escape keypress
aptkingston May 26, 2023
ed6368b
update feature array to be an object
PClmnt May 26, 2023
7a64b11
update pro
PClmnt May 26, 2023
322c7b3
Handle users tables edges cases when working with grids
aptkingston May 26, 2023
5877af6
Merge pull request #10713 from Budibase/fix/internal-view-eval-fn
deanhannigan May 26, 2023
f57dec4
Bump version to 2.6.19-alpha.16
May 26, 2023
7370a27
Update pro ref
adrinr May 26, 2023
967c393
Bump version to 2.6.19-alpha.17
May 26, 2023
9272daa
Build worker using build script
adrinr May 26, 2023
8b8b650
Check types
adrinr May 26, 2023
70f9033
Remove nx/esbuild refs
adrinr May 26, 2023
c10589c
Fix dockerfile
adrinr May 26, 2023
90b4e59
Fix dockerfile
adrinr May 26, 2023
d1c0e11
Merge pull request #10714 from Budibase/build_worker_using_esbuild_sc…
adrinr May 26, 2023
22bccac
Bump version to 2.6.19-alpha.18
May 26, 2023
1eb772c
fix reactivity bug with synchronous param
PClmnt May 26, 2023
56928d0
Adding environment variable file for dev:docker command.
mike12345567 May 26, 2023
58ba798
Merge branch 'build_worker_using_esbuild_script' of github.com:Budiba…
mike12345567 May 26, 2023
29ae67c
Merge branch 'develop' of github.com:Budibase/budibase into build_wor…
mike12345567 May 26, 2023
b0113c8
Reset pro dependencies before the npm push
adrinr May 26, 2023
628f806
Merge pull request #10716 from Budibase/fix/dev-docker-env-file
mike12345567 May 26, 2023
2ba3452
Bump version to 2.6.19-alpha.19
May 26, 2023
3d8ce9d
Merge pull request #10717 from Budibase/fix/pro_os_development
adrinr May 26, 2023
033fe23
Bump version to 2.6.19-alpha.20
May 26, 2023
11fea34
one more feature check for safety on the trigger
PClmnt May 26, 2023
1ccd22c
Latest version of pro.
mike12345567 May 26, 2023
39a3bcb
Merge branch 'feature/sync-automations' of github.com:Budibase/budiba…
mike12345567 May 26, 2023
51379a7
Merge branch 'develop' of github.com:Budibase/budibase into feature/s…
mike12345567 May 26, 2023
9e047ca
fix broken test
PClmnt May 26, 2023
70208ef
Merge branch 'feature/sync-automations' of github.com:Budibase/budiba…
PClmnt May 26, 2023
6e5d2a3
Publish to docker before pushing to npm
adrinr May 26, 2023
f40c6fd
Merge pull request #10568 from Budibase/feature/sync-automations
PClmnt May 26, 2023
30c966d
Bump version to 2.6.19-alpha.21
May 26, 2023
dd80544
Merge remote-tracking branch 'origin/develop' into feature/binding-v2…
deanhannigan May 28, 2023
3543504
Update local versions to 0.0.0
adrinr May 29, 2023
8f36168
Merge pull request #10726 from Budibase/chore/version_0.0.0
adrinr May 29, 2023
43a133a
Bump version to 2.6.19-alpha.22
May 29, 2023
0212e90
Merge pull request #10719 from Budibase/pipelines/publish_docker_befo…
adrinr May 29, 2023
8e4b180
Bump version to 2.6.19-alpha.23
May 29, 2023
147d0a7
Revert "Publish to docker before pushing to npm"
adrinr May 29, 2023
9ffbb5d
Merge pull request #10728 from Budibase/revert-10719-pipelines/publis…
adrinr May 29, 2023
c6fe7eb
Bump version to 2.6.19-alpha.24
May 29, 2023
1631f28
Use resolutions for pro
adrinr May 29, 2023
b5a2729
Remove custom resetProDependencies
adrinr May 29, 2023
57fece4
Merge pull request #10729 from Budibase/fix/package_resolutions
adrinr May 29, 2023
b02ec6f
Bump version to 2.6.19-alpha.25
May 29, 2023
6bbf97f
Remove resolutions when syncing deps
adrinr May 29, 2023
057ada8
Bump version to 2.6.19-alpha.26
May 29, 2023
2322696
Refactoring and some styling updates
deanhannigan May 29, 2023
b892bc5
Merge remote-tracking branch 'origin/develop' into feature/binding-v2…
deanhannigan May 29, 2023
1c193e6
Minor fix for ranking
deanhannigan May 29, 2023
0e3368a
Merge pull request #10712 from Budibase/data-section-multidev
aptkingston May 30, 2023
226305e
Bump version to 2.6.19-alpha.27
May 30, 2023
fe57538
Removed console log
deanhannigan May 30, 2023
b05fe1d
Merge branch 'develop' into test/qa-20-Add-relationship-tests-to-data…
May 30, 2023
af98fee
Linting
deanhannigan May 30, 2023
a7f81c0
Lint fixes
deanhannigan May 30, 2023
38d7277
Disable HTTP polling for websockets and rely on websocket connection …
aptkingston May 30, 2023
90f12ed
Fix overflow issue in apps list
aptkingston May 30, 2023
66c6202
Remove unused code
aptkingston May 30, 2023
e64eed4
Refactor client lib websocket usage to match other usages
aptkingston May 30, 2023
1ebdec4
Merge pull request #10734 from Budibase/disable-websocket-http-polling
aptkingston May 30, 2023
5a73ba6
Bump version to 2.6.19-alpha.28
May 30, 2023
cc05ddc
Lint
aptkingston May 30, 2023
e2e306f
Bump version to 2.6.19-alpha.29
May 30, 2023
411d8df
Post Sign Up Onboarding Changes (#10701)
Ghrehh May 30, 2023
abe26ab
Bump version to 2.6.19-alpha.30
May 30, 2023
d6a3869
PR updates and fix for mode switch issue
deanhannigan May 30, 2023
109665c
Fix performance issue with looping and context
PClmnt May 30, 2023
60af3df
update let to const
PClmnt May 30, 2023
8614f62
Merge branch 'develop' into test/qa-20-Add-relationship-tests-to-data…
May 30, 2023
ddf298d
remove log
PClmnt May 30, 2023
91b71a8
PR Feedback filtering by label and section name. Disable default filt…
deanhannigan May 30, 2023
b64a295
Add teardown logic for multitenancy
May 30, 2023
d616061
Automation investigation logging + max doc size fix for automation log
Rory-Powell May 25, 2023
4cb5fc7
Merge branch 'develop' into fix/looping-performance-bug
Rory-Powell May 30, 2023
cc1230b
Merge pull request #10738 from Budibase/automation-investigation
Rory-Powell May 30, 2023
1b55e77
lint
PClmnt May 30, 2023
748064a
Merge branch 'fix/looping-performance-bug' of github.com:Budibase/bud…
PClmnt May 30, 2023
7c1aee6
Fix for debugging with webstorm the old way (if desired), updating th…
mike12345567 May 30, 2023
259751e
Replace any with Table
May 30, 2023
bf2968f
Remove temp command to only run datasource tests
May 30, 2023
a857d1d
Fix assertion
May 30, 2023
2739a4e
Lint
Rory-Powell May 30, 2023
512d6c9
Remove debug log
Rory-Powell May 30, 2023
d29c489
Merge pull request #10737 from Budibase/fix/looping-performance-bug
Rory-Powell May 30, 2023
8567fcc
Bump version to 2.6.19-alpha.31
May 30, 2023
6b1dac5
Updating writethrough test to be aware of the double attempt locks.
mike12345567 May 30, 2023
855a8c7
Reverting try twice change to writethrough.
mike12345567 May 30, 2023
ac41777
Merge pull request #10635 from GitStartHQ/BUDIOSS-20
shogunpurple May 30, 2023
860ef34
Merge pull request #10496 from mslourens/fix/10400-use_trashcan_icon
shogunpurple May 30, 2023
893790c
Merge pull request #10740 from Budibase/test/qa-23-add-test-clean-up
May 30, 2023
46c2f39
Merge pull request #10739 from Budibase/fix/multi-dev-conflicts
mike12345567 May 30, 2023
2d54af3
Bump version to 2.6.19-alpha.32
May 30, 2023
78b56eb
remove logging
PClmnt May 31, 2023
82ebf03
Store all socket users in redis to allow all server instances to be a…
aptkingston May 31, 2023
0022673
update log formatting
PClmnt May 31, 2023
d367800
Add back in functionality to select different redis DB's per client
aptkingston May 31, 2023
9b406dc
Merge remote-tracking branch 'origin/develop' into feature/binding-v2…
deanhannigan May 31, 2023
35bbec5
PR Feedback updates
deanhannigan May 31, 2023
050839e
add import for performance lib
PClmnt May 31, 2023
007e048
Linting
deanhannigan May 31, 2023
b45c984
Assign a new display column when deleting field (#10234)
melohagan May 31, 2023
e1ad92c
Merge pull request #10744 from Budibase/fix/looping-performance-bug
PClmnt May 31, 2023
0b349ba
Merge pull request #10678 from Budibase/dependabot/npm_and_yarn/socke…
shogunpurple May 31, 2023
41cbfa6
Merge pull request #10697 from Budibase/dependabot/npm_and_yarn/webpa…
shogunpurple May 31, 2023
b42fe0a
Bump version to 2.6.19-alpha.33
May 31, 2023
3a1dfff
Merge remote-tracking branch 'origin/develop' into feature/db-query-s…
deanhannigan May 31, 2023
b2e7b14
Revert "Assign a new display column when deleting field (#10234)"
aptkingston May 31, 2023
925318a
Update concurrency settings for release and prerelease
Rory-Powell May 31, 2023
2498e62
Merge pull request #10745 from Budibase/revert-10234-budi-1855-handli…
deanhannigan May 31, 2023
4b7b1cc
Merge remote-tracking branch 'origin/develop' into feature/db-query-s…
deanhannigan May 31, 2023
6101d85
Bump version to 2.6.19-alpha.34
May 31, 2023
c29463c
Merge remote-tracking branch 'origin/develop' into feature/db-query-s…
deanhannigan May 31, 2023
9ee07e9
Fix for deployment refresh in overiew section
deanhannigan May 31, 2023
2052ba6
Merge pull request #10748 from Budibase/chore/update-concurrency
Rory-Powell May 31, 2023
3a4b66b
Fully rewrite websocket redis integration to use individual keys per …
aptkingston May 31, 2023
09124df
Disable heartbead on client app socket
aptkingston May 31, 2023
cca3566
Remove logs
aptkingston May 31, 2023
c11d1d3
Bump version to 2.6.19-alpha.35
May 31, 2023
1fb2727
Added console log
deanhannigan May 31, 2023
ea0eafe
Merge pull request #10584 from Budibase/feature/db-query-save-prompt
deanhannigan May 31, 2023
26e25d8
Bump version to 2.6.19-alpha.36
May 31, 2023
18107d1
Ensure socket pruning due to redis TTL expiry works as expected
aptkingston May 31, 2023
4efa36f
Merge pull request #10752 from Budibase/fix/overview-deployments-upda…
deanhannigan May 31, 2023
5e81124
Bump version to 2.6.19-alpha.37
May 31, 2023
b74bc32
Merge pull request #10736 from Budibase/test/qa-20-Add-relationship-t…
May 31, 2023
9a82c1e
Lint
aptkingston May 31, 2023
1ea3e04
Disable redis select command in tests
aptkingston May 31, 2023
3767f3b
Merge branch 'develop' of github.com:Budibase/budibase into websocket…
aptkingston May 31, 2023
2cc4eda
Remove plural forms of enums and use TS enum rather than JS const
aptkingston May 31, 2023
68f166b
Updating datasource information endpoint to POST which allows sending…
mike12345567 May 31, 2023
9c48d34
Updating backend tests to actually utilise the redis container which …
mike12345567 May 31, 2023
24abc72
Merge pull request #10753 from Budibase/websocket-redis-integration
aptkingston May 31, 2023
af3a7be
Bump version to 2.6.19-alpha.38
May 31, 2023
dceb663
Merge branch 'develop' of github.com:Budibase/budibase into fix/datas…
mike12345567 May 31, 2023
32ae6e5
Fixing lint issue.
mike12345567 May 31, 2023
a892f18
Fixing merge conflict.
mike12345567 May 31, 2023
212f652
Removing checks around websockets as redis properly available in test…
mike12345567 May 31, 2023
2730644
Increase tooltip max size and fix issue with overflow in app overview
aptkingston May 31, 2023
b71b3d5
Bump version to 2.6.19-alpha.39
May 31, 2023
ec290d1
PR Feedback fix
deanhannigan May 31, 2023
eeb3d22
Merge pull request #10732 from Budibase/feature/binding-v2-updates
deanhannigan May 31, 2023
7fe50ea
Merge branch 'develop' of github.com:Budibase/budibase into fix/datas…
mike12345567 May 31, 2023
0b46e7d
Reverting ioredis-mock removal for test cases - will come back to thi…
mike12345567 May 31, 2023
75beb9a
Adding ioredis-mock as an actual dependency for builds.
mike12345567 May 31, 2023
5380634
Update pro
Rory-Powell Jun 1, 2023
45f7edc
Reduced log level of parse array attempt
deanhannigan Jun 1, 2023
81f72b0
Moving ioredis-mock dependency back to dev dependency in backend-core.
mike12345567 Jun 1, 2023
3687af0
Pinning version of ioredis-mock.
mike12345567 Jun 1, 2023
3c11aad
Updating ioredis to latest version and removing typing library as no …
mike12345567 Jun 1, 2023
d7afa2d
Merge pull request #10758 from Budibase/fix/reduce-array-row-parse-lo…
deanhannigan Jun 1, 2023
27a2d1b
Bump version to 2.6.19-alpha.40
Jun 1, 2023
0a240db
Merge pull request #10757 from Budibase/chore/backoff-error-message
Rory-Powell Jun 1, 2023
96bab39
Bump version to 2.6.19-alpha.41
Jun 1, 2023
f172ed8
Fixing some redis type errors.
mike12345567 Jun 1, 2023
0b2d155
Minor fixes for bindings v2
deanhannigan Jun 1, 2023
258fd69
Adding a JSON parse incase the input is actually an array in the form…
mike12345567 Jun 1, 2023
37630ce
Merge pull request #10755 from Budibase/fix/datasource-info-endpoint
mike12345567 Jun 1, 2023
d07a177
Bump version to 2.6.19-alpha.42
Jun 1, 2023
6eb9228
There has been an issue with open source contributors being able to p…
mike12345567 Jun 1, 2023
302d870
Merge commit
deanhannigan Jun 1, 2023
a7106e2
Restored the default behaviour for tab switching when no switch check…
deanhannigan Jun 1, 2023
d3214f9
Tab switch default behaviour shifted to correct location
deanhannigan Jun 1, 2023
8c9acfc
Merge remote-tracking branch 'origin/develop' into fix/restore-tab-sw…
deanhannigan Jun 1, 2023
d5acc73
Revert "There has been an issue with open source contributors being a…
mike12345567 Jun 1, 2023
e9a1d77
Trying a different approach to solving token replacement.
mike12345567 Jun 1, 2023
741378e
Updating env in budibase ci workflow.
mike12345567 Jun 1, 2023
7fc2212
Merge pull request #10763 from Budibase/fix/restore-tab-switching-def…
deanhannigan Jun 1, 2023
916ba9e
Fixing a YAML error.
mike12345567 Jun 1, 2023
37558db
Bump version to 2.6.19-alpha.43
Jun 1, 2023
7c2eb46
Fixes to improve binding panel resizing
deanhannigan Jun 1, 2023
7f98679
Merge pull request #10761 from Budibase/fix/open-source-contribution-ci
mike12345567 Jun 1, 2023
35919ae
Bump version to 2.6.19-alpha.44
Jun 1, 2023
b78074b
Update websocket logic to ignore events trigger by API requests origi…
aptkingston Jun 1, 2023
73d149a
Small update to make sure that save/patch calls to the rows API (all …
mike12345567 Jun 1, 2023
96c7616
Remove manual refresh of row after creation
aptkingston Jun 2, 2023
d2493ad
Fix losing cell focus when another user makes changes while you're ad…
aptkingston Jun 2, 2023
b5dc583
Update builder socket to ignore own events, and ensure table creation…
aptkingston Jun 2, 2023
6472602
Merge remote-tracking branch 'origin/develop' into bindings-fixes
deanhannigan Jun 2, 2023
8f14d5c
UI colours updated
deanhannigan Jun 2, 2023
0b1112d
Removed the monospace font from the Text editor and replaced it with …
deanhannigan Jun 2, 2023
043f803
Updating mock redis to only import if it is needed.
mike12345567 Jun 2, 2023
324fe08
Changed the binding font to monospace per feedback
deanhannigan Jun 2, 2023
aa4fd6a
Merge pull request #10768 from Budibase/fix/ioredis-mock-issue
mike12345567 Jun 2, 2023
849334c
Bump version to 2.6.19-alpha.45
Jun 2, 2023
50d43dd
Updated the JS Scripting modal use the new editor
deanhannigan Jun 2, 2023
16ee3af
Linting
deanhannigan Jun 2, 2023
46cbe80
Merge pull request #10759 from Budibase/bindings-fixes
deanhannigan Jun 2, 2023
4a6e349
Bump version to 2.6.19-alpha.46
Jun 2, 2023
225eed9
Stop attempt at bundling ioredis-mock, only need to check at runtime.
mike12345567 Jun 2, 2023
2db710f
Merge pull request #10770 from Budibase/fix/ioredis-build-issue
mike12345567 Jun 2, 2023
483e540
Bump version to 2.6.19-alpha.47
Jun 2, 2023
bf24b2b
Always bundle pro
adrinr Jun 2, 2023
24fa52a
Fix JSON editor overflow row edit modal
aptkingston Jun 2, 2023
00c4c63
Ensue table schema change made via grids are properly synced with bac…
aptkingston Jun 2, 2023
e8ca1e6
Merge pull request #10772 from Budibase/chore/fix_os_contributor_expe…
adrinr Jun 2, 2023
bfce41d
Bump version to 2.6.19-alpha.48
Jun 2, 2023
0e1cdd9
Fix TS issue
aptkingston Jun 2, 2023
886ad20
Merge pull request #10775 from Budibase/collaboration-fixes
aptkingston Jun 2, 2023
1e8f053
Fixing issue with row deletion not returning the _id of the row which…
mike12345567 Jun 2, 2023
ac9cafa
Bump version to 2.6.19-alpha.49
Jun 2, 2023
8c6e781
Fixing googlesheets filtering by _id - there was an issue with the re…
mike12345567 Jun 2, 2023
4b2b32f
Ensure edit button in overview is never disabled as we don't use the …
aptkingston Jun 5, 2023
228e344
Increase padding around the grid
aptkingston Jun 5, 2023
2b4888f
Remove beta button from grid, add feedback button to data section lin…
aptkingston Jun 5, 2023
90559ff
Update position of floating buttons to be consistent
aptkingston Jun 5, 2023
30ac267
Fix error on SCIM page
aptkingston Jun 5, 2023
73fb301
Merge pull request #10781 from Budibase/cheeks-fixes
aptkingston Jun 5, 2023
28505f0
Bump version to 2.6.19-alpha.50
Jun 5, 2023
171b284
Merge branch 'develop' of github.com:Budibase/budibase into fix/googl…
mike12345567 Jun 5, 2023
e745cca
Fixing filtering plus pagination in googlesheets, the pagination prev…
mike12345567 Jun 5, 2023
86c9aa0
Merge pull request #10777 from Budibase/fix/google-sheets-issues
mike12345567 Jun 5, 2023
f9f4187
Bump version to 2.6.19-alpha.51
Jun 5, 2023
a352d85
Fix user avatar in audit logs page
aptkingston Jun 5, 2023
ce7d03f
Fix not being able to navigate away from the design section
aptkingston Jun 5, 2023
86d8aac
Remove log from websocket heartbeat
aptkingston Jun 5, 2023
6b7fe62
Lint
aptkingston Jun 5, 2023
e86193f
Merge pull request #10784 from Budibase/cheeks-fixes
aptkingston Jun 5, 2023
a96d8ac
Bump version to 2.6.19-alpha.52
Jun 5, 2023
877185c
Transfer lock to next oldest session when disconnecting from the builder
aptkingston Jun 5, 2023
881fb63
Add more optional chaining
aptkingston Jun 5, 2023
5d1344b
WIP logo url fixes
Rory-Powell Jun 5, 2023
a7784a4
Merge remote-tracking branch 'origin/develop' into fix/logo-urls
deanhannigan Jun 5, 2023
21db01c
Branding fixes
deanhannigan Jun 5, 2023
a5032f1
PR feedback
deanhannigan Jun 5, 2023
f2458c6
Merge pull request #10790 from Budibase/fix/logo-urls
deanhannigan Jun 5, 2023
321b6df
Bump version to 2.6.19-alpha.53
Jun 5, 2023
0b7ed57
Merge pull request #10789 from Budibase/collaboration-lock-transfer
shogunpurple Jun 5, 2023
265f301
Bump version to 2.6.19-alpha.54
Jun 5, 2023
168c95a
Merge branch 'master' into develop
Rory-Powell Jun 5, 2023
4b2c022
Update pro to develop
Rory-Powell Jun 5, 2023
d8171e7
Bump version to 2.6.24-alpha.0
Jun 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
131 changes: 91 additions & 40 deletions .github/workflows/budibase_ci.yml
Original file line number Diff line number Diff line change
@@ -1,98 +1,149 @@
name: Budibase CI

on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
- develop
pull_request:
- develop
pull_request:
branches:
- master
- develop
workflow_dispatch:
workflow_dispatch:

env:
BRANCH: ${{ github.event.pull_request.head.ref }}
BASE_BRANCH: ${{ github.event.pull_request.base.ref}}
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- run: yarn
- run: yarn lint
- uses: actions/checkout@v3
- name: Use Node.js 14.x
uses: actions/setup-node@v3
with:
node-version: 14.x
cache: "yarn"
- run: yarn
- run: yarn lint

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
- name: Use Node.js 14.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Install Pro
run: yarn install:pro $BRANCH $BASE_BRANCH
cache: "yarn"
- run: yarn
- run: yarn bootstrap
# Run build all the projects
- run: yarn build
# Check the types of the projects built via esbuild
- run: yarn check:types

test:
test-libraries:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
- name: Use Node.js 14.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Install Pro
run: yarn install:pro $BRANCH $BASE_BRANCH
cache: "yarn"
- run: yarn
- run: yarn bootstrap
- run: yarn build
- run: yarn test
- run: yarn test --ignore=@budibase/worker --ignore=@budibase/server --ignore=@budibase/pro
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
name: codecov-umbrella
verbose: true

test-services:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
- name: Use Node.js 14.x
uses: actions/setup-node@v3
with:
node-version: 14.x
cache: "yarn"
- run: yarn
- run: yarn test --scope=@budibase/worker --scope=@budibase/server
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN || github.token }} # not required for public repos
name: codecov-umbrella
verbose: true

test-pro:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
- name: Use Node.js 14.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Install Pro
run: yarn install:pro $BRANCH $BASE_BRANCH
cache: "yarn"
- run: yarn
- run: yarn bootstrap
- run: yarn test:pro
- run: yarn test --scope=@budibase/pro

integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
- name: Use Node.js 14.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Install Pro
run: yarn install:pro $BRANCH $BASE_BRANCH
- run: yarn && yarn bootstrap && yarn build
- run: |
cache: "yarn"
- run: yarn
- run: yarn build
- name: Run tests
run: |
cd qa-core
yarn setup
yarn test:ci
env:
BB_ADMIN_USER_EMAIL: admin
BB_ADMIN_USER_PASSWORD: admin

check-pro-submodule:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN || github.token }}
fetch-depth: 0
- name: Check submodule
run: |
cd packages/pro
git fetch
if ! git merge-base --is-ancestor $(git log -n 1 --pretty=format:%H) origin/develop; then
echo "Current commit has not been merged to develop"
echo "Refer to the pro repo to merge your changes: https://github.com/Budibase/budibase-pro/blob/develop/docs/getting_started.md"
exit 1
else
echo "All good, the submodule had been merged!"
fi
75 changes: 42 additions & 33 deletions .github/workflows/release-develop.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
name: Budibase Prerelease
concurrency: release-prerelease
concurrency:
group: release-prerelease
cancel-in-progress: false

on:
push:
branches:
- develop
paths:
- '.aws/**'
- '.github/**'
- 'charts/**'
- 'packages/**'
- 'scripts/**'
- 'package.json'
- 'yarn.lock'
- 'package.json'
- 'yarn.lock'
workflow_dispatch:
on:
push:
tags:
- v*-alpha.*
workflow_dispatch:

env:
# Posthog token used by ui at build time
Expand All @@ -24,43 +16,60 @@ env:
INTERCOM_TOKEN: ${{ secrets.INTERCOM_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
FEATURE_PREVIEW_URL: https://budirelease.live

jobs:
release-images:
runs-on: ubuntu-latest
runs-on: ubuntu-latest

steps:
- name: Fail if branch is not develop
if: github.ref != 'refs/heads/develop'
run: |
echo "Ref is not develop, you must run this job from develop."
exit 1
- uses: actions/checkout@v2
with:
submodules: true
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
fetch-depth: 0

- name: Fail if tag is not develop
run: |
if ! git merge-base --is-ancestor ${{ github.sha }} origin/develop; then
echo "Tag is not in develop"
exit 1
fi

- uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Install Pro
run: yarn install:pro develop

- run: yarn
- run: yarn bootstrap
- run: yarn build
- run: yarn install --frozen-lockfile
- name: Update versions
run: |
version=$(cat lerna.json \
| grep version \
| head -1 \
| awk -F: '{gsub(/"/,"",$2);gsub(/[[:space:]]*/,"",$2); print $2}' \
| sed 's/[",]//g')
echo "Setting version $version"
yarn lerna exec "yarn version --no-git-tag-version --new-version=$version"
echo "Updating dependencies"
node scripts/syncLocalDependencies.js $version
echo "Syncing yarn workspace"
yarn
- run: yarn build --configuration=production
- run: yarn build:sdk
# - run: yarn test

- name: Publish budibase packages to NPM
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
run: |
# setup the username and email.
git config --global user.name "Budibase Staging Release Bot"
git config --global user.email "<>"
git submodule foreach git commit -a -m 'Release process'
git commit -a -m 'Release process'
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} >> .npmrc
yarn release:develop

- name: Build/release Docker images
run: |
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD
yarn build:docker:develop
env:
Expand All @@ -84,7 +93,7 @@ jobs:
git config user.name "Budibase Helm Bot"
git config user.email "<>"
git reset --hard
git pull
git fetch
mkdir sync
echo "Packaging chart to sync dir"
helm package charts/budibase --version 0.0.0-develop --app-version develop --destination sync
Expand Down
Loading