-
Notifications
You must be signed in to change notification settings - Fork 192
2.0: make DOTNET_FRAMEWORK a runtime image envvar and document runtime envvars #133
New issue
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
Conversation
This code looks good to me, and the CI failure isn't your fault. We need to sync with the container release. I'll put that out now. |
[cibuild] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seem to be some inconsistencies. Thoughts?
2.0/build/test/run
Outdated
IMAGE_NAME=${IMAGE_NAME:-centos/dotnet-20-centos7} | ||
RUNTIME_IMAGE_NAME=${RUNTIME_IMAGE_NAME:-dotnet/dotnet-20-runtime-rhel7} | ||
else | ||
IMAGE_NAME=${IMAGE_NAME:-centos/dotnet-20-centos7} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look right. dotnet/dotnet-20-rhel7
maybe?
2.0/build/test/run
Outdated
RUNTIME_IMAGE_NAME=${RUNTIME_IMAGE_NAME:-dotnet/dotnet-20-runtime-rhel7} | ||
if [ "$BUILD_CENTOS" = "true" ]; then | ||
IMAGE_NAME=${IMAGE_NAME:-centos/dotnet-20-centos7} | ||
RUNTIME_IMAGE_NAME=${RUNTIME_IMAGE_NAME:-dotnet/dotnet-20-runtime-rhel7} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem right. Change it to: centos/dotnet-20-runtime-centos7
2.0/runtime/test/run
Outdated
OPENSHIFT_ONLY=${OPENSHIFT_ONLY:-false} | ||
|
||
test_dir="$(readlink -zf $(dirname "${BASH_SOURCE[0]}"))" | ||
source ${test_dir}/testcommon | ||
|
||
dotnet_version_serie="2.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: dotnet_version_series
Thank you for catching these. I hadn't run the build test script stand-alone and changes to it were wrong. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
These envvars are interesting for anyone doing their own .s2i scripts.