Skip to content

Commit

Permalink
Added slack msg for the start of the DIST alerts jobs.
Browse files Browse the repository at this point in the history
  • Loading branch information
danscales committed Nov 25, 2024
1 parent 83d33e5 commit a67a18e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/datapump/sync/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from ..util.gcs import get_gs_file_as_text, get_gs_files, get_gs_subfolders
from ..util.models import ContentDateRange
from ..util.util import log_and_notify_error
from ..util.slack import slack_webhook


class Sync(ABC):
Expand Down Expand Up @@ -770,6 +771,8 @@ def build_jobs (self, config: DatapumpConfig) -> List[Job]:

jobs: List[Job] = []

slack_webhook("INFO", f"Starting dist-alerts jobs for {self.dataset_name}/{latest_release}")

job = RasterVersionUpdateJob(
# Current week alerts tile set
id=str(uuid1()),
Expand Down

0 comments on commit a67a18e

Please sign in to comment.