Skip to content

Enable Debian Build,Sign,Publish via GH Actions#5

Open
endersonmaia wants to merge 21 commits intomainfrom
feature/ci-debian-build-multiple-archs
Open

Enable Debian Build,Sign,Publish via GH Actions#5
endersonmaia wants to merge 21 commits intomainfrom
feature/ci-debian-build-multiple-archs

Conversation

@endersonmaia
Copy link
Copy Markdown

  • feat: add package scripts for Debian and Alpine
  • feat: bump emulator, rootfs and tools
  • feat: bump emulator (0.20.0), rootfs and tools (0.17.2)
  • feat(alpine): bump Alpine to 3.23, fix TARGET_ARCH for docker
  • feat: fix build for Alpine
  • feat(debian): stick to ubuntu:noble
  • fixup! feat(alpine): bump Alpine to 3.23, fix TARGET_ARCH for docker
  • docs: use cartesi.github.io/linux-packages
  • feat(debian): enable CI build with multiple architecture
  • feat(debian): use docker/buid-push-action
  • feat(debian): split sign step
  • feat(debian): enable cache in CI
  • feat(debian): add packages-info target
  • feat(debian): add test step to CI
  • feat(debian): test works without signed packages
  • feat(debian): test works with select packages
  • feat(debian): add sign job
  • feat(debian): add publish job
  • feat(build): limit PACKAGES_ALLARCH build only for amd64

Comment thread debian/README.md Outdated

```sh
# Install key to verify signature of repository packages
wget -qO - https://cartesi.github.io/linux-packages/apt/keys/cartesi-deb-key.gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/cartesi-deb-key.gpg
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can make this easier so users does not need to install gpg, by providing a cartesi-deb-key.gpg.bin file.

Comment thread debian/README.md

# Install guest tools
RUN apt-get update && apt-get install -y ca-certificates
ADD --chmod=644 https://cartesi.github.io/linux-packages/apt/keys/cartesi-deb-key.gpg.bin /etc/apt/trusted.gpg.d/cartesi-deb-key.gpg
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link is broken, cartesi-deb-key.gpg.bin should exist as a binary public GPG key.

Comment thread debian/README.md
Example usage:

```sh
# Install key to verify signature of repository packages
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better mention to install sudo and wget. Because typically they don't come installed in standard Debian docker images.

Comment thread debian/README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
@@ -0,0 +1,54 @@
# Maintainer: Eduardo Bart <edub4rt@gmail.com>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to remove my name here, and all APKBUILD files. But we need to replace with some name and email, otherwise the builder might generate warnings. Could be something like Maintainer: Cartesi Contributors <something@cartesi.io>

I don't know what email to use.

Comment thread README.md
Debian/Ubuntu packages are available in [debian](debian) subdirectory.
Alpine packages are available in [alpine](alpine) subdirectory.

You can find instructions on the sub directories.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to create a LICENSE and AUTHORS file.
Also mention the LICENSE.

@diegonehab diegonehab requested a review from vfusco April 26, 2026 12:18
@endersonmaia endersonmaia force-pushed the feature/ci-debian-build-multiple-archs branch from 2842311 to 184ae88 Compare April 27, 2026 13:21
@edubart edubart added the enhancement New feature or request label Apr 28, 2026
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in Machine Unit Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants