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

test image CI #24

Merged
merged 3 commits into from
Sep 22, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion examples/em-server-multi-tier-cronjob/analysis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# python 3
FROM emission/e-mission-server.dev.server-only:4.0.0
FROM agutt/e-mission-server:ceo_ebike_project_2022-09-19--45-23
shankari marked this conversation as resolved.
Show resolved Hide resolved
shankari marked this conversation as resolved.
Show resolved Hide resolved

COPY conf /conf

Expand Down
4 changes: 2 additions & 2 deletions examples/em-server-multi-tier-cronjob/analysis/start_cron.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
source /clone_server.sh
source ./.docker/setup_config.sh
shankari marked this conversation as resolved.
Show resolved Hide resolved

if [[ -v SIMPLE_INDICES ]]; then
echo "Replacing database indices for compatibility with DocumentDB"
Expand Down Expand Up @@ -29,4 +29,4 @@ pip install devcron
# launch the cronjob
echo "Launch the cronjob"
# while true; do sleep 30; done;
devcron ../crontab >> /var/log/cron.console.stdinout 2>&1
devcron ./crontab >> /var/log/cron.console.stdinout 2>&1
shankari marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion examples/em-server-multi-tier-cronjob/webapp/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# python 3
FROM emission/e-mission-server.dev.server-only:4.0.0
FROM agutt/e-mission-server:ceo_ebike_project_2022-09-19--45-23
shankari marked this conversation as resolved.
Show resolved Hide resolved

COPY conf /conf

Expand Down
5 changes: 3 additions & 2 deletions examples/em-server-multi-tier-cronjob/webapp/start_script.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/env bash
source /clone_server.sh

source ./.docker/setup_config.sh
shankari marked this conversation as resolved.
Show resolved Hide resolved

if [[ -v SIMPLE_INDICES ]]; then
echo "Replacing database indices for compatibility with DocumentDB"
sed -i -e "s|HASHED|ASCENDING|" emission/core/get_database.py
sed -i -e "/GEOSPHERE/d" emission/core/get_database.py
fi

source /start_script.sh
source ./.docker/docker_start_script.sh