Patch Jenkins and verify cloud CI host maintenance
This commit is contained in:
+6
-1
@@ -97,7 +97,12 @@ Gitea; a container is not a security boundary against malicious trusted jobs.
|
||||
Use only reviewed delivery code. `agent/compose.droplet.yaml` caps the agent
|
||||
at 512 MiB RAM / 768 MiB RAM+swap and 0.5 CPU; a dedicated pinned BuildKit
|
||||
builder has 256 MiB / 384 MiB and 0.5 CPU. Builds select that builder explicitly.
|
||||
Agent and builder restart unless stopped. `bootstrap/start-droplet-agent.sh`
|
||||
Agent and builder restart unless stopped.
|
||||
The agent enables Compose `init: true` so orphaned Git/shell children are reaped
|
||||
and signals are forwarded. This was added after the November 26 host-maintenance
|
||||
inspection found 12 defunct children adopted by the Java process running as PID 1.
|
||||
Restarting the agent cleared them; retain the init setting when recreating it.
|
||||
`bootstrap/start-droplet-agent.sh`
|
||||
is the root-operated installation/reconnect helper in
|
||||
`/opt/ssw590-delivery-agent`; it detects the Docker socket group (987 on this host).
|
||||
No public agent, Docker API or app port is added.
|
||||
|
||||
@@ -3,6 +3,7 @@ services:
|
||||
agent:
|
||||
image: ssw590-delivery-agent:20261114-java21.0.13.1-2
|
||||
restart: unless-stopped
|
||||
init: true
|
||||
entrypoint: ["java", "-jar", "/usr/share/jenkins/agent.jar"]
|
||||
command:
|
||||
- -url
|
||||
|
||||
@@ -3,6 +3,7 @@ services:
|
||||
agent:
|
||||
image: ssw590-delivery-agent:20261114-java21.0.13.1-2
|
||||
restart: "no"
|
||||
init: true
|
||||
entrypoint: ["java", "-jar", "/usr/share/jenkins/agent.jar"]
|
||||
command:
|
||||
- -url
|
||||
|
||||
Reference in New Issue
Block a user