diff --git a/README.md b/README.md index 1e56612..095b01e 100644 --- a/README.md +++ b/README.md @@ -33,12 +33,12 @@ Binaries can be found under the CI Build link, at the top right in the GitHub Actions page. | Application | Repository | Commit Timestamp | Container Image | CI Build | -| ------------------- | ----------------------------------------------------------------------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| bb-browser | [bb-browser](https://github.com/buildbarn/bb-browser) | 2023-11-03 13:42:27 UTC | [ghcr.io/buildbarn/bb-storage:20231111T202247Z-ece87ab](ghcr.io/buildbarn/bb-storage:20231111T202247Z-ece87ab) | [`794e38071d7a18babfc6c57643767d26415dcd63`](https://github.com/buildbarn/bb-browser/commit/794e38071d7a18babfc6c57643767d26415dcd63/checks) | -| bb-runner-installer | [bb-remote-execution](https://github.com/buildbarn/bb-remote-execution) | 2023-11-14 14:07:35 UTC | [ghcr.io/buildbarn/bb-runner-installer:20231114T140735Z-33a0262](ghcr.io/buildbarn/bb-runner-installer:20231114T140735Z-33a0262) | [`33a02620cd6efedf4963143a930df009f93493b5`](https://github.com/buildbarn/bb-remote-execution/commit/33a02620cd6efedf4963143a930df009f93493b5/checks) | -| bb-scheduler | [bb-remote-execution](https://github.com/buildbarn/bb-remote-execution) | 2023-11-14 14:07:35 UTC | [ghcr.io/buildbarn/bb-scheduler:20231114T140735Z-33a0262](ghcr.io/buildbarn/bb-scheduler:20231114T140735Z-33a0262) | [`33a02620cd6efedf4963143a930df009f93493b5`](https://github.com/buildbarn/bb-remote-execution/commit/33a02620cd6efedf4963143a930df009f93493b5/checks) | -| bb-worker | [bb-remote-execution](https://github.com/buildbarn/bb-remote-execution) | 2023-11-14 14:07:35 UTC | [ghcr.io/buildbarn/bb-worker:20231114T140735Z-33a0262](ghcr.io/buildbarn/bb-worker:20231114T140735Z-33a0262) | [`33a02620cd6efedf4963143a930df009f93493b5`](https://github.com/buildbarn/bb-remote-execution/commit/33a02620cd6efedf4963143a930df009f93493b5/checks) | -| bb-storage | [bb-storage](https://github.com/buildbarn/bb-storage) | 2023-11-11 20:22:47 UTC | [ghcr.io/buildbarn/bb-storage:20231111T202247Z-ece87ab](ghcr.io/buildbarn/bb-storage:20231111T202247Z-ece87ab) | [`ece87ab6dc2a9e1e592d2032f5a02c3694765cfc`](https://github.com/buildbarn/bb-storage/commit/ece87ab6dc2a9e1e592d2032f5a02c3694765cfc/checks) | +| ------------------- | ----------------------------------------------------------------------- | ----------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -----------------------------------------------------------------------------------------------------------------------| +| bb-browser | [bb-browser](https://github.com/buildbarn/bb-browser) | 2023-11-03 13:42:27 UTC | [ghcr.io/buildbarn/bb-storage:20231111T202247Z-ece87ab](ghcr.io/buildbarn/bb-storage:20231111T202247Z-ece87ab) | [`794e38071d7a18babfc6c57643767d26415dcd63`](https://github.com/buildbarn/bb-browser/actions/runs/6745964234) | +| bb-runner-installer | [bb-remote-execution](https://github.com/buildbarn/bb-remote-execution) | 2023-11-14 14:07:35 UTC | [ghcr.io/buildbarn/bb-runner-installer:20231114T140735Z-33a0262](ghcr.io/buildbarn/bb-runner-installer:20231114T140735Z-33a0262) | [`33a02620cd6efedf4963143a930df009f93493b5`](https://github.com/buildbarn/bb-remote-execution/actions/runs/6864755846) | +| bb-scheduler | [bb-remote-execution](https://github.com/buildbarn/bb-remote-execution) | 2023-11-14 14:07:35 UTC | [ghcr.io/buildbarn/bb-scheduler:20231114T140735Z-33a0262](ghcr.io/buildbarn/bb-scheduler:20231114T140735Z-33a0262) | [`33a02620cd6efedf4963143a930df009f93493b5`](https://github.com/buildbarn/bb-remote-execution/actions/runs/6864755846) | +| bb-worker | [bb-remote-execution](https://github.com/buildbarn/bb-remote-execution) | 2023-11-14 14:07:35 UTC | [ghcr.io/buildbarn/bb-worker:20231114T140735Z-33a0262](ghcr.io/buildbarn/bb-worker:20231114T140735Z-33a0262) | [`33a02620cd6efedf4963143a930df009f93493b5`](https://github.com/buildbarn/bb-remote-execution/actions/runs/6864755846) | +| bb-storage | [bb-storage](https://github.com/buildbarn/bb-storage) | 2023-11-11 20:22:47 UTC | [ghcr.io/buildbarn/bb-storage:20231111T202247Z-ece87ab](ghcr.io/buildbarn/bb-storage:20231111T202247Z-ece87ab) | [`ece87ab6dc2a9e1e592d2032f5a02c3694765cfc`](https://github.com/buildbarn/bb-storage/actions/runs/6836384126) | ## Changelog diff --git a/tools/update-container-image-versions.sh b/tools/update-container-image-versions.sh index 4ba5320..7b1cfb7 100755 --- a/tools/update-container-image-versions.sh +++ b/tools/update-container-image-versions.sh @@ -34,6 +34,29 @@ get_full_git_commit_hash() { | sed 's#.*.*#\1#' } +actions_summary_page() { + checks_url=$1; shift + + ### The result is a nested span within a `href` tag. + # So we capture each href tag as we pass them, + # and when we see the needle "on: push" + # we can print the last href tag we encountered. + res="$(curl -s "$checks_url" | awk ' + { + if ($0 ~/