From 0beaa9733caa4c68057e12c70ff5003eb4fac33c Mon Sep 17 00:00:00 2001 From: Nikolay Govorov Date: Mon, 30 Mar 2026 05:03:24 +0100 Subject: Add installation instructions --- .github/workflows/build.yml | 4 ++- README.md | 56 ++++++++++++++++++++++++++++++++++ pkg/404.html | 19 ++++++++++++ pkg/index.html | 60 +++++++++++++++++++++++++++++++++++++ 4 files changed, 138 insertions(+), 1 deletion(-) create mode 100644 pkg/404.html create mode 100644 pkg/index.html diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2f773c6..27a4e8f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -151,10 +151,12 @@ jobs: endpoint = ${{ vars.S3_ENDPOINT }} EOF - - name: Upload GPG public key + - name: Upload static files run: | gpg --export --armor "${{ vars.GPG_KEY_ID }}" > public.gpg rclone copyto public.gpg "s3:${{ vars.S3_BUCKET }}/public.gpg" + rclone copyto pkg/index.html "s3:${{ vars.S3_BUCKET }}/index.html" + rclone copyto pkg/404.html "s3:${{ vars.S3_BUCKET }}/404.html" - name: Create APT repository run: | diff --git a/README.md b/README.md index 581b179..4de2c4e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,59 @@ # Mirum An experimental CI built around virtual machines and Starlark + +## Installation + +Please note that the project is in its infancy and is **not** intended for production use. + +**Debian/Ubuntu:** + +```bash +sudo apt install curl gnupg + +curl -fsSL https://dl.mirum.dev/public.gpg | sudo gpg --dearmor -o /usr/share/keyrings/mirum.gpg +echo "deb [signed-by=/usr/share/keyrings/mirum.gpg] https://dl.mirum.dev/apt/ nightly main" | sudo tee /etc/apt/sources.list.d/mirum.list +sudo apt update && sudo apt install mirum + +sudo systemctl enable --now mirumd +``` + +**Fedora/RHEL:** + +```bash +# DNF5 (Fedora 41+, RHEL 10+) +sudo dnf config-manager addrepo --from-repofile=https://dl.mirum.dev/rpm/nightly/mirum-nightly.repo + +# DNF4 (Fedora 40 and older, RHEL 8/9) +sudo curl -o /etc/yum.repos.d/mirum-nightly.repo https://dl.mirum.dev/rpm/nightly/mirum-nightly.repo + +sudo dnf install mirum +sudo systemctl enable --now mirumd +``` + +**openSUSE:** + +```bash +sudo rpm --import https://dl.mirum.dev/public.gpg +sudo zypper addrepo https://dl.mirum.dev/rpm/nightly/ mirum-nightly +sudo zypper refresh +sudo zypper install mirum + +sudo systemctl enable --now mirumd +``` + +## License + +Copyright (C) 2026 Nikolay Govorov + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU Affero General Public License as published by the Free +Software Foundation, either version 3 of the License, or (at your option) any +later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License along +with this program. If not, see . diff --git a/pkg/404.html b/pkg/404.html new file mode 100644 index 0000000..950dfd8 --- /dev/null +++ b/pkg/404.html @@ -0,0 +1,19 @@ + + + + + + + 404 - Mirum + + + +

404

+

Looking for the package repository? See installation instructions.

+ + diff --git a/pkg/index.html b/pkg/index.html new file mode 100644 index 0000000..9b0a399 --- /dev/null +++ b/pkg/index.html @@ -0,0 +1,60 @@ + + + + + + + + Mirum - Package Repository + + + + +

Mirum Download

+

An experimental CI built around virtual machines and Starlark

+ +
This project is in its infancy and is not intended for production use.
+ +

Debian / Ubuntu

+
curl -fsSL https://dl.mirum.dev/public.gpg | sudo gpg --dearmor -o /usr/share/keyrings/mirum.gpg
+echo "deb [signed-by=/usr/share/keyrings/mirum.gpg] https://dl.mirum.dev/apt/ nightly main" | sudo tee /etc/apt/sources.list.d/mirum.list
+sudo apt update && sudo apt install mirum
+
+sudo systemctl enable --now mirumd
+ +

Fedora / RHEL

+
# DNF5 (Fedora 41+, RHEL 10+)
+sudo dnf config-manager addrepo --from-repofile=https://dl.mirum.dev/rpm/nightly/mirum-nightly.repo
+
+# DNF4 (Fedora 40 and older, RHEL 8/9)
+sudo curl -o /etc/yum.repos.d/mirum-nightly.repo https://dl.mirum.dev/rpm/nightly/mirum-nightly.repo
+
+sudo dnf install mirum
+sudo systemctl enable --now mirumd
+ +

openSUSE

+
sudo rpm --import https://dl.mirum.dev/public.gpg
+sudo zypper addrepo https://dl.mirum.dev/rpm/nightly/ mirum-nightly
+sudo zypper refresh
+sudo zypper install mirum
+
+sudo systemctl enable --now mirumd
+ +
+

+ This is a package download server. For documentation and source code, visit + github.com/dimidiumlabs/mirum. +

+ + + -- Gilti