Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.63 KB

File metadata and controls

32 lines (22 loc) · 1.63 KB

Build Status

Wo ist Markt? Berlin update reminder

A maintenance script for the Wo ist Markt? project to automatically check if the market data for Berlin is still available and whether it has changed.

Project description

First, the site checks whether the market data for Berlin is still available. That is, whether daten.berlin.de as well as its GeoJSON endpoint are still available.

Second, the script compares two time stamps with each other. One is extracted from the market data website of the Berlin data portal. The Aktualisiert: date is picked here. The other is parsed from the Berlin market data JSON file which is rendered at the Wo ist Markt? website. The file contains a title property which contains the relevant date.

On Travis CI a CRON job is configured to regularly execute the script. The build job fails if the time stamps differ.

Travis CI is further configured to send Slack messages to the #wo-ist-markt-ci channel.