Skip to content

Commit

Permalink
Merge branch 'main' into mwoffliner_1_14
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 authored Jul 17, 2024
2 parents a33586e + 75d0f4a commit 8ec898e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions dispatcher/backend/maint-scripts/create_ted_topics_recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_ted_topics():


def create_recipe(ted_topic_name: str, access_token):
clean_ted_topic_name = ted_topic_name.replace(" ", "-")
clean_ted_topic_name = ted_topic_name.replace(" ", "-").replace("'", "")
schedule_name = f"ted_topic_{clean_ted_topic_name}"
response = requests.get(
get_url(f"/schedules/{schedule_name}"),
Expand Down Expand Up @@ -125,7 +125,8 @@ def main(zf_username, zf_password):
access_token, refresh_token = get_token(zf_username, zf_password)

ted_topics = get_ted_topics()
logger.debug(ted_topics)
logger.debug(",".join((ted_topics)))
logger.debug(",".join(sorted(ted_topics)))
for topic in ted_topics:
if topic != "street art":
continue
Expand Down
2 changes: 1 addition & 1 deletion receiver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ VOLUME /mnt/quarantine
VOLUME /mnt/zim
VOLUME /mnt/check_logs

ENV ZIM_TOOLS_URL https://download.openzim.org/release/zim-tools/zim-tools_linux-x86_64-3.4.1.tar.gz
ENV ZIM_TOOLS_URL https://download.openzim.org/release/zim-tools/zim-tools_linux-x86_64-3.4.2.tar.gz
ENV ZIM_SRC_DIR /jail/zim
ENV ZIM_DST_DIR /mnt/zim
ENV ZIM_QUAR_DIR /mnt/quarantine
Expand Down
2 changes: 1 addition & 1 deletion workers/app/common/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
)
DNSCACHE_IMAGE = os.getenv("DNSCACHE_IMAGE") or "ghcr.io/openzim/dnscache:latest"
UPLOADER_IMAGE = os.getenv("UPLOADER_IMAGE") or "ghcr.io/openzim/uploader:latest"
CHECKER_IMAGE = os.getenv("CHECKER_IMAGE") or "ghcr.io/openzim/zim-tools:3.4.1"
CHECKER_IMAGE = os.getenv("CHECKER_IMAGE") or "ghcr.io/openzim/zim-tools:3.4.2"
MONITOR_IMAGE = os.getenv("MONITOR_IMAGE") or "ghcr.io/openzim/zimfarm-monitor:latest"

# paths
Expand Down

0 comments on commit 8ec898e

Please sign in to comment.