Skip to content
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

phase1 docker image can be built and deployed #1757

Merged
merged 1 commit into from
Jul 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and releases in Jupiter project adheres to [Semantic Versioning](http://semver.o

## [Unreleased]

### Fixed
- docker image can be built and deployed

## [2.0.0.pre2.5] 2020-07-03

### Fixed
Expand Down
6 changes: 5 additions & 1 deletion Dockerfile.deployment
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.5.0
FROM ruby:2.6
LABEL maintainer="University of Alberta Libraries"

# Need to add jessie-backports repo so we can get FFMPEG, doesn't come with jessie debian by default
Expand Down Expand Up @@ -38,6 +38,10 @@ ENV APP_ROOT /app
RUN mkdir -p $APP_ROOT
WORKDIR $APP_ROOT

# Update bundler
RUN gem update --system
RUN gem install bundler:2.1.4

# Preinstall gems in an earlier layer so we don't reinstall every time any file changes.
COPY Gemfile $APP_ROOT
COPY Gemfile.lock $APP_ROOT
Expand Down
2 changes: 1 addition & 1 deletion bin/predeploy
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -o nounset
[[ -n "${TRACE:-}" ]] && set -o xtrace


readonly branch_name="master"
readonly branch_name="integration_migration_phase1"
readonly install_directory="/home/deploy/jupiter"

mkdir -p "${install_directory}"
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ services:
# Sidekiq
worker: &rails
restart: always
image: ualbertalib/jupiter:deployment
image: ualbertalib/jupiter:2.0.0.pre
volumes:
- file-storage:/app/storage/
command: bundle exec sidekiq
Expand Down
2 changes: 1 addition & 1 deletion lib/jupiter/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Jupiter
VERSION = '1.2.17'.freeze
VERSION = '2.0.0.pre'.freeze
end