summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-02-14Add attribute to build all containerstest-infra-k8sMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Split container definition in base container and more layers on topMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Add dummy plugin installation in tedge_agent containerMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Build containers with debugging by defaultMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Remove tedge-mapper container for nowMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Add container to generate example dataMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14packages: Ignore the examples directoryMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Make sure plugin-example is copied to the right placeMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Add "sudo" to container, which is required for running pluginsMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14packages: Only set version variable onceMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14packages: Build thin-edge from current source, with current stable compiler ↵Matthias Beyer
from mozilla-nixpkgs Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Add mozilla overlay to pkgs importMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Update tedge packages: 0.5.1 -> 0.5.2Matthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14containers: Add example plugin in agent containerMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Fix: Add config dir inside containersMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Add error log when config cannot be loadedMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Add ps, strace to debug packagesMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14containers: Extract user setup to dedicated script, include it in mosquitto ↵Matthias Beyer
container setup Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14containers: Move mosquitto setup to mosquitto container setupMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Fix: Create lockdir in containerMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Fix: Create flock-file directory before creating flock fileMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14containers: Start process with "--debug" if containers are built for debuggingMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14containers: mosquitto: Add user setup, so mosquitto startsMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14containers: Add less to debug packagesMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14containers: Outsource debug packages, make them available in mosquitto ↵Matthias Beyer
container as well Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Ensure kind is in shell scopeMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Make attr set recursive, so we can include stuff into shell from within attr setMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14kind: Fix kind load string generationMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14kind: Remove port mappings, as we do not need networking to the outside ↵Matthias Beyer
world yet Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Implement deploying of containers in kuberentes in kindMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Build only one container with tedge installedMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Add setup script for containerMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Build layered container images instead of using debian as a baseMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14build thin-edge packages from sourceMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Join everything in one attr set, so we can select what to buildMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14container: Install package after installing mosquittoMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Add ignore file for nix output linksMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Tie packages together with containersMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Add containers definitionMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Add packages definitionMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Merge pull request #868 from matthiasbeyer/clippy-fixes-mqtt_testsMatthias Beyer
Clippy fixes for: mqtt_tests
2022-02-14Merge pull request #854 from matthiasbeyer/clippy-fixes-downloadMatthias Beyer
Clippy fixes for: download
2022-02-14Merge pull request #842 from matthiasbeyer/clippy-fixes-mqtt_channelMatthias Beyer
Clippy fixes for: mqtt_channel
2022-02-14Merge pull request #828 from matthiasbeyer/fix-possible-integer-truncationMatthias Beyer
Fix: Do not truncate integer type by casting
2022-02-14Merge pull request #834 from matthiasbeyer/no-string-pathesMatthias Beyer
Change return type of LogFile::path to &Path
2022-02-14Merge pull request #865 from matthiasbeyer/clippy-fixes-agent_interfaceMatthias Beyer
Clippy fixes for: agent_interface
2022-02-14Merge pull request #864 from matthiasbeyer/clippy-fixes-json_writerMatthias Beyer
Clippy fixes for: json_writer
2022-02-14Remove unnecessary pattern matchingMatthias Beyer
This fixes clippy lint `clippy::redundant_pattern_matching`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Remove unneccessary match blocksMatthias Beyer
This fixes clippy lint `clippy::try_err` by moving the error handling to the actual call with the ? operator and matching with `if let` instead of `match` in the good path for less boilerplate. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Remove unnecessary call of .to_string()Matthias Beyer
This fixes clippy lint `clippy::redundant_clone`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>