Re: Advice on Using 0install
"Bastian Eicher" <[email protected]> Tue, 8 Feb 2022 18:38:08 +0100
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Robin, we run 0repo in GitHub Actions pipelines to manage the feeds hosted at https://apps.0install.net/. You can take a look at the setup here: https://github.com/0install/apps/tree/master/.github/workflows However, for a single feed 0repo is most likely overkill and 0publish is probably a better choice. Using it in a CI pipeline could look something like this: # Import GnuPG key without password for automatic signing gpg --quiet --import key.gpg # Download existing feed scp myserver:myapp.xml myapp.xml # Generate partial feed for new release 0template myapp.xml.template version=$VERSION # Merge generated partial feed into existing feed # Note: Feed is automatically resigned using the same GPG key 0publish myapp.xml -a myapp-$VERSION.xml # Upload resulting feed scp myapp.xml myserver:myapp.xml Regards Bastian --- Original message --- From: Robin Moss <[email protected]> Sent: 7th of Februar 2022 17:12 To: [email protected] Subject: [Zero-install-devel] Advice on Using 0install Hello, We're evaluating using 0install and I would like some advice on how to get it setup for our use case. We have an existing build and release pipeline and would like to use 0install as an easy way for people within the company to install the internal product. I'm trying to understand how best to integrate 0install into this pipeline to produce just the feed file. I've gotten as far as using 0template to generate new files for releases, but 0repo doesn't seem ready for use in an automated pipeline yet, so I was then looking at 0publish as an alternative, although I'm not sure 0template and 0publish are compatible. Thanks in advance for any help and advice. Regards, Robin