Commit Graph

73 Commits

Author SHA1 Message Date
adrinr 909da26423 Setup plugins 2023-02-02 13:45:36 +00:00
adrinr 4b9d178086 Add setup in md 2023-02-02 12:36:25 +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 5aa7291677 Only build pro after bootstrapping and after backend-core build (#9130)
* Update .npmignore path to include all subdirectories of dist

The dist/* pattern was including only the first level of files inside
the dist folder.

Update to no longer wildcard to include all the folder contents

* Only build pro after bootstrapping and after backend-core build

This protects against the scenario of a breaking change in backend-core
that is relied on by the pro package.

Introducing to fix the current build as the published backend-core package is corrupted.
This change ensures the local filsystem version of core will be used.

* Debug line

* Debug lines

* Update build script
2022-12-20 14:30:31 +00:00
Peter Clement 9d841bc947 Server and Worker tests (#8928)
* automation unit tests

* row processor tests

* update executeQuery test

* update groups assertion

* some more worker tests

* plugin tests and tidying up

* linting

* temporarily disable group tests

* more tests

* fix import

* fix backup tests

* add pro mocks to worker

* check for app existence in import test

* test new tsconfig

* testing changes

* Pro test utils (#9020)

* Pro test utils changes

* Add test fixes

* Remove ts-ignore

Co-authored-by: mike12345567 <me@michaeldrury.co.uk>
Co-authored-by: Rory Powell <rory.codes@gmail.com>
2022-12-12 22:02:32 +00:00
Rory Powell 1612044dc1 Merge branch 'develop' into subdomain-tenancy 2022-11-15 16:18:59 +00:00
Rory Powell 5da699e27c Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings 2022-11-14 13:29:46 +00:00
Rory Powell 6783fd713e Update tenancy detection to honour any subdomain pattern according to platform url 2022-11-09 16:35:16 +00:00
tomamplius 75559dddce add verbose to rm 2022-10-21 21:09:54 +02:00
tomamplius bc8331ddd4 use egrep to replace grep + awk 2022-10-21 21:09:03 +02:00
tomamplius c4b029f78d remove move on / 2022-10-09 09:35:21 +02:00
mike12345567 a86cdb3291 Fixing issue #8079 - making sure TARGETARCH gets correctly exported to environment to pick correct minio bundle. 2022-10-06 14:05:01 +01:00
Rory Powell 43c8bfffed Update scripts/pro/install.sh 2022-10-04 14:56:30 +01:00
Mel O'Hagan 95ff0d9665 Fallback 2022-10-04 14:50:21 +01:00
Rory Powell a551532e73 Navigation updates, cookie constant, update link-dependencies and localdomain scripts 2022-09-14 10:53:14 +01:00
Dean bbbf8bfc0b Updated bootstrapping flow to include the account portal. 2022-08-31 15:19:57 +01:00
Rory Powell 51e66d271e update pro release script 2022-07-27 14:23:17 -04:00
Rory Powell e190d1cae9 Update lockfiles in pro release 2022-07-27 13:42:06 -04:00
Rory Powell 1e32256311 Update server and worker lockfiles after pro release 2022-07-27 12:28:22 -04:00
Martin McKeaveney adb265564e merge 2022-07-11 10:19:07 +01:00
Rory Powell 0a078df5ae Add test:pro command 2022-07-08 11:36:31 +01:00
mike12345567 2e5c5e1af5 Updating pro release script to fix dependencies. 2022-07-07 12:02:13 +01:00
mike12345567 d390bb9c20 Moving majority of automation logging functionality to pro. 2022-07-04 15:44:47 +01:00
mike12345567 2a17e9f732 Review comments. 2022-06-22 12:40:33 +01:00
mike12345567 b42e0c1c5e Adding command for multiarch building with buildx, need to install qemu on Linux to make this work. 2022-06-21 19:52:44 +01:00
mike12345567 9ad9860a9c Fixing cleanup script, adding ARM support to dockerfile, as well as adding ARM client. 2022-06-21 17:56:55 +01:00
mike12345567 af60582dad Slimming build down from 4GB to 1.8GB for single image. 2022-06-16 20:38:24 +01:00
mike12345567 148c7010e8 Updating the single image docker build to pin versions before build to allow it to work with develop etc. Also optimising the image a bit so that it can be built significantly faster. 2022-06-16 19:30:34 +01:00
Rory Powell ee9a19a1d5 Back populate no-op migrations on new app and tenant create 2022-06-13 10:51:29 +01:00
Rory Powell 2a00f6498d Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-29 00:25:40 +01:00
Rory Powell c0d6fa34a4 Identity tenant and installation groups, property updates 2022-05-28 21:38:22 +01:00
Martin McKeaveney f7272c29b6 proxy generation for release env 2022-05-27 00:10:43 +01:00
Martin McKeaveney e6678a17ae kick off release 2022-05-24 12:18:39 +01:00
Rory Powell d736e558f9 Update pro install script to checkout base branch only when feature branch doesn't exist 2022-04-26 17:55:33 +01:00
Rory Powell b9a39e193e Fix developer count migration when only single developer 2022-04-25 15:38:37 +01:00
Rory Powell 6b48028177 git add changed package.json files 2022-04-25 12:58:34 +01:00
Rory Powell f6284cc697 Sync versions of pro and backend-core 2022-04-25 12:19:36 +01:00
Rory Powell 12279aff53 Path fixes 2022-04-22 12:10:39 +01:00
Rory Powell 6d97099448 Bash updates 2022-04-22 11:49:15 +01:00
Rory Powell fcc8db9e34 Skip pro install on community forks 2022-04-22 11:45:45 +01:00
Rory Powell 63397aa047 Update release script 2022-04-22 11:37:55 +01:00
Rory Powell 1141fdd483 Release script updates 2022-04-22 11:01:27 +01:00
Rory Powell 35e18e7ac1 Bash updates 2022-04-22 10:40:17 +01:00
Rory Powell 15e1464a85 Uncomment release script 2022-04-22 10:21:47 +01:00
Rory Powell e10bbb5eb0 Pro build fixes 2022-04-22 10:16:09 +01:00
Rory Powell 0edc8800bd Pro build fixes 2022-04-22 09:43:51 +01:00
Rory Powell 77a79e26d1 Update clone authorization 2022-04-21 22:18:19 +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 197891078a Remove CI check from dependency link script 2022-04-13 22:10:58 +01:00