Skip to content

Commit c4f9852

Browse files
committed
Revert previous revision as it causes CI errors and should really go into a new
branch to completely address the state init issues for the included 'production' example.
1 parent 3a80a32 commit c4f9852

File tree

4 files changed

+7
-15
lines changed

4 files changed

+7
-15
lines changed

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ initdirs:
8787
mkdir -p httpd
8888
mkdir -p mig
8989
mkdir -p state
90-
mkdir -p volatile
91-
mkdir -p volatile/mig_system_run
92-
mkdir -p volatile/openid_store
9390
mkdir -p log/migrid
9491
mkdir -p log/migrid-io
9592
mkdir -p log/migrid-openid
@@ -190,7 +187,7 @@ clean:
190187
[ -L ./certs ] || [ -f ./certs/.persistent ] || rm -fr ./certs
191188

192189
stateclean: warning
193-
rm -rf ./state ./volatile
190+
rm -rf ./state
194191

195192
# IMPORTANT: this target is meant to reset the dir to a pristine checkout
196193
# and thus runs full clean up of even the state dir with user data

development.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ EXTRA_USERPAGE_STYLES=""
184184
# sudo mount /storage/tmpfs/mig_system_run
185185
# NOTE: toggle commenting on next two lines if you have such a tmpfs set up in the given path
186186
#MIG_SYSTEM_RUN=/storage/tmpfs/mig_system_run
187-
MIG_SYSTEM_RUN=${DOCKER_MIGRID_ROOT}/volatile/mig_system_run
187+
MIG_SYSTEM_RUN=${DOCKER_MIGRID_ROOT}/state/mig_system_run
188188
# The apache auth openid module performs and scales better if the associated
189189
# internal openid store directory runs from fast storage. It's a volatile data
190190
# store, which allows more concurrent OpenID 2.0 clients if it e.g. uses tmpfs.
@@ -193,7 +193,7 @@ MIG_SYSTEM_RUN=${DOCKER_MIGRID_ROOT}/volatile/mig_system_run
193193
# Otherwise you can safely ignore the OPENID_STORE setting.
194194
# NOTE: toggle commenting on next two lines if you have such a tmpfs set up in the given path
195195
#OPENID_STORE=/storage/tmpfs/openid_store
196-
OPENID_STORE=${DOCKER_MIGRID_ROOT}/volatile/openid_store
196+
OPENID_STORE=${DOCKER_MIGRID_ROOT}/state/openid_store
197197
# We need a read-only bind mounted version of the vgrid_files_writable
198198
# directory and the underlying location can be configured here.
199199
VGRID_FILES_WRITABLE=${DOCKER_MIGRID_ROOT}/state/vgrid_files_writable

development_gdp.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ EXTRA_USERPAGE_STYLES=""
185185
# sudo mount /storage/tmpfs/mig_system_run
186186
# NOTE: toggle commenting on next two lines if you have such a tmpfs set up in the given path
187187
#MIG_SYSTEM_RUN=/storage/tmpfs/mig_system_run
188-
MIG_SYSTEM_RUN=${DOCKER_MIGRID_ROOT}/volatile/mig_system_run
188+
MIG_SYSTEM_RUN=${DOCKER_MIGRID_ROOT}/state/mig_system_run
189189
# The apache auth openid module performs and scales better if the associated
190190
# internal openid store directory runs from fast storage. It's a volatile data
191191
# store, which allows more concurrent OpenID 2.0 clients if it e.g. uses tmpfs.
@@ -194,7 +194,7 @@ MIG_SYSTEM_RUN=${DOCKER_MIGRID_ROOT}/volatile/mig_system_run
194194
# Otherwise you can safely ignore the OPENID_STORE setting.
195195
# NOTE: toggle commenting on next two lines if you have such a tmpfs set up in the given path
196196
#OPENID_STORE=/storage/tmpfs/openid_store
197-
OPENID_STORE=${DOCKER_MIGRID_ROOT}/volatile/openid_store
197+
OPENID_STORE=${DOCKER_MIGRID_ROOT}/state/openid_store
198198
# We need a read-only bind mounted version of the vgrid_files_writable
199199
# directory and the underlying location can be configured here.
200200
VGRID_FILES_WRITABLE=${DOCKER_MIGRID_ROOT}/state/vgrid_files_writable

production.env

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ EXTRA_USERPAGE_STYLES=""
185185
# sudo mount /storage/tmpfs/mig_system_run
186186
# NOTE: toggle commenting on next two lines if you have such a tmpfs set up in the given path
187187
#MIG_SYSTEM_RUN=/storage/tmpfs/mig_system_run
188-
MIG_SYSTEM_RUN=${DOCKER_MIGRID_ROOT}/volatile/mig_system_run
188+
MIG_SYSTEM_RUN=${DOCKER_MIGRID_ROOT}/state/mig_system_run
189189
# The apache auth openid module performs and scales better if the associated
190190
# internal openid store directory runs from fast storage. It's a volatile data
191191
# store, which allows more concurrent OpenID 2.0 clients if it e.g. uses tmpfs.
@@ -194,14 +194,9 @@ MIG_SYSTEM_RUN=${DOCKER_MIGRID_ROOT}/volatile/mig_system_run
194194
# Otherwise you can safely ignore the OPENID_STORE setting.
195195
# NOTE: toggle commenting on next two lines if you have such a tmpfs set up in the given path
196196
#OPENID_STORE=/storage/tmpfs/openid_store
197-
OPENID_STORE=${DOCKER_MIGRID_ROOT}/volatile/openid_store
197+
OPENID_STORE=${DOCKER_MIGRID_ROOT}/state/openid_store
198198
# We need a read-only bind mounted version of the vgrid_files_writable
199199
# directory and the underlying location can be configured here.
200-
# If you mount your user data storage on a different location say outside the
201-
# docker-migrid root you'd want to adjust the value here to also point into
202-
# that location.
203-
# NOTE: toggle commenting on next two lines if you have a netfs mount set up in the given path
204-
#VGRID_FILES_WRITABLE=/storage/netfs/vgrid_files_writable
205200
VGRID_FILES_WRITABLE=${DOCKER_MIGRID_ROOT}/state/vgrid_files_writable
206201

207202
# Which svn repo and version of migrid should be used

0 commit comments

Comments
 (0)