Skip to content

Commit

Permalink
updating jenkins workflow so it's submodule compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
modernNeo committed Oct 27, 2024
1 parent 585b272 commit 31e70b7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ FROM $ORIGIN_IMAGE

COPY wall_e ./

COPY .wall_e_models/wall_e_models wall_e_models

COPY CI/validate_and_deploy/2_deploy/create-database.ddl .

COPY CI/validate_and_deploy/2_deploy/server_scripts/wait-for-postgres.sh .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ WORKDIR $CONTAINER_HOME_DIR

COPY wall_e/requirements.txt .

RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

COPY .wall_e_models/requirements.txt wall_e_models_requirements.txt

RUN pip install --no-cache-dir -r wall_e_models_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ docker rm -f ${prod_container_name} || true
docker image rm -f ${prod_image_name_lower_case} || true
docker volume create --name="${COMPOSE_PROJECT_NAME}_logs"

git submodule update --init --recursive

re_create_top_base_image () {
docker image rm -f "${prod_image_name_lower_case}" "${wall_e_top_base_image}" "${ORIGIN_IMAGE}"
Expand Down

0 comments on commit 31e70b7

Please sign in to comment.