Skip to content

Commit 31e70b7

Browse files
committed
updating jenkins workflow so it's submodule compatible
1 parent 585b272 commit 31e70b7

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

CI/validate_and_deploy/2_deploy/server_scripts/Dockerfile.wall_e

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ FROM $ORIGIN_IMAGE
44

55
COPY wall_e ./
66

7+
COPY .wall_e_models/wall_e_models wall_e_models
8+
79
COPY CI/validate_and_deploy/2_deploy/create-database.ddl .
810

911
COPY CI/validate_and_deploy/2_deploy/server_scripts/wait-for-postgres.sh .

CI/validate_and_deploy/2_deploy/server_scripts/Dockerfile.wall_e_base

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ WORKDIR $CONTAINER_HOME_DIR
1010

1111
COPY wall_e/requirements.txt .
1212

13-
RUN pip install --no-cache-dir -r requirements.txt
13+
RUN pip install --no-cache-dir -r requirements.txt
14+
15+
COPY .wall_e_models/requirements.txt wall_e_models_requirements.txt
16+
17+
RUN pip install --no-cache-dir -r wall_e_models_requirements.txt

CI/validate_and_deploy/2_deploy/server_scripts/deploy_to_prod_discord_guild.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ docker rm -f ${prod_container_name} || true
3939
docker image rm -f ${prod_image_name_lower_case} || true
4040
docker volume create --name="${COMPOSE_PROJECT_NAME}_logs"
4141

42+
git submodule update --init --recursive
4243

4344
re_create_top_base_image () {
4445
docker image rm -f "${prod_image_name_lower_case}" "${wall_e_top_base_image}" "${ORIGIN_IMAGE}"

0 commit comments

Comments
 (0)