Skip to content

Commit

Permalink
buildbot: write table-of-hardware.csv only if sync succeeded
Browse files Browse the repository at this point in the history
  • Loading branch information
pktpls authored and FFHener committed Feb 7, 2024
1 parent 2b3bd05 commit 7e1ab0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/buildbot/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,6 @@
day: '*'
hour: 1
minute: 0
job: curl https://openwrt.org/_media/toh_dump_tab_separated.gz | gunzip > /usr/local/src/www/htdocs/buildbot/openwrt-table-of-hardware.csv
job: "curl https://openwrt.org/_media/toh_dump_tab_separated.gz | gunzip > /usr/local/src/www/htdocs/buildbot/openwrt-table-of-hardware.csv.tmp && mv /usr/local/src/www/htdocs/buildbot/openwrt-table-of-hardware.csv{.tmp,}'"
user: buildbot
cron_file: sync_table_of_hardware

0 comments on commit 7e1ab0e

Please sign in to comment.