MM-53002: Fix ESR CI (#23599)

* 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
This commit is contained in:
Alejandro García Montoro
2023-06-04 16:37:04 +05:30
committed by GitHub
parent 789f84af90
commit c94e8c2134
+3 -3
View File
@@ -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