Skip to content

Commit

Permalink
ci: Set env var to not report self-hosted errors in e2e ci (#40422)
Browse files Browse the repository at this point in the history
the .reporterrors file is deprecated, use env variable
`REPORT_SELF_HOSTED_ISSUES` instead
  • Loading branch information
hubertdeng123 authored Oct 21, 2022
1 parent 8f9d336 commit 5ebc0b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@ steps:
timeout: 300s
- name: 'gcr.io/$PROJECT_ID/docker-compose'
id: get-self-hosted-repo
env:
- 'REPORT_SELF_HOSTED_ISSUES=0'
waitFor: ['-']
entrypoint: 'bash'
args:
- '-e'
- '-c'
- |
mkdir self-hosted && cd self-hosted
echo "no" > .reporterrors
curl -L "https://github.com/getsentry/self-hosted/archive/master.tar.gz" | tar xzf - --strip-components=1
echo '{"version": "3.4", "networks":{"default":{"external":{"name":"cloudbuild"}}}}' > docker-compose.override.yml
- name: 'gcr.io/$PROJECT_ID/docker-compose'
Expand Down

0 comments on commit 5ebc0b5

Please sign in to comment.