未验证 提交 3f2b4fff 编写于 作者: C Carlos Tadeu Panato Junior 提交者: GitHub

update mattermost go builder to use go 1.16.7 (#18256)

上级 d901c643
......@@ -107,7 +107,7 @@ jobs:
check-app-layers:
docker:
- image: mattermost/mattermost-build-server:20201119_golang-1.15.5
- image: mattermost/mattermost-build-server:20210810_golang-1.16.7
working_directory: ~/mattermost
steps:
- attach_workspace:
......@@ -120,7 +120,7 @@ jobs:
check-store-layers:
docker:
- image: mattermost/mattermost-build-server:20201119_golang-1.15.5
- image: mattermost/mattermost-build-server:20210810_golang-1.16.7
working_directory: ~/mattermost
steps:
- attach_workspace:
......@@ -133,7 +133,7 @@ jobs:
check-mocks:
docker:
- image: mattermost/mattermost-build-server:20201119_golang-1.15.5
- image: mattermost/mattermost-build-server:20210810_golang-1.16.7
working_directory: ~/mattermost
steps:
- attach_workspace:
......@@ -146,7 +146,7 @@ jobs:
check-migrations:
docker:
- image: mattermost/mattermost-build-server:20201119_golang-1.15.5
- image: mattermost/mattermost-build-server:20210810_golang-1.16.7
working_directory: ~/mattermost
steps:
- attach_workspace:
......@@ -172,7 +172,7 @@ jobs:
# Dedicate job for mattermost-vet to make more clear when the job fails
check-mattermost-vet:
docker:
- image: mattermost/mattermost-build-server:20201119_golang-1.15.5
- image: mattermost/mattermost-build-server:20210810_golang-1.16.7
working_directory: ~/mattermost
steps:
- attach_workspace:
......@@ -223,7 +223,7 @@ jobs:
build:
docker:
- image: mattermost/mattermost-build-server:20201119_golang-1.15.5
- image: mattermost/mattermost-build-server:20210810_golang-1.16.7
resource_class: xlarge
working_directory: ~/mattermost
steps:
......@@ -287,7 +287,7 @@ jobs:
--env MM_SQLSETTINGS_DRIVERNAME=<<parameters.dbdriver>> \
-v ~/mattermost:/mattermost \
-w /mattermost/mattermost-server \
mattermost/mattermost-build-server:20201119_golang-1.15.5 \
mattermost/mattermost-build-server:20210810_golang-1.16.7 \
bash -c "ulimit -n 8096; make test-server<< parameters.racemode >> BUILD_NUMBER=$CIRCLE_BRANCH-$CIRCLE_PREVIOUS_BUILD_NUM TESTFLAGS= TESTFLAGSEE=" \
bash -c scripts/diff-email-templates.sh
no_output_timeout: 2h
......@@ -352,7 +352,7 @@ jobs:
--env MM_SQLSETTINGS_DRIVERNAME=postgres \
-v ~/mattermost:/mattermost \
-w /mattermost/mattermost-server \
mattermost/mattermost-build-server:20201119_golang-1.15.5 \
mattermost/mattermost-build-server:20210810_golang-1.16.7 \
bash -c "ulimit -n 8096; make ARGS='version' run-cli && make MM_SQLSETTINGS_DATASOURCE='postgres://mmuser:mostest@postgres:5432/latest?sslmode=disable&connect_timeout=10' ARGS='version' run-cli"
echo "Ignoring known mismatch: ChannelMembers.MentionCountRoot"
......@@ -390,7 +390,7 @@ jobs:
--env MM_SQLSETTINGS_DRIVERNAME=mysql \
-v ~/mattermost:/mattermost \
-w /mattermost/mattermost-server \
mattermost/mattermost-build-server:20201119_golang-1.15.5 \
mattermost/mattermost-build-server:20210810_golang-1.16.7 \
bash -c "ulimit -n 8096; make ARGS='version' run-cli && make MM_SQLSETTINGS_DATASOURCE='mmuser:mostest@tcp(mysql:3306)/latest?charset=utf8mb4,utf8&readTimeout=30s&writeTimeout=30s' ARGS='version' run-cli"
......
......@@ -12,7 +12,7 @@ include:
variables:
BUILD: "yes"
IMAGE_BUILD_SERVER: $CI_REGISTRY/mattermost/ci/images/mattermost-build-server:20201119_golang-1.15.5
IMAGE_BUILD_SERVER: $CI_REGISTRY/mattermost/ci/images/mattermost-build-server:20210810_golang-1.16.7
IMAGE_BUILD_DOCKER: $CI_REGISTRY/mattermost/ci/images/mattermost-build-docker:19.03.14-1
IMAGE_DIND: $CI_REGISTRY/mattermost/ci/images/docker-dind:19.03.14-1
......
......@@ -34,7 +34,7 @@
--env GOBIN=$PWD/bin \
-v $CI_PROJECT_DIR:/mattermost-server \
-w /mattermost-server \
$CI_REGISTRY/mattermost/ci/images/mattermost-build-server:20201119_golang-1.15.5 \
$CI_REGISTRY/mattermost/ci/images/mattermost-build-server:20210810_golang-1.16.7 \
bash -c "ulimit -n 8096; make test-server BUILD_NUMBER=$CI_COMMIT_SHA TESTFLAGS= TESTFLAGSEE=;"
- docker logs -f server
- docker-compose logs --tail="all" -t --no-color > logs/docker-compose_logs
......
......@@ -32,7 +32,7 @@ up()
-e GOPATH="/go" \
-e MM_SQLSETTINGS_DATASOURCE="postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10" \
-e MM_SQLSETTINGS_DRIVERNAME=postgres
mattermost/mattermost-build-server:20201119_golang-1.15.5 bash
mattermost/mattermost-build-server:20210810_golang-1.16.7 bash
}
down()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册