From b76058177d73b2973c29dcfecfabd8fe1ab9a6d2 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 30 Aug 2017 17:20:40 +0100 Subject: baserock_ostree: Add 'releases' repo This is different from the existing 'cache' repo in that we should be careful what we push to it, and we should never delete things from it once they have been made public. Pushing to the releases repo should be done with ostree-push/receive rather than BuildStream. I've set up the receive hook on the server. The upstream repo of ostree-push/receive seems abandoned so I have been using a fork: https://github.com/ssssam/ostree-push See also: https://listmaster.pepperfish.net/pipermail/baserock-dev-baserock.org/2017-September/013811.html https://gitlab.com/baserock/definitions/merge_requests/58 --- .../etc/systemd/system/ostree-update-summary-releases.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 baserock_ostree/etc/systemd/system/ostree-update-summary-releases.service (limited to 'baserock_ostree/etc/systemd/system/ostree-update-summary-releases.service') diff --git a/baserock_ostree/etc/systemd/system/ostree-update-summary-releases.service b/baserock_ostree/etc/systemd/system/ostree-update-summary-releases.service new file mode 100644 index 00000000..fdb557f1 --- /dev/null +++ b/baserock_ostree/etc/systemd/system/ostree-update-summary-releases.service @@ -0,0 +1,11 @@ +[Unit] +Description = Update OSTree summary files for 'releases' repo + +[Service] +Type = oneshot +ExecStart = /usr/bin/ostree --repo=/srv/ostree/releases/ summary -u +User = ostree-releases +Group = ostree-releases + +[Install] +WantedBy=default.target -- cgit v1.2.1