Skip to content

Conversation

@NullIsNot0
Copy link

@NullIsNot0 NullIsNot0 commented Jul 15, 2020

By default SENTRY_VERSION=latest in .env, but if I set it to SENTRY_VERSION=b7d0b43 then install script fails, because there is no such image tag for getsentry/snuba and getsentry/relay, but docker-compose.yml contained image: 'getsentry/snuba:$SENTRY_VERSION' and image: 'getsentry/relay:$SENTRY_VERSION'.
I propose to make configurable tags for snuba and relay images.

By default `SENTRY_VERSION=latest` in `.env`, but if I set it to `SENTRY_VERSION=b7d0b43` then install script fails, because there is no such image tag for `getsentry/snuba` and `getsentry/relay`, but `docker-compose.yml` contained `image: 'getsentry/snuba:$SENTRY_VERSION'` and `image: 'getsentry/relay:$SENTRY_VERSION'`.
I propose to make configurable tags for snuba and relay images.
@NullIsNot0 NullIsNot0 closed this Jul 15, 2020
@NullIsNot0
Copy link
Author

Reopening PR for Travis rebuild with new timeout settings.

@NullIsNot0 NullIsNot0 reopened this Jul 15, 2020
Copy link
Member

@BYK BYK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the PR! I had something similar in mind but using SNUBA_IMAGE and RELAY_IMAGE similar to the one we already have: SENTRY_IMAGE.

Separating these would make our release process more complex and your PR would break it as it currently is.

Would you mind if I suggest you to use SENTRY_IMAGE for now and then create a PR of my own implementing the solution I mentioned? We'll need that for some tests in the near future.

@NullIsNot0
Copy link
Author

I don't mind closing my PR. Thanks for sharing your future plans about implementing this feature.

@NullIsNot0 NullIsNot0 closed this Jul 16, 2020
BYK added a commit that referenced this pull request Jul 17, 2020
This change allows one to override any Sentry service image, mostly for testing purposes. It also removes the SENTRY_VERSION variable as docker-compose makes it very hard to cascade default values for these. Next step is to have integration tests in getsentry/snuba and getsentry/relay (and possibly for getsentry/symbolicator) for getsentry/onpremise using this PR.

Also related: #596.
BYK added a commit that referenced this pull request Jul 17, 2020
#602)

This change allows one to override any Sentry service image, mostly for testing purposes. It also removes the SENTRY_VERSION variable as docker-compose makes it very hard to cascade default values for these. Next step is to have integration tests in getsentry/snuba and getsentry/relay (and possibly for getsentry/symbolicator) for getsentry/onpremise using this PR.

Also related: #596.
BYK added a commit that referenced this pull request Jul 21, 2020
#602)

This change allows one to override any Sentry service image, mostly for testing purposes. It also removes the SENTRY_VERSION variable as docker-compose makes it very hard to cascade default values for these. Next step is to have integration tests in getsentry/snuba and getsentry/relay (and possibly for getsentry/symbolicator) for getsentry/onpremise using this PR.

Also related: #596.
@github-actions github-actions bot locked and limited conversation to collaborators Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants