-
Notifications
You must be signed in to change notification settings - Fork 20
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
set up CI to work w/pre-release OpenStudio packages by adding OPENSTUDIO_VERSION_EXT. #473
Conversation
we are going to wait until after 2.8.0 to tackle pre-release extensions. for now, tim will also publish a duplicate package in the legacy format (ie $VERSION.$SHA instead of $VERSION$EXT.$SHA) |
@anyaelena - can you resolve these conflicts and I will review this. |
ok @nllong this is also ready for review publishing of OSS docker images and amis w/version extension should just work from master branch, assuming VERSION_EXT is set in server/lib/version.rb. |
actually @nllong hold off a little longer. i'm looking at moving our version/sha/ext config into a single yml file that can be referenced in travis, appveyor, and Dockerfile |
@@ -56,13 +56,14 @@ jobs: | |||
- BUILD_TYPE=docker | |||
before_script: | |||
# remove the .git in the .dockerignore so coverage can be reported correctly to coveralls | |||
- export OPENSTUDIO_TAG=$(ruby -e "load 'server/app/lib/openstudio_server/version.rb'; print OpenstudioServer::VERSION+OpenstudioServer::VERSION_EXT") |
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.
nice
|
||
ARG OPENSTUDIO_VERSION=2.8.0 | ||
#may include suffix | ||
ARG OPENSTUDIO_VERSION |
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.
looks like this is now going to be a required input... that is if the user does not specify the input then this won't build.
VERSION_EXT = ''.freeze # with preceding - or + | ||
OS_SHA = '55665635f0' |
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.
will this need to be specified every version change?
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.
looks good. Just one question related to having to specify the OS_SHA in the version.rb file.
…ver include version suffix.
…to a var at top of file)
closes #474 |
NOTE: adding separate issue/PR to allow Dockerfile to build off of pre-release OpenStudio Docker images. Changes to Dockerfile are not appropriate at this stage in the 2.8.0 release.