* Do not use the mattermost path

The /mattermost path is used by the image and it seems to conflict with
the container running the binary

* Use a regular machine in the esr-upgrade-diff job

* Add missing space
Этот коммит содержится в:
Alejandro García Montoro
2023-06-04 13:07:04 +02:00
коммит произвёл GitHub
родитель 789f84af90
Коммит c94e8c2134

6
.github/workflows/esrupgrade-common.yml поставляемый
Просмотреть файл

@@ -61,8 +61,8 @@ jobs:
--env-file=dotenv/test.env \
--env MM_SQLSETTINGS_DRIVERNAME="mysql" \
--env MM_SQLSETTINGS_DATASOURCE="mmuser:mostest@tcp(mysql:3306)/mattermost_test?charset=utf8mb4,utf8&multiStatements=true&maxAllowedPacket=4194304" \
-v ~/work/mattermost:/mattermost \
-w /mattermost/mattermost \
-v ~/work/mattermost:/mm \
-w /mm \
$BUILD_IMAGE &
# In parallel, wait for the migrations to finish.
# To verify this, we check that the server has finished the startup job through the log line "Server is listening on"
@@ -139,7 +139,7 @@ jobs:
name: upgraded-dump-script
path: ${{ env.DUMP_SCRIPT_NAME }}.gz
esr-upgrade-diff:
runs-on: ubuntu-latest-8-cores
runs-on: ubuntu-latest
needs:
- esr-upgrade-server
- esr-upgrade-script