Skip to content
This repository was archived by the owner on Sep 16, 2022. It is now read-only.

Conversation

rptrchv
Copy link
Contributor

@rptrchv rptrchv commented Sep 5, 2019

We're gonna take the last commit hash from a CircleCI's evn (see https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables).
Also I've added a special site url for raising 500 when we need it (for Sentry testing mostly).
Closes #398

Dockerfile Outdated
Copy link
Contributor

@vpetersson vpetersson Sep 5, 2019

Choose a reason for hiding this comment

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

This will not be available inside the docker build. You need to pass it on to Docker here.

@vpetersson
Copy link
Contributor

@rptrchv see Artem's comments in the ticket.

@rptrchv
Copy link
Contributor Author

rptrchv commented Sep 6, 2019

Guys, looks like I misunderstood the concept of docker's env vars, build parameters and their visibility scope. All my experiments with delivering proper value to the Dockerfile level fail.
@a-martynovich pls fix my code in this PR, this will help me find out what's I'm doing wrong. thank you

@vpetersson
Copy link
Contributor

@rptrchv you're 95% there. Just see this comment.

@a-martynovich
Copy link
Contributor

I'm on it.

@a-martynovich
Copy link
Contributor

Done.

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.

Add release submission to Sentry.

4 participants