Skip to content

Conversation

Copy link

Copilot AI commented Jan 5, 2026

Adds automated testing of Debian package installation and InfluxDB connectivity on every PR.

Pipeline Implementation

  • New test stage in azure-pipelines-ci.yml runs after build stage
  • Docker Compose environment with InfluxDB 1.8 and Debian Bookworm containers
  • Test template at .azure-pipelines/templates/log4tc/test-deb-installation.yaml

Test Coverage

  • Installs Mbc.Log4Tc.Service from GitHub Pages apt repository
  • Configures InfluxDB output using production configuration format
  • Validates service startup and connection via internal logs at /var/log/log4tc/service.log
  • Checks InfluxDB accessibility and database creation
  • Publishes service logs as build artifacts

Test Environment

services:
  influxdb:
    image: influxdb:1.8-alpine
    environment:
      INFLUXDB_DB: log4tc
  
  debian-test:
    image: debian:bookworm
    # Installs package, configures InfluxDB output, validates logs

The multi-container setup is extensible for future TwinCAT Docker integration for end-to-end testing.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 4 commits January 5, 2026 19:59
Co-authored-by: bqstony <10487253+bqstony@users.noreply.github.com>
…y, fix URL casing

Co-authored-by: bqstony <10487253+bqstony@users.noreply.github.com>
Co-authored-by: bqstony <10487253+bqstony@users.noreply.github.com>
…ments

Co-authored-by: bqstony <10487253+bqstony@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Debian package support for Log4TC Add Debian package installation test pipeline with InfluxDB integration Jan 5, 2026
Copilot AI requested a review from bqstony January 5, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants