Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8393760
cloudbuild.yaml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
cloudbuild.yaml
View Options
steps
:
-
name
:
"gcr.io/$PROJECT_ID/docker-compose"
id
:
clone-and-configure
entrypoint
:
"bash"
args
:
-
"-e"
-
"-c"
-
|
git clone 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
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"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 4, 7:17 PM (2 d, 19 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3248529
Attached To
R206 getsentry-onpremise
Event Timeline
Log In to Comment