Files
NLnetLabs-krill/.github/workflows/pkg.yml
Martin HoffmannandGitHub c277854eed Refactor the application call flow. (#1361)
This PR refactors how requests are processed in Krill. It creates a
clear distinction between the HTTP server running async on a Tokio
runtime and the core of Krill running as regular sync code on a thread
pool.

This means that those portions of the core that were previously async,
notable the HTTP requests to remote parents and publishers, end up
blocking a thread now. For most things this should be fine. For
potentially long-running tasks, we have a separate thread pool so they
won’t block all of Krill.
2026-04-02 11:59:18 +02:00

35 lines
955 B
YAML

name: Packaging
on:
push:
tags:
- v*
# Allow triggering manually.
workflow_dispatch:
jobs:
package:
# See: https://github.com/NLnetLabs/ploutos
uses: NLnetLabs/ploutos/.github/workflows/pkg-rust.yml@v9
secrets:
DOCKER_HUB_ID: ${{ secrets.DOCKER_HUB_ID }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
with:
cross_build_args: --features openssl/vendored
cross_max_wait_mins: 20
docker_org: nlnetlabs
docker_repo: krill
docker_build_rules: pkg/rules/docker-images-to-build.yml
docker_sanity_check_command: krillc --version
package_build_rules: pkg/rules/packages-to-build.yml
package_test_rules: pkg/rules/packages-to-test.yml
package_test_scripts_path: pkg/test-scripts/test-<package>.sh
deb_extra_build_packages: libssl-dev
rpm_extra_build_packages: make openssl-devel perl-core
rpm_scriptlets_path: pkg/rpm/scriptlets.toml