Skip to content

Commit

Permalink
Update handling of versions
Browse files Browse the repository at this point in the history
  • Loading branch information
tcompa committed Oct 3, 2023
1 parent b17e255 commit c6a2de5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
14 changes: 14 additions & 0 deletions config.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

# Client
# FRACTAL_CLIENT_RELEASE=1.3.5
# FRACTAL_CLIENT_GIT=

# server
FRACTAL_SERVER_RELEASE=1.3.5
# FRACTAL_SERVER_GIT=

# Tasks
# FRACTAL_TASKS_CORE_RELEASE=2342

# Web client
# FRACTAL_WEB_GIT=1221
14 changes: 0 additions & 14 deletions config_env.sh

This file was deleted.

2 changes: 1 addition & 1 deletion server/Dockerfile.step2.server
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM fractal/server-base:1
COPY server/server.env ./.fractal_server.env

# Install fractal-server (behavior depends on some environment variables)
COPY config_env.sh .
COPY config.env .
COPY server/install_fractal_server.sh .
RUN bash install_fractal_server.sh

Expand Down
6 changes: 3 additions & 3 deletions server/install_fractal_server.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export $(grep -v '^#' config_env.sh | xargs)
export FRACTAL_SERVER_RELEASE=asdasd
# export $(grep -v '^#' config_env.sh | xargs)
source config.env

echo "FRACTAL_SERVER_RELEASE: $FRACTAL_SERVER_RELEASE"
echo "FRACTAL_SERVER_GIT: $FRACTAL_SERVER_GIT"

pip install fractal-server[postgres,gunicorn]==1.3.8a3
pip install fractal-server[postgres,gunicorn]==$FRACTAL_SERVER_RELEASE

0 comments on commit c6a2de5

Please sign in to comment.