Bump CrisisCleanup to Ruby 2.4.10

This commit is contained in:
Disassembler 2020-10-22 20:56:50 +02:00
parent 6ec890aa30
commit 99099e03bb
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
3 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "2.2.0-200621", "version": "2.2.0-201021",
"meta": { "meta": {
"title": "Crisis Cleanup", "title": "Crisis Cleanup",
"desc-cs": "Mapování následků katastrof", "desc-cs": "Mapování následků katastrof",
@ -8,7 +8,7 @@
}, },
"containers": { "containers": {
"crisiscleanup": { "crisiscleanup": {
"image": "crisiscleanup_2.2.0-200621", "image": "crisiscleanup_2.2.0-201021",
"depends": [ "depends": [
"crisiscleanup-postgres" "crisiscleanup-postgres"
], ],
@ -17,7 +17,7 @@
} }
}, },
"crisiscleanup-postgres": { "crisiscleanup-postgres": {
"image": "postgres_12.2.0-200621", "image": "postgres_12.4.0-201021",
"mounts": { "mounts": {
"crisiscleanup/postgres_data": "var/lib/postgresql" "crisiscleanup/postgres_data": "var/lib/postgresql"
} }

View File

@ -1,5 +1,5 @@
IMAGE crisiscleanup_2.2.0-200621 IMAGE crisiscleanup_2.2.0-201021
FROM alpine3.8-ruby2.4_2.4.9-200621 FROM alpine3.8-ruby2.4_2.4.10-201021
# yarn dependencies installation fails on nodejs>8 # yarn dependencies installation fails on nodejs>8
ENV RAILS_ENV production ENV RAILS_ENV production
@ -16,7 +16,7 @@ RUN EOF
git -C /srv/crisiscleanup checkout e362761e67e835d46c36073de1f95803737d1d29 git -C /srv/crisiscleanup checkout e362761e67e835d46c36073de1f95803737d1d29
# Hackfix ruby dependency versions # Hackfix ruby dependency versions
sed -i 's/ruby "2\.4\.4"/ruby "2.4.9"/' /srv/crisiscleanup/Gemfile sed -i 's/ruby "2\.4\.4"/ruby "2.4.10"/' /srv/crisiscleanup/Gemfile
gem install bundler:1.16.6 gem install bundler:1.16.6
# Install Ruby and NodeJS dependencies # Install Ruby and NodeJS dependencies

View File

@ -4,7 +4,7 @@ set -ev
# Volumes # Volumes
POSTGRES_DATA="${VOLUMES_DIR}/crisiscleanup/postgres_data" POSTGRES_DATA="${VOLUMES_DIR}/crisiscleanup/postgres_data"
CC_CONF="${VOLUMES_DIR}/crisiscleanup/cc_conf" CC_CONF="${VOLUMES_DIR}/crisiscleanup/cc_conf"
CC_LAYER="${LAYERS_DIR}/crisiscleanup_2.2.0-200621" CC_LAYER="${LAYERS_DIR}/crisiscleanup_2.2.0-201021"
# Create Postgres instance # Create Postgres instance
install -o 105432 -g 105432 -m 700 -d ${POSTGRES_DATA} install -o 105432 -g 105432 -m 700 -d ${POSTGRES_DATA}