Commit Graph

936 Commits

Author SHA1 Message Date
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
Rory Powell ac105bbe3a Add worker and backend-core to codecov-action 2022-11-14 14:13:55 +00:00
Martin McKeaveney 57bbf28119 merge with master 2022-09-26 17:57:23 +01:00
Martin McKeaveney 30ccf00232 remove superfluous env vars 2022-09-26 15:52:01 +01:00
Martin McKeaveney f39f789a66 remove install pro and add protection to single image build to fail off master 2022-09-26 15:45:14 +01:00
Andrew Kingston e3bb57b97a Merge branch 'develop' of github.com:Budibase/budibase into public-api-sdk 2022-09-26 14:15:25 +01: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
Andrew Kingston afcd40a9e5 Build SDK as part of release workflows which publish to NPM 2022-09-21 09:09:12 +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 410f2971e7 separate rollouts into separate steps 2022-08-23 12:07:57 +01:00
Martin McKeaveney 9de0bfe053 use pre-encoded kubeconfig secret 2022-08-23 11:12:38 +01:00
Martin McKeaveney 55ff9f996d fix service re-roll 2022-08-23 10:41:50 +01:00
Martin McKeaveney 3f661d06a9 enforce fail 2022-08-22 12:01:50 +01:00
Martin McKeaveney 81a00424b2 base64 encode the kubeconfig 2022-08-18 12:21:01 +01:00
Martin McKeaveney 96be712f89 Update deploy-release.yml 2022-08-18 12:09:36 +01:00
Martin McKeaveney 881d350c66 Merge pull request #7251 from Budibase/fix/various-fixes-martin
roll out release services after deployment
2022-08-16 10:17:59 +01:00
Martin McKeaveney 9a9e4c0975 add to release job 2022-08-12 17:48:50 +01:00
Martin McKeaveney a817756db8 reset appVersion to develop 2022-08-12 17:45:31 +01:00
Martin McKeaveney 52feda77de roll out release services after deployment 2022-08-12 17:42:46 +01:00
mike12345567 1c7f860184 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-08-11 16:28:46 +01:00
Rory Powell eb6304f181 Revert to using branches only for selfhost release 2022-08-10 17:07:33 +01:00
Rory Powell 85af9b0615 Add git fetch --tags to release-selfhost 2022-08-10 16:24:50 +01:00
Rory Powell dbf6376910 Add git fetch --tags to release-selfhost 2022-08-10 16:17:56 +01:00
Rory Powell bc5a36dd53 Merge branch 'master' into merge-master 2022-08-10 15:46:30 +01:00
Rory Powell d31cc3a96d Checkout tag 2022-08-10 14:07:21 +01:00
Rory Powell 65189c0b13 Add version support release-selfhost.yml 2022-08-10 13:57:33 +01:00
Martin McKeaveney c44ae30721 merge from master 2022-08-09 11:52:48 +01:00
Michael Drury a4e934bbd6 Merge pull request #7151 from Budibase/fix/cli-build
Fixing CLI CI build
2022-08-08 17:39:43 +01:00
mike12345567 27d81a7f51 Updating self host release to fix issues with CLI build. 2022-08-08 14:14:35 +01:00
Rory Powell d36ff097ee Update posthog token 2022-08-08 14:03:04 +01:00
Rory Powell 40b22019ea Disable posthog in release env 2022-08-08 11:51:38 +01:00
NEOLPAR de5d1cea3e amendments for PR comments 2022-08-05 10:57:13 +01:00
NEOLPAR 011b97d57f important note for pro modifications 2022-07-28 20:35:43 +01:00
NEOLPAR 33e1d69341 linking to doc instead of symlink to make it readable on Github 2022-07-28 11:21:06 +01:00
NEOLPAR 51620dfc35 cleaning dependencies before bootstrap to linking pro version 2022-07-28 11:13:03 +01:00
Jonny McCullagh 5373e784c0 WIP: add Azure App Service image to docker registry 2022-07-18 12:21:01 +01:00
mike12345567 433e9402ac Switching single image build to workflow dispatch. 2022-07-14 18:50:09 +01:00
mike12345567 f4b75b8f50 Fix for single image build, make sure predocker commands always ran. 2022-07-13 16:39:38 +01:00
Martin McKeaveney 1ed8fe1893 fix input from release job 2022-07-11 17:17:05 +01:00
Martin McKeaveney ec20f173bb automating CI release 2022-07-11 16:05:41 +01:00
Martin McKeaveney 36c8be1149 Merge pull request #6637 from Budibase/fix/release-removals
remove beta stuff and remove self-host banners
2022-07-11 11:54:52 +01:00
Martin McKeaveney 367cf37795 remove beta stuff and remove self-host banners 2022-07-11 11:08:56 +01:00
mike12345567 4439dc73b7 Updating tags to sufficient access level. 2022-07-07 18:13:46 +01:00
mike12345567 af409a532c Adding login action. 2022-07-07 16:38:48 +01:00
mike12345567 6f33c4ae68 Adding push to deploy image. 2022-07-07 14:32:48 +01:00
mike12345567 175e48961b Removing testing from single image deployment as its already carried out by CI workflow. 2022-07-06 16:56:05 +01:00
mike12345567 fd7fc1df34 Adding QEMU builder for ARM builds. 2022-07-06 16:53:25 +01:00
mike12345567 83c9ab9788 Merge branch 'develop' of github.com:Budibase/budibase into omnibus-action 2022-07-06 11:10:16 +01:00
Martin McKeaveney 772d975f9d Adding correct release tag 2022-07-05 19:56:47 +01:00
Martin McKeaveney fddd124ac4 updating CI job to upload to correct dir 2022-07-01 00:33:01 +01:00
Martin McKeaveney 0c04ac58a6 move logic to cloud URL to backend 2022-06-28 22:45:05 +01:00
Martin McKeaveney c295c31152 Update release-develop.yml 2022-06-28 18:07:43 +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
Jonny McCullagh e091b1a038 WIP: Pipeline for Single Image deploy tag 2022-06-27 16:27:19 +01:00
Jonny McCullagh 8780b7f897 WIP: Pipeline for Single Image deploy 2022-06-27 14:37:46 +01:00
Jonny McCullagh b6c1305b5b WIP: Pipeline for Single Image deploy 2022-06-27 14:17:04 +01:00
Jonny McCullagh 4bf8d68ae0 WIP: Pipeline for Single Image deploy 2022-06-27 13:43:54 +01:00
Jonny McCullagh ffe1fb9524 WIP: Pipeline for Single Image deploy 2022-06-27 12:35:35 +01:00
Jonny McCullagh 6559586ec5 WIP: Pipeline for Single Image deploy 2022-06-27 12:13:33 +01:00
Rory Powell 7bc505b13f Pro contributing and CI/CD docs 2022-06-23 10:02:57 +01:00
Rory Powell a4a6ce2b38 Update workflow readmes and rename release staging to prerelease 2022-06-20 13:27:03 +01:00
Rory Powell 7a97dd14e3 Fix typo on branch name check 2022-06-20 12:51:57 +01:00
Rory Powell 544db02f2c Add dispatch deploy job for release env 2022-06-20 12:14:16 +01:00
Rory Powell ebbe2d0628 Revert release pipeline to use develop again 2022-06-20 10:40:05 +01:00
Rory Powell e63142866c Update release ph token 2022-06-13 16:25:22 +01:00
Rory Powell b0dc1f4e6b Disable develop branch name check 2022-06-13 11:23:02 +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 48f900e447 delete unnecessary job 2022-06-06 23:32:04 +01:00
Martin McKeaveney d15dfb83fc new ui functionality working from S3 bucket 2022-06-06 23:30:36 +01:00
Rory Powell 0094c83216 Environment config 2022-06-06 15:27:29 +01:00
Rory Powell b0b83ae5a0 Update workflows to use release instead of develop (temporarily) 2022-06-06 11:18:41 +01:00
Martin McKeaveney 8cc1e4e4d0 groundwork 2022-06-01 13:03:59 +01:00
Martin McKeaveney 373918a40c use develop tag for docker pull 2022-05-27 00:34:32 +01:00
Martin McKeaveney f7272c29b6 proxy generation for release env 2022-05-27 00:10:43 +01:00
Martin McKeaveney 2b21337c98 Merge pull request #6072 from Budibase/ci/staging-cloud-deploy
Ci/staging cloud deploy
2022-05-26 17:44:03 +01:00
Martin McKeaveney f98e1406b4 fix formatting 2022-05-26 14:39:37 +01:00
Martin McKeaveney 74b381c763 CI job for staging deploy 2022-05-26 13:58:17 +01:00
Martin McKeaveney f499de643a merging report inline HTML, fixing webhook to prevent 400s from discord 2022-05-20 16:47:09 +01:00
Martin McKeaveney a042af3c86 fix smoke_test job 2022-05-19 23:42:05 +01:00
Martin McKeaveney df0f922890 lint 2022-05-18 19:55:41 +01:00
Martin McKeaveney 6bfb611de4 initial smoke test reporting 2022-05-16 23:08:05 +01:00
Rory Powell 1bf18776e0 Add self host deploy notification 2022-05-13 09:59:40 +01:00
Rory Powell 3d9e447b0c Add concurrency flags to release jobs to ensure no parallel execution 2022-05-12 21:13:08 +01:00
Martin McKeaveney 181a038343 Merge branch 'master' of github.com:Budibase/budibase 2022-05-06 09:21:52 +01:00
Martin McKeaveney c5294bb2d0 adding correct dashboard URL output for cypress 2022-05-06 09:20:56 +01:00
Martin McKeaveney 27e4d900cb Update smoke_test.yaml 2022-05-06 09:19:50 +01:00
Rory Powell 6adb09d8d3 Add test:ere:ci:record variant 2022-05-03 15:52:46 +01:00
Rory Powell 40d28238b9 Add workflow_dispatch to ci, release-develop and release (master) 2022-05-03 14:18:18 +01:00
Martin McKeaveney b3fb74de0a record cypress runs in smoke test 2022-05-03 10:06:54 +01:00
Martin McKeaveney 31c93e5653 removing couchDB backup from values.yaml 2022-04-28 09:12:45 +01:00
Martin McKeaveney 41cf33a0a0 step 3 2022-04-27 18:38:27 +01:00
Rory Powell 18faa59eb4 Update git config to be global on release 2022-04-27 09:37:42 +01:00
Martin McKeaveney 752dfc4ba5 auto release to preprod 2022-04-26 09:47:32 +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 637100adb8 Revert testing changes to release-develop.yml 2022-04-20 21:25:12 +01:00
Rory Powell 74710b9c70 Change gh username order 2022-04-20 20:59:37 +01:00
Rory Powell 86c21b422a Change gh username order 2022-04-20 20:58:57 +01:00
Rory Powell 404d496414 Set global git commit username 2022-04-20 20:32:00 +01:00
Rory Powell 2a50279f54 Change how version is parsed 2022-04-20 17:30:42 +01:00
Rory Powell 5b1db40dac Update branch processing 2022-04-20 17:12:40 +01:00
Rory Powell 8c33297abe Update branch processing 2022-04-20 17:02:06 +01:00
Rory Powell 90bb5ee85c Update branch processing 2022-04-20 16:50:53 +01:00
Rory Powell e5a241fef4 Update branch processing 2022-04-20 16:48:45 +01:00
Rory Powell e818181eec Update branch processing 2022-04-20 16:47:42 +01:00
Rory Powell 58b67ef7aa Update branch processing 2022-04-20 16:42:03 +01:00
Rory Powell b94fae9bb8 Update branch processing 2022-04-20 16:40:51 +01:00
Rory Powell 70387b3ed6 Update branch processing 2022-04-20 16:38:56 +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 f9c2f1cd9c Update smoke_test.yaml 2022-04-12 10:06:45 +01:00
Martin McKeaveney 8e5fe49db4 Update smoke_test.yaml 2022-03-30 17:15:41 +01:00
Martin McKeaveney a7b84aaff6 fix workflow file 2022-03-29 17:53:34 +01:00
Martin McKeaveney d2d54d1343 adding smoke test run on schedule, with discord webhook 2022-03-29 17:50:52 +01:00
mike12345567 e3fac51023 Adding a hard reset to helm chart release to stop yarn lock changes blocking release. 2022-03-14 15:53:24 +00:00
Martin McKeaveney b166c5dcdc revert NPM script to update OpenAPI 2022-03-10 11:17:15 +00:00
Martin McKeaveney 6dbc0f842e reset git head after spec push 2022-03-10 11:10:14 +00:00
Martin McKeaveney 8fa600a1bb updating selfhost job 2022-03-10 11:08:02 +00:00
Martin McKeaveney 14768d0479 proxy publishing script 2022-03-10 06:59:17 +00:00
Martin McKeaveney 0a6f1ab0db adding k8s flags 2022-03-10 06:42:28 +00:00
Martin McKeaveney b28bffbb15 Merge pull request #4631 from Budibase/ci/deploy-proxy
removing need for handlebars in nginx script, automating proxy servic…
2022-03-03 09:06:49 +00:00
mike12345567 dd34e3cd3f Updating release cycle to include Open API specs. 2022-02-28 13:25:09 +00:00
Martin McKeaveney c7d46dea35 update tag name 2022-02-22 13:31:19 +01:00
Martin McKeaveney 1cbca0578a removing need for handlebars in nginx script, automating proxy service deployment 2022-02-22 13:24:21 +01:00
Martin McKeaveney 441ddc1c31 use cypress CI action as runner 2022-02-17 21:10:19 +01:00
mike12345567 675d195b21 Fixing an issue with self host release CI action. 2022-02-12 11:53:26 +00:00
Martin McKeaveney 1cc7109551 Update release-selfhost.yml 2022-02-11 19:40:28 +01:00
Martin McKeaveney 951a1ba3d2 Update deploy-preprod.yml
Temporary fix in deliverybot helm action
2022-02-09 15:20:09 +01:00
Martin McKeaveney 4588d5bbf0 wc on right file for smoke test 2022-01-14 15:25:59 +01:00
Martin McKeaveney 8500410b6b adding smoke test job for testing 2022-01-14 15:18:39 +01:00
Martin McKeaveney 82fd3e1fd0 re-add cli executable 2022-01-13 15:31:17 +01:00
Martin McKeaveney d8cb48a1a7 use selfhost job definition from master 2022-01-13 15:17:58 +01:00
Martin McKeaveney 4b6e88075d merge with master 2022-01-13 14:58:17 +01:00
mike12345567 07fb8cbb13 Updating CLI to build required versions and including it as part of the release workflow. 2022-01-05 16:41:09 +00:00
Rory Powell 45d82141ca Consolidate CI docs in CONTRIBUTING.md 2022-01-04 10:48:48 -05:00
Martin McKeaveney bc6c50482c Merge branch 'master' of github.com:Budibase/budibase into feature/dynamo-describe 2021-12-31 15:28:34 +00:00
Martin McKeaveney ac67b11301 only kick off build on certain paths 2021-12-31 13:59:48 +00:00
Martin McKeaveney 18ad8ac1e5 configurable query timeout, s3 options for minIO, safety on cloud deploy job 2021-12-30 17:44:27 +00:00
Martin McKeaveney f71432a7d2 turning back on master, adding docs for CI pipelines 2021-12-21 17:44:04 +00:00
Martin McKeaveney 6aeb9d8d07 wc on preprod values 2021-12-21 16:25:51 +00:00
Martin McKeaveney 9aeb2eee1a preprod linecount 2021-12-21 16:21:44 +00:00
Martin McKeaveney a77d6cbc42 package then commit 2021-12-21 15:39:40 +00:00
Martin McKeaveney 63e8634567 move tar to docs folder 2021-12-21 15:26:49 +00:00
Martin McKeaveney 237bd8ab48 helm release 2021-12-21 15:12:28 +00:00
Martin McKeaveney 7abf272d6d self host chart deploy 2021-12-21 15:05:43 +00:00
Martin McKeaveney 1488d466b3 remove traefik 2021-12-21 14:13:19 +00:00
Martin McKeaveney 6d808d126d don't spin up nginx controller 2021-12-21 13:54:24 +00:00
Martin McKeaveney abf952a743 avoid using tiller in helm 2021-12-21 13:36:47 +00:00
Martin McKeaveney 42ea628733 preprod helm setup 2021-12-21 12:06:31 +00:00
Martin McKeaveney 5eb2724e7f using lerna version in preprod job 2021-12-20 09:33:54 +00:00
Martin McKeaveney 89ce9c8e88 preprod job for testing in isolation 2021-12-20 08:52:16 +00:00
Martin McKeaveney 2b5d1a105a use standard values.yaml 2021-12-17 15:46:06 +01:00
Martin McKeaveney e086859c7a adding preprod deploy 2021-12-17 15:27:46 +01:00
Martin McKeaveney 44ea0dc0e3 yaml definition for release job 2021-12-17 15:02:25 +01:00
Martin McKeaveney 39116bc631 testing selfhost job 2021-12-17 14:58:03 +01:00
Martin McKeaveney e9d44c7b47 turning on prod deploy again, adding github release to selfhost job 2021-12-16 19:24:07 +01:00
Martin McKeaveney 9f5bc94b17 use cross repo permissions token 2021-12-16 17:14:28 +01:00
Martin McKeaveney 32d18087b6 word count to verify production yaml 2021-12-16 16:04:08 +01:00
Martin McKeaveney 7ddfb51740 use github env rather than workflow outputs 2021-12-16 15:36:34 +01:00
Martin McKeaveney 40e9790e5e set appVersion at correct level 2021-12-16 15:33:14 +01:00
Martin McKeaveney 8056c1acbb adding run command to package chart 2021-12-16 15:15:00 +01:00
Martin McKeaveney e2e91a7bd5 inputting correct release version 2021-12-16 14:31:40 +01:00
Martin McKeaveney b04923d6d3 index helm repo 2021-12-16 14:17:36 +01:00
Martin McKeaveney 3a7bf6455e workflow file 2021-12-16 13:40:17 +01:00
Martin McKeaveney 3a0dac4292 correct version for cloud deploy, added helm chart automation to selfhost job 2021-12-16 13:38:21 +01:00
Martin McKeaveney 414a1b74d4 adding AWS creds configuration step 2021-12-16 13:12:54 +01:00
Martin McKeaveney 6d22067f87 removing git commit sha from curl 2021-12-16 13:09:21 +01:00
Martin McKeaveney d5ee373450 fix github curl to pull infra values.yaml 2021-12-16 13:01:43 +01:00
Martin McKeaveney 5c43042bf5 tag docker images, change eks deploy action 2021-12-16 12:44:11 +01:00
Martin McKeaveney 1a964f2122 turn off release pipeline, update selfhost jobs 2021-12-16 12:35:50 +01:00
Martin McKeaveney dd8f33c548 remove leading v in job 2021-12-16 11:55:32 +01:00
Martin McKeaveney d6a0a50c63 name values file correctly 2021-12-15 19:49:14 +01:00
Martin McKeaveney a987047aa6 setup and update helm 2021-12-15 19:46:28 +01:00
Martin McKeaveney 4a4b8396e9 git add all 2021-12-15 19:41:55 +01:00
Martin McKeaveney 18dbfa911d using tag correctly in selfhost pipeline 2021-12-15 19:40:59 +01:00
Martin McKeaveney 1cc2b98de5 split CI pipelines to improve speed and automate deployment to production through manual action 2021-12-15 18:43:12 +01:00
Martin McKeaveney de7b9efea9 re-add helm release and configure 2021-12-13 19:25:53 +01:00
Martin McKeaveney 72e414aa71 don't run helm version script 2021-12-13 18:36:49 +01:00
Martin McKeaveney e741834e83 adding separate helm release job 2021-12-13 17:30:12 +01:00
Martin McKeaveney 2751f9d4c4 adding and updating helm repos 2021-12-13 16:52:35 +01:00
Martin McKeaveney e3615cc472 updating chart releaser CI 2021-12-13 13:49:02 +01:00
Martin McKeaveney 7334fc6748 automate helm deployment with CI 2021-12-09 11:05:43 +00:00
Martin McKeaveney 832a4e5262 adding budibase release version env var 2021-12-08 18:00:59 +00:00
Martin McKeaveney 5a614f33c3 CI Automation for helm chart release 2021-12-08 17:13:00 +00:00
Martin McKeaveney 7ff93e975a completely automate helm chart incrementing and semver 2021-12-08 16:27:33 +00:00
Martin McKeaveney fcef0a5bf9 git tree depth to fix self host tag fetching 2021-11-30 16:47:16 +01:00
mike12345567 0f0770af32 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-25 12:21:58 +00:00
Martin McKeaveney d5a5f4d227 adding version metadata to docker build 2021-11-22 18:25:57 +01:00
mike12345567 8a1a2c5305 Upgrading to Node 14 across the board as recent packages don't support 12 anymore. 2021-11-18 10:59:35 +00:00
mike12345567 b886bbfc47 Upgrading node version to 14 for some packages. 2021-11-17 19:39:08 +00:00
Rory Powell a3d79373db Remove sentry dsn from build 2021-10-18 16:29:03 +01:00
Martin McKeaveney e586b47c95 separate sentry projects to avoid noise 2021-10-14 16:22:53 +01:00
Martin McKeaveney e6b5f6c18c Update release-selfhost.yml 2021-10-14 14:33:27 +01:00
Martin McKeaveney 1ae9a999fb separate release and self host flows 2021-10-08 10:37:08 +01:00
Martin McKeaveney c7a5b9eb71 updating workflow to push to self hosters 2021-10-07 23:08:21 +01:00
Martin McKeaveney 2bc54baee1 merge with develop 2021-09-21 20:30:18 +01:00
Martin McKeaveney 0a7512a4d9 changed events to constants, instantiated analytics client at right time 2021-09-21 20:21:15 +01:00
Martin McKeaveney 6472beb9b1 Update release.yml 2021-09-21 17:06:18 +01:00
Martin McKeaveney aa3b13e5fb make sure release is pointing to master 2021-09-21 16:39:45 +01:00
Martin McKeaveney e53c212e60 updating CI in develop 2021-09-21 16:37:59 +01:00
Martin McKeaveney 184061a56b analytics clients 2021-09-21 11:47:14 +01:00
Maurits Lourens 518f8fd55e merge develop into branch 2021-09-16 22:15:09 +02:00
Martin McKeaveney 4cb057d6ab automate release tag in helm charts, remove superfluous build scripts 2021-08-24 16:58:10 +01:00
Martin McKeaveney 2d5cd7db23 move all the helm CI to the release pipeline 2021-08-19 07:53:17 +01:00
Martin McKeaveney d811eb4e0d use NPM script to run helm release 2021-08-18 18:42:22 +01:00
Martin McKeaveney 5843fa0286 test K8S CI 2021-08-18 18:09:40 +01:00
Martin McKeaveney a0bba34664 testing chart releaser on CI pipeline 2021-08-18 14:55:22 +01:00
Martin McKeaveney 1af740fbf7 Helm chart CI automation 2021-08-16 21:47:08 +01:00
Rory Powell 5d362c4083 Rename staging release job to be more clear 2021-07-23 16:19:43 +01:00
Rory Powell fbbd070113 Remove docker push from main CI job in favour of release-develop 2021-07-23 16:17:05 +01:00
Rory Powell ff5e3ed94d Update build:docker -> build:docker:develop 2021-07-23 10:02:12 +01:00
Rory Powell 8a89c222ae Add unique name to staging release bot 2021-07-23 09:44:03 +01:00
Rory Powell 27946e5aae Add lerna prereleases 2021-07-22 17:21:12 +01:00
Martin McKeaveney 3be016a3b8 Bootstrap before lint in release CI job 2021-06-29 17:37:58 +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
Martin McKeaveney f198c2e108 ensuring PH and sentry configured correctly 2021-06-08 20:43:01 +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 8585618736 configure AWS S3 credentials to upload standard components 2021-05-26 17:04:32 +01:00
Martin McKeaveney 88a35ecf81 automate npmrc step to keep scoped within CI 2021-05-26 16:48:03 +01:00
Martin McKeaveney 5c726e6d10 Update release.yml 2021-05-26 15:52:31 +01:00
Martin McKeaveney 399890fad9 auto release from NPM 2021-05-26 15:08:57 +01:00
Martin McKeaveney 71ee256cbf Update release.yml 2021-05-21 09:11:56 +01:00
Martin McKeaveney 68e6823550 Update release.yml 2021-05-20 14:28:26 +01:00
Martin McKeaveney 3a422be071 simplify docker build before push 2021-05-20 13:54:18 +01:00
Martin McKeaveney 98496b4a01 Update release.yml 2021-05-20 13:00:07 +01:00
Martin McKeaveney 64e3b2a173 Update release.yml 2021-05-20 12:57:29 +01:00
Martin McKeaveney 23007a8597 prevent NPM publish in CI 2021-05-20 12:46:49 +01:00
Martin McKeaveney f6f32b98ba testing CI pipeline 2021-05-20 12:46:31 +01:00
Martin McKeaveney bb9d209a36 pipeline work 2021-05-20 12:38:12 +01:00
Michael Shanks 55ce7367ae cla - changes to corporate process 2021-04-13 16:41:22 +01:00
Michael Shanks f2f640aca9 Contributor license agreement
licenses and new GitHub action
2021-04-13 14:43:33 +01:00
Martin McKeaveney c02306e6fb merge 2021-04-12 13:39:53 +01:00
Martin McKeaveney 00d6696b08 Update release.yml 2021-03-25 10:27:48 +00:00
Martin McKeaveney ebce53e9ad Update release.yml 2021-03-25 10:27:24 +00:00
Martin McKeaveney 69eacab7e1 Update release.yml 2021-03-24 15:30:15 +00:00
Martin McKeaveney 2685d46266 Update budibase_ci.yml 2021-03-15 12:12:19 +00:00
Martin McKeaveney c76530e679 Update release.yml 2021-03-12 10:39:09 +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
Martin McKeaveney 5f727d6913 Update budibase_ci.yml 2021-01-29 12:11:40 +00:00
Martin McKeaveney 1aa86f4bff adding docker login command 2021-01-29 10:45:11 +00:00
Martin McKeaveney c8b8ddb67f add support for staging image that gets built on master push 2021-01-29 10:41:08 +00:00
Martin McKeaveney ab9fc458ae Update release.yml 2021-01-14 15:13:22 +00:00
mike12345567 bf50f9af89 Making sure docker image build only runs on linux and fixing syntax error. 2021-01-11 11:35:44 +00:00
mike12345567 3ec01a6fe5 Adding docker image release to release GH action. 2021-01-11 11:24:53 +00:00
Martin McKeaveney a705fd8667 typo 2020-11-11 09:47:56 +00:00
Martin McKeaveney 4c7740f7e5 config for windows signing cert 2020-11-11 09:45:21 +00:00
mike12345567 9840585b90 Updating release process to also make use of Node 12.x 2020-09-22 10:49:34 +01:00
mike12345567 b5f42384e3 Updating GH actions to use Node 12 LTS to be inline with Node version used in Docker. 2020-09-22 10:12:17 +01:00
Martin McKeaveney 275a8e38a3 only build electron on releases 2020-09-14 17:02:42 +01:00
Martin McKeaveney 8efe88256d Create ecs_deploy.yml (#582)
* Create ecs_deploy.yml

Adding a GitHub action for deploying our server every time there is a release. I'm currently building and pushing the docker image manually. 

This should run every time we push a new release tag to the master branch.

* Update ecs_deploy.yml

* test that action works

* adding container name

* removing pull request testing trigger
2020-09-04 16:53:34 +01:00
Martin McKeaveney 9e00550eda Cypress Tests Running in CI (#524)
* cypress test setup

* running cypress in CI

* fixing tests after first time setup wizard

* bb api key

* API Key in right place

* adding env in cypress.json

* env var in setup

* lint

* API key not working

* fill in API key form if present

* allow more time for creation

* cypress server for debug

* video recording, better debugging

* Adding debug logs

* set node env

* cypress env

* cancel irrelevant test
2020-08-05 15:18:28 +01:00
Martin McKeaveney 22005bc990 formatting and tidy up 2020-07-14 16:00:58 +01:00
Martin McKeaveney 380781de8b posthog analytics 2020-07-13 17:12:54 +01:00
Martin McKeaveney 703936f415 Update release.yml 2020-07-09 12:04:47 +01:00
Martin McKeaveney ee139cd137 adding builder route for testing 2020-05-18 18:05:36 +01:00
Martin McKeaveney 34c8b1faf5 notarization and mac code signing through github CI 2020-05-15 16:06:53 +01:00
Martin McKeaveney 8a3d736fe2 Update release.yml 2020-05-15 14:39:27 +01:00
Martin McKeaveney 81902510c8 Update release.yml 2020-05-14 22:27:38 +01:00
Martin McKeaveney 4689142912 Update release.yml 2020-05-14 22:06:43 +01:00
Martin McKeaveney d7df6d53c4 Update release.yml 2020-05-14 22:03:32 +01:00
Martin McKeaveney 65c2833886 Release ci (#234)
* adding budibase release workflow

* avoid NPM release step
2020-05-14 21:48:02 +01:00
Martin McKeaveney f7e2012c89 add builds for windows and mac 2020-05-14 21:24:34 +01:00
Martin McKeaveney 014115c573 Making budibase downloadable, configuring CI to build executable bina… (#233)
Making budibase downloadable, configuring CI to build executable bina…
2020-05-14 21:18:36 +01:00
Martin McKeaveney 36250cbbdb fix ci 2020-02-25 16:51:40 +00:00
Martin McKeaveney 5ff8b42faf ci setup complete 2020-01-31 14:25:53 +00:00