mirror of
https://github.com/NLnetLabs/dnst.git
synced 2026-08-17 21:25:51 +02:00
* Move ldns obsoletion to separate package * Remove proposed channel from pkg-test The packages published in proposed are so outdated, they fail pkg-test anyway. * Remove EOL versions from build targets * Update Dockerfile base image to alpine 2.23 * Remove systemd macros from scriptlets * Change version to 0.2.0-alpha1
47 lines
1.6 KiB
YAML
47 lines
1.6 KiB
YAML
name: Packaging
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
|
|
# Triggering on PRs and arbitrary branch pushes is not enabled because most of the time only the CI build should be
|
|
# triggered, not the packaging build. In cases where you want to test changes to this workflow this trigger enables
|
|
# you to manually invoke this workflow on an arbitrary branch as needed.
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
package-dnst:
|
|
uses: NLnetLabs/ploutos/.github/workflows/pkg-rust.yml@v9
|
|
secrets:
|
|
DOCKER_HUB_ID: ${{ vars.DOCKER_HUB_ID }}
|
|
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
|
|
with:
|
|
docker_org: nlnetlabs
|
|
docker_repo: dnst
|
|
docker_build_rules: pkg/rules/docker-images-to-build.yml
|
|
docker_sanity_check_command: --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
|
|
|
|
cross_build_args: --features static-openssl
|
|
|
|
deb_extra_build_packages: libssl-dev
|
|
rpm_extra_build_packages: make openssl-devel
|
|
rpm_scriptlets_path: pkg/rpm/scriptlets.toml
|
|
|
|
package-dnst-ldnsutils:
|
|
# Package empty dnst-ldnsutils package to create symlinks
|
|
uses: NLnetLabs/ploutos/.github/workflows/pkg-rust.yml@v9
|
|
with:
|
|
package_build_rules: pkg/dnst-ldnsutils/pkg/rules/packages-to-build.yml
|
|
package_test_rules: pkg/dnst-ldnsutils/pkg/rules/packages-to-test.yml
|
|
package_test_scripts_path: pkg/dnst-ldnsutils/pkg/test-scripts/test-<package>.sh
|
|
|
|
rpm_scriptlets_path: pkg/dnst-ldnsutils/pkg/rpm/scriptlets.toml
|
|
|
|
manifest_dir: pkg/dnst-ldnsutils
|
|
artifact_prefix: dnst-ldnsutils
|