Files
fish-shell/updatecli.d/cirrus-freebsd.yml
Johannes Altmanninger daadd81ab6 More automation for updating dependencies
- Convert update checks in check.sh to mechanical updates.
  - Use https://www.updatecli.io/ for now, which is not as
    full-featured as renovatebot or dependabot, but I found it easier
    to plug arbitrary shell scripts into.
- Add updaters for
  - ubuntu-latest-lts (which is similar to GitHub Action's "ubuntu-latest").
  - FreeBSD image used in Cirrus (requires "gcloud auth login" for now,
    see https://github.com/cirruslabs/cirrus-ci-docs/issues/1315)
  - littlecheck and widecharwidth
- Update all dependencies except Cargo ones.
- As a reminder, our version policies are arbitrary and can be changed
  as needed.
- To-do:
  - Add updaters for GitHub Actions (such as "actions/checkout").
    Renovatebot could do that.
2025-11-01 12:55:01 +01:00

22 lines
661 B
YAML

name: "Update FreeBSD image used in Cirrus CI"
sources:
freebsd_stable_version:
kind: shell
spec:
shell: bash
command: |
set -eo pipefail
gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images |
grep -o '^freebsd-.*-release-amd64-ufs' |
tail -1
targets:
cirrus_freebsd_stable_version:
name: "Update FreeBSD stable version"
sourceid: freebsd_stable_version
kind: file
spec:
file: .cirrus.yml
matchpattern: "image: freebsd-.*-release-amd64-ufs.*"
replacepattern: 'image: {{ source "freebsd_stable_version" }} # updatecli.d/cirrus-freebsd.yml'