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
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
789f84af90
Коммит
c94e8c2134
6
.github/workflows/esrupgrade-common.yml
поставляемый
6
.github/workflows/esrupgrade-common.yml
поставляемый
@@ -61,8 +61,8 @@ jobs:
|
|||||||
--env-file=dotenv/test.env \
|
--env-file=dotenv/test.env \
|
||||||
--env MM_SQLSETTINGS_DRIVERNAME="mysql" \
|
--env MM_SQLSETTINGS_DRIVERNAME="mysql" \
|
||||||
--env MM_SQLSETTINGS_DATASOURCE="mmuser:mostest@tcp(mysql:3306)/mattermost_test?charset=utf8mb4,utf8&multiStatements=true&maxAllowedPacket=4194304" \
|
--env MM_SQLSETTINGS_DATASOURCE="mmuser:mostest@tcp(mysql:3306)/mattermost_test?charset=utf8mb4,utf8&multiStatements=true&maxAllowedPacket=4194304" \
|
||||||
-v ~/work/mattermost:/mattermost \
|
-v ~/work/mattermost:/mm \
|
||||||
-w /mattermost/mattermost \
|
-w /mm \
|
||||||
$BUILD_IMAGE &
|
$BUILD_IMAGE &
|
||||||
# In parallel, wait for the migrations to finish.
|
# 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"
|
# 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
|
name: upgraded-dump-script
|
||||||
path: ${{ env.DUMP_SCRIPT_NAME }}.gz
|
path: ${{ env.DUMP_SCRIPT_NAME }}.gz
|
||||||
esr-upgrade-diff:
|
esr-upgrade-diff:
|
||||||
runs-on: ubuntu-latest-8-cores
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
- esr-upgrade-server
|
- esr-upgrade-server
|
||||||
- esr-upgrade-script
|
- esr-upgrade-script
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user