Skip to content

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

Merged
merged 5 commits into from
Oct 17, 2017

Conversation

tmds
Copy link
Member

@tmds tmds commented Oct 13, 2017

These envvars are interesting for anyone doing their own .s2i scripts.

@tmds tmds requested review from omajid, jerboaa and aslicerh October 13, 2017 16:09
@aslicerh
Copy link
Member

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.

@aslicerh
Copy link
Member

[cibuild]

Copy link
Contributor

@jerboaa jerboaa left a 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?

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}
Copy link
Contributor

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?

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}
Copy link
Contributor

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

OPENSHIFT_ONLY=${OPENSHIFT_ONLY:-false}

test_dir="$(readlink -zf $(dirname "${BASH_SOURCE[0]}"))"
source ${test_dir}/testcommon

dotnet_version_serie="2.0"
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo: dotnet_version_series

@tmds
Copy link
Member Author

tmds commented Oct 17, 2017

There seem to be some inconsistencies. Thoughts?

Thank you for catching these. I hadn't run the build test script stand-alone and changes to it were wrong.

Copy link
Contributor

@jerboaa jerboaa left a comment

Choose a reason for hiding this comment

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

LGTM.

@tmds tmds merged commit 4870c9b into redhat-developer:master Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants