Skip to content

Commit

Permalink
Merge pull request #556 from NREL/v3.0.0-rc3
Browse files Browse the repository at this point in the history
v3.0.0 rc3
  • Loading branch information
tijcolem authored Apr 14, 2020
2 parents 75df3f3 + 805086a commit 84aefd0
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ language: minimal
env:
global:
- USE_TESTING_TIMEOUTS: "true"
- OPENSTUDIO_VERSION=3.0.0 OPENSTUDIO_VERSION_SHA=c1a45f4753 OPENSTUDIO_VERSION_EXT=-rc2
- OPENSTUDIO_VERSION=3.0.0 OPENSTUDIO_VERSION_SHA=949b904134 OPENSTUDIO_VERSION_EXT=-rc3
- DOCKER_COMPOSE_VERSION=1.21.1
- BUNDLE_WITHOUT=native_ext

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# NOTES: Currently this is one big dockerfile and non-optimal.

#may include suffix
ARG OPENSTUDIO_VERSION=3.0.0-rc2
ARG OPENSTUDIO_VERSION=3.0.0-rc3
FROM nrel/openstudio:$OPENSTUDIO_VERSION as base
MAINTAINER Nicholas Long [email protected]

Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ version: 1.0.{build}-{branch}
environment:
USE_TESTING_TIMEOUTS: "true"
OPENSTUDIO_VERSION: 3.0.0
OPENSTUDIO_VERSION_SHA: c1a45f4753
OPENSTUDIO_VERSION_EXT: -rc2
OPENSTUDIO_VERSION_SHA: 949b904134
OPENSTUDIO_VERSION_EXT: -rc3
OPENSTUDIO_TEST_EXE: C:\projects\openstudio\bin\openstudio.exe
RUBY_VERSION: 25-x64
BUNDLER_VERSION: 2.1.0
Expand Down
4 changes: 2 additions & 2 deletions ci/appveyor/setup.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ set GEM_HOME=C:\projects\openstudio-server\gems
set GEM_PATH=C:\projects\openstudio-server\gems;C:\projects\openstudio-server\gems\gems\bundler\gems
echo Downloading and Installing OpenStudio (develop branch, %OPENSTUDIO_VERSION%%OPENSTUDIO_VERSION_EXT%.%OPENSTUDIO_VERSION_SHA%)
REM install develop build
curl -SLO --insecure https://openstudio-builds.s3.amazonaws.com/3.0.0/OpenStudio-3.0.0-rc2%%2Bc1a45f4753-Windows.exe
OpenStudio-3.0.0-rc2%%2Bc1a45f4753-Windows.exe --script ci/appveyor/install-windows.qs
curl -SLO --insecure https://openstudio-builds.s3.amazonaws.com/3.0.0/OpenStudio-3.0.0-rc3%%2B949b904134-Windows.exe
OpenStudio-3.0.0-rc3%%2B949b904134-Windows.exe --script ci/appveyor/install-windows.qs
move C:\openstudio C:\projects\openstudio
dir C:\projects\openstudio
dir C:\projects\openstudio\Ruby
Expand Down
2 changes: 1 addition & 1 deletion ci/travis/install_openstudio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [ ! -z ${OPENSTUDIO_VERSION} ] && [ ! -z ${OPENSTUDIO_SHA} ]; then
# OPENSTUDIO_VERSION_EXT may be empty
#OPENSTUDIO_DOWNLOAD_FILENAME=OpenStudio-$OPENSTUDIO_VERSION$OPENSTUDIO_VERSION_EXT.$OPENSTUDIO_SHA-Linux.deb
# Dev3 hardcoding:
OPENSTUDIO_DOWNLOAD_FILENAME=OpenStudio-3.0.0-rc2%2Bc1a45f4753-Linux.deb
OPENSTUDIO_DOWNLOAD_FILENAME=OpenStudio-3.0.0-rc3%2B949b904134-Linux.deb

echo "Installing OpenStudio ${OPENSTUDIO_DOWNLOAD_FILENAME}"

Expand Down
8 changes: 4 additions & 4 deletions ci/travis/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ else
cp mongodb-osx-x86_64-3.4.18/bin/* /usr/local/bin/

# Install openstudio -- Use the install script that is in this repo now, the one on OpenStudio/develop has changed
curl -SLO --insecure https://openstudio-builds.s3.amazonaws.com/3.0.0/OpenStudio-3.0.0-rc2%2Bc1a45f4753-Darwin.dmg
curl -SLO --insecure https://openstudio-builds.s3.amazonaws.com/3.0.0/OpenStudio-3.0.0-rc3%2B949b904134-Darwin.dmg
# OSX downloads with %2B. These are unsafe chars in url strings
hdiutil attach OpenStudio-3.0.0-rc2%2Bc1a45f4753-Darwin.dmg
hdiutil attach OpenStudio-3.0.0-rc3%2B949b904134-Darwin.dmg
sed -i -e "s|REPLACEME|$HOME/openstudio|" ci/travis/install-mac.qs
rm -rf $HOME/openstudio
# Will install into $HOME/openstudio and RUBYLIB will be $HOME/openstudio/Ruby
sudo /Volumes/OpenStudio-3.0.0-rc2+c1a45f4753-Darwin/OpenStudio-3.0.0-rc2+c1a45f4753-Darwin.app/Contents/MacOS/OpenStudio-3.0.0-rc2+c1a45f4753-Darwin --script ci/travis/install-mac.qs
hdiutil detach /Volumes/OpenStudio-3.0.0-rc2+c1a45f4753 -force
sudo /Volumes/OpenStudio-3.0.0-rc3+949b904134-Darwin/OpenStudio-3.0.0-rc3+949b904134-Darwin.app/Contents/MacOS/OpenStudio-3.0.0-rc3+949b904134-Darwin --script ci/travis/install-mac.qs
hdiutil detach /Volumes/OpenStudio-3.0.0-rc3+949b904134 -force

export PATH="$TRAVIS_BUILD_DIR/gems/bin:/usr/local/opt/[email protected]/bin:$HOME/openstudio/bin:$PATH"
export RUBYLIB="$HOME/openstudio/Ruby"
Expand Down
4 changes: 2 additions & 2 deletions server/app/lib/openstudio_server/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ module OpenstudioServer
VERSION = '3.0.0'.freeze
# format should be ^.*\-{1}[a-z]+[0-9]+
# for example: -rc1, -beta6, -customusecase0
VERSION_EXT = '-rc2'.freeze # with preceding - or +
OS_SHA = 'c1a45f4753'
VERSION_EXT = '-rc3'.freeze # with preceding - or +
OS_SHA = '949b904134'
end

0 comments on commit 84aefd0

Please sign in to comment.