Skip to content

tests: add nightly workflow#16

Open
j4n wants to merge 2 commits into
j4n/docker-supportfrom
j4n/nightly-matrix
Open

tests: add nightly workflow#16
j4n wants to merge 2 commits into
j4n/docker-supportfrom
j4n/nightly-matrix

Conversation

@j4n
Copy link
Copy Markdown

@j4n j4n commented May 20, 2026

.github/workflows/nightly.yml:

  • Scheduled at 02:17 UTC daily (also workflow_dispatch for manual runs).
  • based on reusable workflow

@j4n j4n force-pushed the j4n/docker-support branch from 5485307 to 7bb8b83 Compare May 20, 2026 14:35
Copy link
Copy Markdown
Contributor

@missytake missytake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but I guess others should look at this as well :)

I think there was also the idea to run https://github.com/chatmail/core/blob/main/.github/workflows/ci.yml against the four different deployment options? afaict you can only pass one CHATMAIL_DOMAIN to it, so it doesn't seem to be cross-server. Which should be enough, too :D

but maybe a cmlxc core-test command is out of scope for this PR, this is already a good start.

How do we get notified on failure?

@j4n j4n force-pushed the j4n/nightly-matrix branch from e41d8b5 to d5a96ea Compare May 20, 2026 14:57
@j4n j4n changed the title tests(docker): add nightly workflow tests: add nightly workflow May 20, 2026
@j4n j4n changed the base branch from j4n/docker-support to main May 20, 2026 15:00
@j4n j4n changed the base branch from main to j4n/docker-support May 20, 2026 15:00
@j4n j4n force-pushed the j4n/docker-support branch from 7bb8b83 to 74b3c30 Compare May 20, 2026 15:05
@j4n j4n force-pushed the j4n/nightly-matrix branch from d5a96ea to 11342ae Compare May 20, 2026 15:05
@j4n j4n changed the base branch from j4n/docker-support to main May 20, 2026 15:06
@j4n j4n changed the base branch from main to j4n/docker-support May 20, 2026 15:06
@j4n j4n force-pushed the j4n/nightly-matrix branch from 11342ae to 9e4704d Compare May 20, 2026 15:10
@j4n j4n force-pushed the j4n/docker-support branch from 74b3c30 to 75f3583 Compare May 28, 2026 14:24
@j4n j4n force-pushed the j4n/nightly-matrix branch from 9e4704d to deaf811 Compare May 28, 2026 14:28
@j4n j4n force-pushed the j4n/docker-support branch 2 times, most recently from 2b322ff to 645ba94 Compare May 28, 2026 14:44
j4n added 2 commits May 28, 2026 16:46
- Add cmlxc_ref input to test feature branches
- Disable AppArmor for Docker-in-LXC systemd support
- Cache localchat-docker image (strip Docker images before export)
- Split cache into restore/save for better failure handling
- Per-service failure diagnostics (dovecot, postfix, failed units)
- install incus-base instead of full incus package
- trimmed=: normalise whitespace via xargs before eval so indented
  commands in the multiline cmlxc_commands input parse correctly and
  display cleanly in CI ::group:: labels
- get_service_logs.sh: debug logging calls
  /usr/local/sbin/get-service-logs (installed via COPY in the Docker
  image) which dumps per-service journalctl output, failed units,
  dovecot config, and TLS cert paths
.github/workflows/nightly.yml:
- Scheduled at 02:17 UTC daily (also workflow_dispatch for manual runs).
- based on reusable workflow
@j4n j4n force-pushed the j4n/nightly-matrix branch from deaf811 to 95dc71d Compare May 28, 2026 14:47
Copy link
Copy Markdown
Contributor

@hpk42 hpk42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a bit weird this is living in cmlxc but i guess it's worth a try if this nightly approach reliably works.

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.

3 participants