We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expected behavior/code The get_release function should return the current release in a Docker image built by the CI.
Actual Behavior The get_release function returns "NA" instead of the actual release number.
Steps to Reproduce
$ docker run -it --rm -e DJANGO_AWS_ACCESS_KEY_ID=dummy -e DJANGO_AWS_SECRET_ACCESS_KEY=dummy -e DJANGO_SECRET_KEY=dummy fundocker/ashley:1.1.1 python manage.py shell >>> from settings import get_release, BASE_DIR >>> get_release() 'NA' >>> BASE_DIR '/app'
Environment
Possible Solution The method returns "NA" because the file is not found in /app/version.json. Indeed, it was copied to /app/sandbox/version.json when building the image: https://github.com/openfun/ashley/blob/master/.circleci/config.yml#L13.
/app/version.json
/app/sandbox/version.json
I see 2 possible solutions:
/app
get_release
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Expected behavior/code
The get_release function should return the current release in a Docker image built by the CI.
Actual Behavior
The get_release function returns "NA" instead of the actual release number.
Steps to Reproduce
Environment
Possible Solution
The method returns "NA" because the file is not found in
/app/version.json
.Indeed, it was copied to
/app/sandbox/version.json
when building the image: https://github.com/openfun/ashley/blob/master/.circleci/config.yml#L13.I see 2 possible solutions:
/app
get_release
function, look for the file at "/app/sandbox/version.json" directoryThe text was updated successfully, but these errors were encountered: