Этот коммит содержится в:
Elisabeth Kulzer
2021-01-14 18:21:21 +01:00
родитель 7de4864c66
Коммит f67fe45dd1

Просмотреть файл

@@ -13,8 +13,8 @@ include:
# - local: .gitlab-ci/test-schema.yml # - local: .gitlab-ci/test-schema.yml
variables: variables:
ONLY_BUILD: "yes" BUILD: "yes"
ONLY_TEST: "no" TEST: "no"
empty: empty:
stage: create-vars stage: create-vars
@@ -30,7 +30,7 @@ empty:
# - make check-style #todo MM_VET_OPENSPEC_PATH='$CI_PROJECT_DIR/mattermost-api-reference/v4/html/static/mattermost-openapi-v4.yaml' # - make check-style #todo MM_VET_OPENSPEC_PATH='$CI_PROJECT_DIR/mattermost-api-reference/v4/html/static/mattermost-openapi-v4.yaml'
# timeout: 60 mins # timeout: 60 mins
# rules: # rules:
# - if: '$ONLY_BUILD != "yes"' # - if: '$TEST == "yes"'
# #
#layers: #layers:
# image: $CI_REGISTRY/mattermost/ci/images/mattermost-build-server:20201119_golang-1.15.5 # image: $CI_REGISTRY/mattermost/ci/images/mattermost-build-server:20201119_golang-1.15.5
@@ -43,7 +43,7 @@ empty:
# - if [[ -n $(git status --porcelain) ]]; then echo "Please update the app layers using make app-layers"; exit 1; fi # - if [[ -n $(git status --porcelain) ]]; then echo "Please update the app layers using make app-layers"; exit 1; fi
# - git reset --hard # - git reset --hard
# rules: # rules:
# - if: '$ONLY_BUILD != "yes"' # - if: '$TEST == "yes"'
# #
#test-postgres: #test-postgres:
# extends: .test # extends: .test
@@ -53,7 +53,7 @@ empty:
# MM_SQLSETTINGS_DATASOURCE: "postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10" # MM_SQLSETTINGS_DATASOURCE: "postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10"
# MM_SQLSETTINGS_DRIVERNAME: postgres # MM_SQLSETTINGS_DRIVERNAME: postgres
# rules: # rules:
# - if: '$ONLY_BUILD != "yes"' # - if: '$TEST == "yes"'
# #
#test-mysql: #test-mysql:
# extends: .test # extends: .test
@@ -63,7 +63,7 @@ empty:
# MM_SQLSETTINGS_DATASOURCE: "mmuser:mostest@tcp(mysql:3306)/mattermost_test?charset=utf8mb4,utf8&multiStatements=true" # MM_SQLSETTINGS_DATASOURCE: "mmuser:mostest@tcp(mysql:3306)/mattermost_test?charset=utf8mb4,utf8&multiStatements=true"
# MM_SQLSETTINGS_DRIVERNAME: mysql # MM_SQLSETTINGS_DRIVERNAME: mysql
# rules: # rules:
# - if: '$ONLY_BUILD != "yes"' # - if: '$TEST == "yes"'
# #
#test-schema-postgres: #test-schema-postgres:
# extends: .test-schema # extends: .test-schema
@@ -92,7 +92,7 @@ empty:
# - echo "Generating diff" # - echo "Generating diff"
# - diff migrated.sql latest.sql > diff.txt && echo "Both schemas are same" || (echo "Schema mismatch" && cat diff.txt && exit 1) # - diff migrated.sql latest.sql > diff.txt && echo "Both schemas are same" || (echo "Schema mismatch" && cat diff.txt && exit 1)
# rules: # rules:
# - if: '$ONLY_BUILD != "yes"' # - if: '$TEST == "yes"'
# #
#test-schema-mysql: #test-schema-mysql:
# extends: .test-schema # extends: .test-schema
@@ -123,4 +123,4 @@ empty:
# - docker-compose --no-ansi exec -T mysql mysql -uroot -pmostest -e 'DROP DATABASE migrated; DROP DATABASE latest' # - docker-compose --no-ansi exec -T mysql mysql -uroot -pmostest -e 'DROP DATABASE migrated; DROP DATABASE latest'
# - echo "Generating diff" # - echo "Generating diff"
# rules: # rules:
# - if: '$ONLY_BUILD != "yes"' # - if: '$TEST == "yes"'