Repository navigation
Assemble the bundle's installers from the layers' stagings, or build every layer from its sources - #3
Merged
alexadereyko merged 92 commits intoNov 27, 2026
Conversation
…oost, the old FetchContent block gone
… receipts io.opendaq.bundle and ship an uninstall script
…PATH from the command line for a silent install
…om its stagings' artifacts, installed and smoke-checked
…install with PATH apart
…message box when PATH is longer than 1024 characters
…s a caller built in its run as its artifacts
…s need libpcap.so.1 and OpenSSL 1.1, which Ubuntu lacks
… Layers.cmake and the assembly
…ble.yml builds from them, bundle.yml calls both
…l, as an artifact: OpcUaModules for now
…age.yml, published
…ild from stagings
…gs computed from them
alien588
approved these changes
Nov 27, 2026
alexadereyko
deleted the
jira/TBBAS-3611-bundle-from-stagings-and-sources
branch
November 27, 2026 08:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brief
The bundle takes one revision per layer from
bundle.jsonand packs installers out of them: every layer built fromits sources by FetchContent, or every layer's staging taken prebuilt. CI lays the stagings into its run, from the
registry or staged there when the registry lacks them, packs the installers and publishes them.
Description
bundle.json: the bundle'sversion(its packages' and installers') and one commit, branch or tag per layer;BUNDLE_REVISION_<REPOSITORY>replaces one.BUNDLE_STAGINGS: the layers in the bundle, a list separated by semicolons; a module left out is left out of thebundle,
opendaqis required.BUNDLE_FROMpicks where the layers come from, for all of them at once:SOURCES(the default,cmake/Sources.cmake): every layer by FetchContent, built in one tree; Boost is builtonce, by the core, with what every layer needs.
STAGINGS(cmake/Stagings.cmake): every staging prebuilt, unpacked into the directoryBUNDLE_PREFIX_<STAGING>gives; nothing is fetched or compiled, the files are only laid into installcomponents. A missing directory is an error.
cmake/Layers.cmakenames the layers and their revisions;cmake/Packing.cmakeandCPackOptions.cmakepack whata package preset picks (
installer,core,modules): DEB, NSIS or productbuild with each module an optionalcomponent, or an archive.
share/opendaq-bundle/build-meta.json, as the core carriesshare/opendaq/build-meta.json:the settings and every layer's commit, resolved from the sources when built here.
v1.1.4, as the modules.bundle.yml, every step a job of its own on the run page:main), by hand or called; an inputreplaces a layer's revision;
Resolve revisionsresolves the commits and pulls the stagings the registry has;Stage <layer>stages amissing one by the layer's own
stage.yml, never published, on the bundle's platforms only, the core first;ConfigureandBuildpack the installers from those stagings (BUNDLE_FROM=STAGINGS);Pushpublishes them toghcr.io/openDAQ/bundle/native, only in this repository and unlessskip-staging-push;cleanup.ymlkeeps them 30 days.tests/installedremoved: the integration tests, in a repository of their own, take the bundle.Usage example
From sources:
In CI, layers at other revisions (any input left out takes
bundle.json's):