代码拉取完成,页面将自动刷新
steps:
- name: "gcr.io/$PROJECT_ID/docker-compose"
id: clone-and-configure
entrypoint: "bash"
args:
- "-e"
- "-c"
- |
git clone -b $BRANCH_NAME https://github.com/getsentry/self-hosted.git
echo '{"version": "3.4", "networks":{"default":{"external":{"name":"cloudbuild"}}}}' > self-hosted/docker-compose.override.yml
timeout: 60s
- name: "gcr.io/$PROJECT_ID/docker-compose"
id: install
waitFor:
- clone-and-configure
dir: self-hosted
entrypoint: "bash"
args:
- "-e"
- "-c"
- |
./install.sh --no-report-self-hosted-issues
timeout: 600s
# The point is to run the tests that get run in sentry and snuba, to avoid
# accidentally breaking CI over there (not that this has ever happened;
# it's purely theoretical, you understand). Unfortunately this is a bit
# duplicatory. Meh.
- name: "gcr.io/$PROJECT_ID/docker-compose"
id: e2e-test
waitFor:
- install
dir: self-hosted
entrypoint: "bash"
args:
- "-e"
- "-c"
- |
set +e
./test.sh
test_return=$?
set -e
if [[ $test_return -ne 0 ]]; then
echo "Test failed.";
docker-compose ps;
docker-compose logs;
exit $test_return;
fi
timeout: 600s
timeout: 2640s
options:
# We need more memory for Webpack builds & e2e self-hosted tests
machineType: "N1_HIGHCPU_8"
env:
- "CI=1"
- "SENTRY_TEST_HOST=http://nginx"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。