Skip to content
代码片段 群组 项目
未验证 提交 4629e8a6 编辑于 作者: Jennifer Li's avatar Jennifer Li 提交者: GitLab
浏览文件

Run graphql job with custom exit code

上级 a7263cd5
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
......@@ -176,7 +176,7 @@ retrieve-frontend-fixtures:
exit 0
fi
- !reference [.base-script, script]
- rspec_parallelized_job
- run_with_custom_exit_code rspec_parallelized_job
artifacts:
name: frontend-fixtures
expire_in: 31d
......@@ -236,7 +236,7 @@ graphql-schema-dump:
stage: fixtures
needs: []
script:
- bundle exec rake gitlab:graphql:schema:dump
- run_with_custom_exit_code bundle exec rake gitlab:graphql:schema:dump
artifacts:
expire_in: 30 days
name: graphql-schema
......@@ -256,7 +256,7 @@ upload-graphql-schema-dump:
- .with-graphql-schema-dump-needs
script:
- source scripts/gitlab_component_helpers.sh
- create_and_upload_graphql_schema_package
- run_with_custom_exit_code create_and_upload_graphql_schema_package
.frontend-test-base:
......
......@@ -9,10 +9,16 @@ graphql-verify:
stage: test
needs: []
script:
- bundle exec rake gitlab:graphql:validate
- bundle exec rake gitlab:graphql:check_docs
- bundle exec rake gitlab:graphql:schema:dump
- node scripts/frontend/graphql_possible_types_extraction.js --check
- |
function graphql_verify() {
bundle exec rake gitlab:graphql:validate
bundle exec rake gitlab:graphql:check_docs
bundle exec rake gitlab:graphql:schema:dump
node scripts/frontend/graphql_possible_types_extraction.js --check
}
run_with_custom_exit_code graphql_verify
artifacts:
expire_in: 7 days
name: graphql-schema-verify
......
......@@ -119,7 +119,7 @@ generate-frontend-fixtures-mapping:
- source ./scripts/rspec_helpers.sh
- section_start "gitaly-test-spawn" "Spawning Gitaly"; scripts/gitaly-test-spawn; section_end "gitaly-test-spawn"; # Do not use 'bundle exec' here
script:
- generate_frontend_fixtures_mapping
- run_with_custom_exit_code generate_frontend_fixtures_mapping
artifacts:
expire_in: 7d
paths:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册