ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
shell_entrypoint_policy_ci.py
Go to the documentation of this file.
1# SPDX-License-Identifier: MIT
2# Copyright (c) 2026 Brighton Sikarskie
3"""Raw typed-policy rows for the CI shell domain."""
4
5from __future__ import annotations
6
7from typing import TypeAlias
8
9ShellPolicyRow: TypeAlias = tuple[str, str, str, str, bool, bool]
10
11CI_POLICY_ROWS: tuple[ShellPolicyRow, ...] = (
12 ("scripts/ci.sh", "privileged", "entry", "bash", True, False),
13 ("scripts/ci/devcontainer_image.sh", "privileged", "entry", "bash", True, False),
14 (
15 "scripts/ci/devcontainer_image_lock_receipts.bash",
16 "privileged",
17 "sourced-only",
18 "bash",
19 False,
20 True,
21 ),
22 (
23 "scripts/ci/devcontainer_image_lock_selftest.bash",
24 "privileged",
25 "sourced-only",
26 "bash",
27 False,
28 True,
29 ),
30 (
31 "scripts/ci/devcontainer_image_selftest.bash",
32 "privileged",
33 "sourced-only",
34 "bash",
35 False,
36 True,
37 ),
38 (
39 "scripts/ci/devcontainer_image_bound_exit_selftest.bash",
40 "privileged",
41 "sourced-only",
42 "bash",
43 False,
44 True,
45 ),
46 (
47 "scripts/ci/devcontainer_image_selftest_cases.bash",
48 "privileged",
49 "sourced-only",
50 "bash",
51 False,
52 True,
53 ),
54 (
55 "scripts/ci/devcontainer_image_signal_selftest.bash",
56 "privileged",
57 "sourced-only",
58 "bash",
59 False,
60 True,
61 ),
62 ("scripts/ci/devcontainer_run.sh", "portable", "entry", "bash", True, False),
63 ("scripts/ci/fleet_capacity.sh", "portable", "sourced-only", "bash", False, False),
64 ("scripts/ci/gates/analysis.sh", "portable", "sourced-only", "bash", False, False),
65 ("scripts/ci/gates/build.sh", "portable", "sourced-only", "bash", False, False),
66 ("scripts/ci/gates/checks.sh", "portable", "entry", "bash", True, False),
67 ("scripts/ci/gates/emu.sh", "portable", "sourced-only", "bash", False, False),
68 ("scripts/ci/gates/hygiene.sh", "portable", "sourced-only", "bash", False, False),
69 ("scripts/ci/gates/lint.sh", "portable", "sourced-only", "bash", False, False),
70 ("scripts/ci/gates/manual.sh", "portable", "sourced-only", "bash", False, False),
71 ("scripts/ci/gates/tests.sh", "portable", "sourced-only", "bash", False, False),
72 ("scripts/ci/install_unicorn.sh", "privileged", "entry", "bash", True, False),
73 ("scripts/ci/lib/abort.sh", "portable", "sourced-only", "bash", False, False),
74 ("scripts/ci/lib/arm_toolchain.sh", "portable", "sourced-only", "bash", False, False),
75 ("scripts/ci/lib/container.sh", "portable", "sourced-only", "bash", False, False),
76 ("scripts/ci/lib/host_tool_path.sh", "portable", "dual-use", "bash", False, False),
77 ("scripts/ci/lib/nofile.sh", "portable", "entry", "bash", True, False),
78 ("scripts/ci/lib/parallelism.sh", "portable", "sourced-only", "bash", False, False),
79 ("scripts/ci/lib/snapshot.sh", "portable", "sourced-only", "bash", False, False),
80 ("scripts/ci/lib/tool_env.sh", "portable", "dual-use", "bash", False, False),
81 ("scripts/ci/monitor.sh", "privileged", "entry", "bash", True, False),
82 ("scripts/ci/test-docker.sh", "portable", "entry", "bash", True, False),
83 ("scripts/ci/unicorn_pin.sh", "portable", "sourced-only", "bash", False, False),
84)