Skip to content

Commit

Permalink
ci: reset to production CI/CD Pipeline settings
Browse files Browse the repository at this point in the history
  • Loading branch information
boromir674 committed Nov 2, 2024
1 parent 308d54f commit ca368aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:
####### Pipeline Settings #######

##### JOB ON/OFF SWITCHES #####
RUN_UNIT_TESTS: "false"
RUN_UNIT_TESTS: "true"
RUN_LINT_CHECKS: "true"
PUBLISH_ON_PYPI: "true"
DRAW_DEPENDENCIES: "true"
Expand All @@ -46,7 +46,7 @@ env:
# Override Docker Policy-dependent decision-making and
# Accept any ALL (branch/build) to Publish to Dockerhub
# if true, will push image and ingnore below policy
ALWAYS_BUILD_N_PUBLSIH_DOCKER: "true"
ALWAYS_BUILD_N_PUBLSIH_DOCKER: "false"

# CDeployment : Builds and Publishes only if Tests ran and passed
# CDelivery : Builds and Publishes if Tests Passed or if Tests were Skipped
Expand Down
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,11 @@ COPY ${DEMO_STYLE_IMAGE} "${REPO_DEMO_IMAGES_LOCATION}/"
# ie if on host is tests/data/blue-red_w300-h225.jpg
# then in image it will be /app/tests/data/blue-red_w300-h225.jpg

# Indicate that these are valid Content and Style Images for Demo
# Show nst where to find the Demo Content and Style Images

# locate Content and Style Images inside docker-image for 'demo' CLI command
ENV CONTENT_IMAGE_DEMO="/app/${DEMO_CONTENT_IMAGE}"
ENV STYLE_IMAGE_DEMO="/app/${DEMO_STYLE_IMAGE}"


# Define default command, that when run, a python process is spawned, which
# runs the NST Algorithm on the Demo Content and Style Images for a few iterations
CMD ["nst", "demo"]

### Stage: Default Target (for Production)
Expand Down

0 comments on commit ca368aa

Please sign in to comment.