US-16 Support Ubuntu 26.04 dependency provisioning
This commit is contained in:
1 parent
dd68d16eba
commit
7dc4ee60f0
4 files changed
+5
-3
No files matched your search
@@ -24,7 +24,7 @@ must not already exist. Copy `healthapp-release` to the test computer.
|
|||||||
Open a terminal inside the copied release directory. Replace `192.168.1.20` with
|
Open a terminal inside the copied release directory. Replace `192.168.1.20` with
|
||||||
the test computer's reachable IP address or DNS name.
|
the test computer's reachable IP address or DNS name.
|
||||||
|
|
||||||
**Ubuntu 24.04 / Debian 12 or 13** (also the macOS command):
|
**Ubuntu 24.04 or 26.04 / Debian 12 or 13** (also the macOS command):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo bash install.sh --services all --host 192.168.1.20
|
sudo bash install.sh --services all --host 192.168.1.20
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ files contain no generated secrets. Build output must be a new directory.
|
|||||||
|
|
||||||
## Normal Ubuntu/Debian installation
|
## Normal Ubuntu/Debian installation
|
||||||
|
|
||||||
Automatic Linux package provisioning currently supports Ubuntu 24.04 and Debian 12/13,
|
Automatic Linux package provisioning currently supports Ubuntu 24.04/26.04 and Debian 12/13,
|
||||||
with a running systemd manager and administrative access. This is the implemented
|
with a running systemd manager and administrative access. This is the implemented
|
||||||
Linux adapter's supported set, not a restriction in the application binaries. Other
|
Linux adapter's supported set, not a restriction in the application binaries. Other
|
||||||
Linux distributions need corresponding package-manager integration before the installer
|
Linux distributions need corresponding package-manager integration before the installer
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Source from install.sh. Package commands use the supported distribution's signed feeds.
|
# Source from install.sh. Package commands use the supported distribution's signed feeds.
|
||||||
ensure_dependencies() {
|
ensure_dependencies() {
|
||||||
local distribution=$1 version=$2 runtime=$3 persistence=$4
|
local distribution=$1 version=$2 runtime=$3 persistence=$4
|
||||||
case "$distribution:$version" in ubuntu:24.04|debian:12|debian:13) ;; *) fail 'Automatic provisioning supports Ubuntu 24.04 and Debian 12/13.';; esac
|
case "$distribution:$version" in ubuntu:24.04|ubuntu:26.04|debian:12|debian:13) ;; *) fail 'Automatic provisioning supports Ubuntu 24.04/26.04 and Debian 12/13.';; esac
|
||||||
step='install base dependencies'
|
step='install base dependencies'
|
||||||
if ! command -v curl >/dev/null || ! command -v update-ca-certificates >/dev/null; then
|
if ! command -v curl >/dev/null || ! command -v update-ca-certificates >/dev/null; then
|
||||||
apt-get update
|
apt-get update
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ public sealed class BootstrapTests
|
|||||||
[InlineData("ubuntu", "24.04", false, false, false)]
|
[InlineData("ubuntu", "24.04", false, false, false)]
|
||||||
[InlineData("ubuntu", "24.04", true, true, false)]
|
[InlineData("ubuntu", "24.04", true, true, false)]
|
||||||
[InlineData("ubuntu", "24.04", true, true, true)]
|
[InlineData("ubuntu", "24.04", true, true, true)]
|
||||||
|
[InlineData("ubuntu", "26.04", false, true, false)]
|
||||||
|
[InlineData("ubuntu", "26.04", true, true, true)]
|
||||||
[InlineData("debian", "12", true, false, false)]
|
[InlineData("debian", "12", true, false, false)]
|
||||||
[InlineData("debian", "13", false, true, false)]
|
[InlineData("debian", "13", false, true, false)]
|
||||||
public async Task Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(
|
public async Task Package_provisioning_detects_runtime_and_postgresql_and_installs_only_needed_dependencies(
|
||||||
|
|||||||
Reference in new issue
Block a user