Release procedure: Difference between revisions

From Aquarium-Control
Jump to navigation Jump to search
(Created page with "== Execution environment == Create log file Create temporary files on RAM disk for status communication == Unit-testing on development machine == == Update version identifier == == Update database == == Compilation for testing on target hardware and OS == == Unit-testing on target hardware and OS == Create message queues == Testing with simulator == Observe RAM consumption == Compilation for production on target hardware and OS == == Update of production configur...")
 
Line 1: Line 1:
== Execution environment ==
== Execution environment ==
Create log file
=== Create lock file ===
Create temporary files on RAM disk for status communication
Create the path and the lockfile, e.g. <code>sudo touch /var/local/aquarium-ctrl.pid</code>, as per configuration file.
Assign access rights using <code>chmod o+rw filename</code> so that non-root user (during testing) can use the resources as well.
 
=== Create log file ===
Create the path and the logfile <code>sudo touch /var/log/aquarium.log</code>.
Assign access rights using <code>chmod o+rw filename</code> so that non-root user (during testing) can use the resources as well.
 
=== Create output files on RAM disk ===
Create the path and the output files e.g., <code>sudo touch /var/local/aquarium-ctrl/aquarium-ctrl-ts</code> as stated in the .toml configuration file(s). Make sure the path yields to the RAM-disk.
Assign access rights using <code>chmod o+rw *</code> so that non-root user (during testing) can use the resources as well.


== Unit-testing on development machine ==
== Unit-testing on development machine ==

Revision as of 20:30, 29 July 2025

Execution environment

Create lock file

Create the path and the lockfile, e.g. sudo touch /var/local/aquarium-ctrl.pid, as per configuration file. Assign access rights using chmod o+rw filename so that non-root user (during testing) can use the resources as well.

Create log file

Create the path and the logfile sudo touch /var/log/aquarium.log. Assign access rights using chmod o+rw filename so that non-root user (during testing) can use the resources as well.

Create output files on RAM disk

Create the path and the output files e.g., sudo touch /var/local/aquarium-ctrl/aquarium-ctrl-ts as stated in the .toml configuration file(s). Make sure the path yields to the RAM-disk. Assign access rights using chmod o+rw * so that non-root user (during testing) can use the resources as well.

Unit-testing on development machine

Update version identifier

Update database

Compilation for testing on target hardware and OS

Unit-testing on target hardware and OS

Create message queues

Testing with simulator

Observe RAM consumption

Compilation for production on target hardware and OS

Update of production configuration file

Transfer of binary and update of startup script

Documentation of release in repository