Commit Graph

635 Commits

Author SHA1 Message Date
Adria Navarro ae40d590f8 Revert "Publish to docker before pushing to npm" 2023-05-29 11:21:50 +01:00
Adria Navarro bc791c613a Publish to docker before pushing to npm 2023-05-26 18:19:54 +02:00
Adria Navarro 844293cf98 Reset pro dependencies before the npm push 2023-05-26 14:38:41 +02:00
Adria Navarro 489ca561b7 Check types 2023-05-26 13:54:10 +02:00
Adria Navarro 9519ff6535 Froze lockfile on release 2023-05-25 14:27:18 +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 73372d5f5d Optimise builds 2023-05-22 12:42:14 +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 735f3254de Rename pipeline 2023-05-05 16:24:00 +01:00
Adria Navarro 4be7a4cf77 Adding logs 2023-05-05 15:33:50 +01:00
Adria Navarro f31067d50e Don't boostrap on release 2023-05-05 15:19:20 +01:00
Adria Navarro 18a9745a73 Fetch-depth 0 on release 2023-05-05 14:57:29 +01:00
Adria Navarro b6699aed1b Install deps 2023-05-05 14:50:49 +01:00
Adria Navarro 699774536a Install semver 2023-05-05 14:49:05 +01:00
Adria Navarro 07e7d83a52 Fix tagging 2023-05-05 14:46:40 +01:00
Adria Navarro 0414856089 Install semver 2023-05-05 14:42:48 +01:00
Adria Navarro d1ad7551dc Build before pro test 2023-05-05 14:14:33 +01:00
Adria Navarro b63f593b17 Remove tag input 2023-05-05 14:07:05 +01:00
Adria Navarro 09462974e1 Use semver 2023-05-05 13:23:14 +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 19b568891e Merge branch 'develop' of github.com:Budibase/budibase into chore/npmless-builds 2023-04-25 17:44:17 +01:00
Adria Navarro d41b430aff Merge pull request #10309 from Budibase/chore/remove_unnecessary_second_build_in_pipeline
Chore - Remove unnecessary second build in pipeline
2023-04-24 21:05:01 +02:00
Adria Navarro db6a9f97d7 Use tags 2023-04-24 20:01:59 +01:00
adrinr 510544baeb Remove trigger 2023-04-24 20:01:59 +01:00
adrinr d515d89818 Remove trigger 2023-04-24 20:01:59 +01:00
adrinr 02234f32c6 Undo trigger 2023-04-24 20:01:59 +01:00
adrinr 2f8c50cee1 Rename scripts 2023-04-24 20:01:59 +01:00
adrinr 35bc055ba6 Change release pipelines 2023-04-24 20:01:59 +01:00
adrinr 29ed6bf10b Release only on develop 2023-04-24 20:01:58 +01:00
adrinr 410046cae2 Run tag only on develop 2023-04-24 20:01:58 +01:00
adrinr 7e271fed18 Bump version via node script 2023-04-24 20:01:49 +01:00
adrinr 2735f1bfc6 Try fetching 2023-04-24 20:01:49 +01:00
adrinr c5e6158329 Remove pull 2023-04-24 20:01:49 +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 9cbc90e724 Trigger 2023-04-24 20:01:20 +01:00
adrinr c96c5350d6 Commit all 2023-04-24 20:00:59 +01:00
adrinr f9028e1a3f Commit instead of reseting 2023-04-24 20:00:59 +01:00
adrinr acc79f9363 Clean submodules 2023-04-24 20:00:52 +01:00
adrinr 7591ab3428 Remove paths on workflow 2023-04-24 20:00:42 +01:00
adrinr 59aefecdd4 Reset git before publish 2023-04-24 20:00:37 +01:00
adrinr 5e844ac6db Run yarn after changing versions 2023-04-24 20:00:22 +01:00
adrinr 9387d37d3b Use 0.0.1 2023-04-24 20:00:22 +01:00
adrinr cc73606c71 Yarn after version updates 2023-04-24 20:00:13 +01:00
adrinr 1ed1424d89 Use my user as git for testing 2023-04-24 19:58:54 +01:00
adrinr fa3f65a0e5 Fix fetching version 2023-04-24 19:58:54 +01:00
adrinr aa61dc6887 Update versions 2023-04-24 19:58:54 +01:00
Adria Navarro a70ebc9faf Update tag-prerelease.yml 2023-04-24 19:58:54 +01:00
adrinr 7275600be9 Bump lerna.json only 2023-04-24 19:58:54 +01:00
adrinr 3837c5c8f4 Tag 2023-04-24 19:58:54 +01:00
adrinr ebde64eee8 Remove yarn 2023-04-24 19:58:54 +01:00
adrinr dbc9f70974 Rely on lerna version 2023-04-24 19:58:54 +01:00
adrinr 5f8451b6e5 Yarn lerna 2023-04-24 19:58:40 +01:00
adrinr 4bc036c390 Use lerna 2023-04-24 19:58:40 +01:00
adrinr 5824b45c20 Remove check for testing 2023-04-24 19:58:40 +01:00
adrinr 1bcb481d69 Change publish process 2023-04-24 19:58:40 +01:00
adrinr af8a27fa10 Setup git user 2023-04-24 19:58:40 +01:00
adrinr e10eba9447 Remove check 2023-04-24 19:58:40 +01:00
adrinr 6ecb062acf Tag action 2023-04-24 19:58:40 +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 37158594f7 Merge branch 'develop' into chore/pro_as_submodule 2023-04-18 12:21:38 +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 5192eefc16 Remove unnecessary second build in pipeline 2023-04-14 16:28:22 +01:00
adrinr 523bacabc3 Remove second conflicting yarn build 2023-04-14 14:00:37 +01:00
adrinr b8d9311b49 Merge branch 'chore/yarn_workspaces' into chore/pro_as_submodule 2023-04-13 09:41:59 +01:00
Rory Powell b71169deee Fix how version is processed in helm chart (#10277) 2023-04-12 16:30:10 +01:00
Rory Powell 3b9887c66c Use helm .Chart.AppVersion instead of specifying value (#9933)
* Use helm .Chart.AppVersion instead of specifying value

* Backwards compatibility with existing process for deploying chart from source where Chart.AppVersion hasn't been generated yet
2023-04-12 13:49:25 +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
Rory Powell d6992bbf94 Merge branch 'master' into merge-master-develop 2023-03-29 11:52:09 +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 931c295c9a Fix preprod stale deploy (#10034) 2023-03-15 10:13:02 +00:00
mike12345567 63cf91218d Merge branch 'master' of github.com:Budibase/budibase into develop 2023-03-14 14:12:32 +00:00
Rory Powell feecb53017 Fix app version tag (#9969) 2023-03-09 16:40:32 +00:00
Rory Powell acc193aa87 Replace get previous tag with package version (#9968) 2023-03-09 16:33:48 +00:00
Rory Powell a03a96038d merge master into develop (#9964) 2023-03-09 15:54:20 +00:00
Rory Powell 3ee07d3949 Replace GH_PERSONAL_TOKEN with GH_ACCESS_TOKEN for pulling values from infra (#9962) 2023-03-09 15:22:29 +00:00
Rory Powell 57850c7b8e Supply kubeconfig to preprod deploy job (#9957) 2023-03-09 12:12:01 +00:00
Rory Powell df3b6add17 fix-preprod-deploy (#9955) 2023-03-09 11:16:08 +00:00
Rory Powell 0f981f33c4 Re-add legacy preprod (#9953)
* Re-add legacy preprod

* Remove needs images
2023-03-09 11:02:09 +00:00
Jonny McCullagh 2500527354 tidy actions (#9922)
* tidy actions
2023-03-07 16:03:02 +00:00
Rory Powell f1a5ffcaea Add checkout to preprod deploy (#9921) 2023-03-07 15:14:39 +00:00
Rory Powell 1a0e71f4aa Add release helm chart to release job (#9918)
* Add release helm chart to release job

* Update job name from release to release-images

* add get previous tag to all jobs
2023-03-07 14:39:54 +00:00
Jonny McCullagh e251b84d60 replace preprod with new EKS deployment (#9889) 2023-03-07 13:34:18 +00:00
Martin McKeaveney 97f0b76d82 removing test step from release 2023-03-06 11:30:21 +00:00
Martin McKeaveney f7d6c37fc7 merge 2023-03-03 16:49:04 +00:00
Martin McKeaveney 7819908fe2 Pin node version in release-selfhost job 2023-03-01 22:03:34 +00:00
Rory Powell 60a4d46fd3 Break out pro tests into their own ci job 2023-02-27 15:55:46 +00:00
Rory Powell 2e829ce8a6 Merge pull request #9785 from Budibase/configs-refactor-and-server-test-fixes
Configs /  Server tests / Failing real email tests updates
2023-02-27 14:00:21 +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 9aea8bfec4 Use forked helm action (#9814) 2023-02-27 10:01:43 +00:00
Rory Powell c14c57bc63 Fix helm action (#9804)
* Downgrade glopezep/helm to 1.7.0

* Downgrade glopezep/helm to 1.6.1
2023-02-24 16:34:13 +00:00
Rory Powell b0fd593db5 Downgrade glopezep/helm to 1.7.0 (#9803) 2023-02-24 16:27:50 +00:00
Rory Powell b17f411183 Remove deploy to release env (#9793) 2023-02-24 09:16:18 +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 eb6b49d843 Fix qa deploy dispatch (#9724) 2023-02-17 08:25:10 +00:00
Rory Powell 89829965d4 Remove test on release-develop job (temporary) (#9711)
* Remove test on release-develop job (temporary)

* Remove test on release-develop job (temporary)

* Speed up pro release script by adding no verify flag to version update commits
2023-02-16 14:14:22 +00:00
Martin McKeaveney 9ca6aa8bbc tidy up 2023-02-15 23:43:53 +00:00
Martin McKeaveney 6b5128a0bf running API tests with reporting qa nightly tests 2023-02-15 23:38:59 +00:00
Rory Powell 7c74e8c7b3 Automate account-portal qa deploy from develop (#9501) 2023-02-01 16:32:49 +00:00
Mitch-Budibase 0164ca443b Update smoke_test.yaml
Removing Cypress from smoke_test.yaml file
- No longer needed
2023-01-31 17:05:41 +00:00
Rory Powell f70ba6bff4 Add workaround to preserve creation date on chart publishing (#9219)
Employ the same workaround added to the chart publishing in `release-develop` workflow. See: https://github.com/Budibase/budibase/pull/9099
2023-01-09 08:21:48 +00:00
Rory Powell 0bd551505c Delete rpowell-temp.yml 2023-01-05 10:07:33 +00:00
Rory Powell 788ae011a2 Update rpowell-temp.yml 2023-01-05 09:52:00 +00:00
Rory Powell 80dc849987 Create rpowell-temp.yml 2023-01-05 09:51:10 +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
Rory Powell 57009c6e73 Fix for release version in qa deploy notification (#9132)
* Fix for release version in qa deploy notification

* Re-add dependency on chart job
2022-12-20 16:10:02 +00:00
Rory Powell 3c856f2b5f Update job name 2022-12-19 16:04:58 +00:00
Rory Powell 0171514c53 Re-enable concurrency 2022-12-19 16:03:07 +00:00
Rory Powell 3e3029e4d6 Publish helm chart with correct app version, publish on develop (#9099)
* Publish helm chart with correct app version, publish on develop

* Uncomment checkout

* Remove concurrency flag temporarily

* Prevent created at timestamp from changing on each helm repo index

* Add logging

* Fix syntax error

* Add logging

* Fix package command

* Remove copy tgz

* Update commit message

* Add job to trigger budibase-deploys

* Fix repository

* Update access token

* Update access token

* Update access token

* Separate deploy release env from docker image release

* Dependency between image release and chart release
2022-12-19 16:01:12 +00:00