Commit Graph

7 Commits

Author SHA1 Message Date
Ibrahim Serdar Acikgoz
23ade1d0c0 [MM-37987] cmd/mattermost/version: remove store initialization from version cmd (#19364)
* cmd/mattermost/version: remove store initialization from version cmd

* Update cmd/mattermost/commands/db.go

Co-authored-by: Carlos Tadeu Panato Junior <carlos@mattermost.com>

* reflect review comments

* commands/db: fix config store initializer

Co-authored-by: Carlos Tadeu Panato Junior <carlos@mattermost.com>
2022-02-16 11:48:01 +03:00
Agniva De Sarker
acd08f0a48 Fix migration scripts (#18756)
* Fix migration scripts

Set the DB schema version in DB prior to running migration

https://community-daily.mattermost.com/boards/workspace/zyoahc9uapdn3xdptac6jb69ic/285b80a3-257d-41f6-8cf4-ed80ca9d92e5/495cdb4d-c13a-4992-8eb9-80cfee2819a4?c=c2525dbb-23eb-4fe7-8fb4-e9a5f503dc8c

```release-note
NONE
```

* Revert schema to 6.0.0 and update CI scripts

* Fix typo

* Add missing default

* Fix extra comma

Co-authored-by: Claudio Costa <cstcld91@gmail.com>
2021-10-19 19:56:09 +05:30
Elisabeth Kulzer
42e75fad4d Fix test schema docker-compose exec exit problem (#18327)
* Fix schema tests exiting early by replacing docker-compose exec with docker exec. 

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-09-01 17:35:17 +02:00
Claudio Costa
9534f9fb62 Update schemas to include new indexes (#18313)
* Update schemas to include new indexes

* Increase local usability of gitlab scripts. (#18314)

* Increase local usability of gitlab scripts.

* Fix loading/saving SQL dumps

* Add logging to schema tests.

* Fix adding logs dir.

Co-authored-by: Claudio Costa <cstcld91@gmail.com>

Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
2021-09-01 09:00:49 +02:00
Claudio Costa
ac252f0771 [MM-37621] Update db schema validation scripts for 6.0 (#18223)
* Fix migration scripts

* Update schema validation scripts
2021-08-31 09:50:47 +02:00
Elisabeth Kulzer
33e2ae4775 Image as env var. (#17828) 2021-06-24 09:59:52 +02:00
Elisabeth Kulzer
0765f27483 Enable e2e testing with docker-compose on GitLab (#17765)
* Make testing with docker-compose work on GitLab.

* Comment heavy jobs.

* Make testing with docker-compose work on GitLab.

* Comment heavy jobs.

* Fix images

* Addressing review.
2021-06-23 15:31:57 +02:00