28 Commits

Author SHA1 Message Date
Gero Posmyk-Leinemann
64080312e7
[db] Run test against the same (bitnami/)mysql:8.0.33 version (#18373) 2023-09-06 15:28:03 +02:00
Huiwen
700b6050ba
Make db waiter to wait latest migration (#18455)
* Make db waiter to wait latest migration

* Move generate out of build

* Remove conn require

* Allow to ignore migration check

* Use shell

* Use fail and remote useless log

* Generate service-waiter txt when create migration

* Revert "Generate service-waiter txt when create migration"

This reverts commit 11c12b83544a448f9784f8aa94cdfd69cfb15f45.

* Add log
2023-08-10 13:51:36 +02:00
Sven Efftinge
4a55b1ecbb
[server] improved testing infrastructure (#18183) 2023-07-07 16:29:23 +08:00
Sven Efftinge
d7aa23ed03
[server, ws-bridge, protocol, db] added eslint (#18147) 2023-07-04 20:21:21 +08:00
Milan Pavlik
cda8b7bd02
[dev-image] Set DB_HOST to 127.0.0.1 by default (#16797) 2023-03-13 09:46:48 +01:00
Aleksandar
ef78100610
Fix dbtest gha run (#16506) 2023-02-24 16:30:54 +01:00
Gero Posmyk-Leinemann
ab6895e4b7 [db] Make 'leeway run components/gitpod-db:init-testdb' the new default for starting test dbs 2023-01-23 16:51:30 +01:00
Moritz Eysholdt
a8b928030c Add MySQL service 2023-01-20 14:44:28 +01:00
Mads Hartmann
06557ea800 Remove build artifacts from leeway package srcs lists 2022-12-12 08:12:22 -03:00
Christian Weichel
7b86b04a7a [db-test] Take DB init scripts from installer 2022-05-11 21:10:26 +05:30
Gero Posmyk-Leinemann
4e331313ad Revert "Revert "[server, db] AuthProviderEntry: Introduce oauthRevision to avoid repeated materialization of encrypted data""
This reverts commit ddc7aaa72c426648b5c7165567f6970d51db936a.
2022-02-24 14:30:05 +05:30
Gero Posmyk-Leinemann
ddc7aaa72c Revert "[server, db] AuthProviderEntry: Introduce oauthRevision to avoid repeated materialization of encrypted data"
This reverts commit 07e013ecc2808240b768710886ff52fac0f921bd.
2022-02-14 20:35:35 +01:00
Gero Posmyk-Leinemann
07e013ecc2 [server, db] AuthProviderEntry: Introduce oauthRevision to avoid repeated materialization of encrypted data 2022-02-11 16:44:33 +01:00
Gero Posmyk-Leinemann
3bd683e6ea [server] Run 'yarn lint' on every build 2022-02-04 14:29:26 +01:00
Christian Weichel
329c0eafa1 [build] Enable SLSA provenance 2022-01-03 17:17:57 +01:00
Mads Hartmann
28bf0e6541 component/gitpod-protocol/tracing: Add version tags to all spans
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2021-12-08 11:30:33 +01:00
Gero Posmyk-Leinemann
9038ae9d9d [db] Move migrations from *.sql to TS 2021-11-08 16:20:06 +01:00
Gero Posmyk-Leinemann
1f37107343 [db] Automatically migrate the 'migrations' table
Issue: https://github.com/typeorm/typeorm/issues/4941#issuecomment-706222653
2021-11-03 16:33:11 +01:00
Gero Posmyk-Leinemann
7abe78c917 [dev] Upgrade to node.js v16 and all major TS libs
This commit includes the following commits:
 - @iqqbot update dev image to nodejs v16lts
 - @iqqbot update dev-environment-image to use nodejs v16
 - @iqqbot update component to nodejs v16 lts
 - [licensor] Adjust to v16
 - [ts] Bump @types/node to ^16.11.0 accordingly
 - @aledbf Update typescript dependencies
 - @aledbf Update typescript configuration
 - @aledbf / @geropl Update typescript code
 - [server] Fix express/passport types
 - [db] typeorm upgrade 0.1.20 -> 0.2.22: fix compile and runtime issues
 - [db] typeorm upgrade 0.2.22 -> 0.2.38: fix compile and runtime issues
 - [dev] Upgrade amqplib and smaller libs
 - [dev] Upgrade uuid
 - [dev] Update probot
 - [dev] Final yarn.lock
2021-11-02 13:59:10 +01:00
Moritz Eysholdt
d6f448b27e Make TypeORM accessible 2021-07-13 16:47:11 +02:00
Moritz Eysholdt
903c8545e5 Add script for convenient db-migrations in GCP 2021-06-23 09:29:39 +02:00
Christian Weichel
eaa6e80038 [build] Tag images with commit hash instead of leeway pkg version 2021-06-16 18:34:51 +02:00
Christian Weichel
7acbacf839 [gitpod-db] Integrate into version manifest 2021-06-15 08:32:38 +02:00
Gero Posmyk-Leinemann
45c3e32453 [db] Make gitpod-db:dbtest-init self-contained by starting a mysql DB if needed 2021-06-11 15:09:54 +02:00
Gero Posmyk-Leinemann
e541251a7d [dev] Enable all DB tests during CI 2021-06-08 11:47:50 +02:00
Christian Weichel
015b38ff06 [build] Produce version manifest 2021-06-03 15:17:16 +02:00
Christian Weichel
c0eebe46e0 [gitpod-db] Ensure stable script order during dbtest-init 2020-12-17 10:27:00 +01:00
gitpod-init
24f7b609bf initial commit 2020-08-25 09:25:15 +00:00