diff options
Diffstat
| -rw-r--r-- | .github/workflows/build.yml | 4 | +3 −1 |
| -rw-r--r-- | README.md | 56 | +56 −0 |
| -rw-r--r-- | pkg/404.html | 19 | +19 −0 |
| -rw-r--r-- | pkg/index.html | 60 | +60 −0 |
4 files changed, 138 insertions, 1 deletions
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 <https://www.gnu.org/licenses/>. diff --git a/pkg/404.html b/pkg/404.html new file mode 100644 --- /dev/null +++ b/pkg/404.html @@ -0,0 +1,19 @@ +<!-- + Copyright (c) 2026 Nikolay Govorov + SPDX-License-Identifier: AGPL-3.0-or-later +--> +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>404 - Mirum</title> + <style> + body { font-family: system-ui, sans-serif; max-width: 720px; margin: 2rem auto; padding: 0 1rem; line-height: 1.6; color: #1a1a1a; text-align: center; } + </style> +</head> +<body> + <h1>404</h1> + <p>Looking for the package repository? See <a href="/">installation instructions</a>.</p> +</body> +</html> diff --git a/pkg/index.html b/pkg/index.html new file mode 100644 --- /dev/null +++ b/pkg/index.html @@ -0,0 +1,60 @@ +<!-- + Copyright (c) 2026 Nikolay Govorov + SPDX-License-Identifier: AGPL-3.0-or-later +--> +<!DOCTYPE html> +<html lang="en"> + +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <title>Mirum - Package Repository</title> + <style> + body { font-family: system-ui, sans-serif; max-width: 720px; margin: 2rem auto; padding: 0 1rem; line-height: 1.6; color: #1a1a1a; } + h1 { margin-bottom: 0.25rem; } + h1 + p { color: #555; margin-top: 0; } + h2 { margin-top: 2rem; } + pre { background: #f4f4f4; padding: 1rem; overflow-x: auto; border-radius: 4px; } + .warn { background: #fff3cd; padding: 0.75rem 1rem; border-radius: 4px; margin-bottom: 1.5rem; } + </style> +</head> + +<body> + <h1>Mirum Download</h1> + <p>An experimental CI built around virtual machines and Starlark</p> + + <div class="warn">This project is in its infancy and is <strong>not</strong> intended for production use.</div> + + <h2>Debian / Ubuntu</h2> + <pre><code>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</code></pre> + + <h2>Fedora / RHEL</h2> + <pre><code># 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</code></pre> + + <h2>openSUSE</h2> + <pre><code>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</code></pre> + + <hr style="margin-top: 2rem"> + <p style="color: #555; font-size: 0.9em"> + This is a package download server. For documentation and source code, visit + <a href="https://github.com/dimidiumlabs/mirum">github.com/dimidiumlabs/mirum</a>. + </p> +</body> + +</html> |
