Skip to content

Commit 9913f7d

Browse files
authored
Merge branch 'main' into copilot/automate-clean-up-attestations
2 parents 6419753 + 0040519 commit 9913f7d

33 files changed

+113
-103
lines changed

.devcontainer/base/apt-requirements.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"g++-14": "14.2.0-4ubuntu2~24.04.1",
55
"git": "1:2.43.0-1ubuntu7.3",
66
"gnupg2": "2.4.4-2ubuntu17.4",
7-
"udev": "255.4-1ubuntu8.12",
7+
"udev": "255.4-1ubuntu8.14",
88
"wget": "1.21.4-1ubuntu4.1",
99
"xz-utils": "5.6.1+really5.4.5-1ubuntu0.2"
1010
}

.devcontainer/cpp/Dockerfile

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@
22
# hadolint global ignore=DL3006
33

44
ARG BASE_IMAGE=ghcr.io/philips-software/amp-devcontainer-base:edge
5-
ARG CCACHE_VERSION=4.12.2
6-
ARG XWIN_VERSION=0.7.0
5+
# Public minisign key for verifying ccache releases,
6+
# taken from https://ccache.dev/minisign.pub
7+
ARG CCACHE_MINISIGN_PUBKEY=RWQX7yXbBedVfI4PNx6FLdFXu9GHUFsr28s4BVGxm4BeybtnX3P06saF
8+
ARG CCACHE_VERSION=4.13.1
9+
ARG XWIN_VERSION=0.8.0
710

811
# Downloader stage for AMD64 architecture
912
FROM scratch AS downloader-amd64
1013

1114
ARG CCACHE_VERSION
1215
ARG XWIN_VERSION
1316

14-
ADD --checksum=sha256:630c34ec94d451b200f5b14a6a25580d6a45bc80c394b7e0b93e33556eee5d32 \
15-
https://github.com/ccache/ccache/releases/download/v${CCACHE_VERSION}/ccache-${CCACHE_VERSION}-linux-x86_64.tar.xz /ccache.tar.xz
16-
ADD --checksum=sha256:f1bffe5319728fca9cde5bb03fcb6c88cdf44922bd003fca8b4b9ce5b6f259d2 \
17+
ADD --checksum=sha256:dd9fc188e738add3c12509063bb082b05e77a9a71fa85a20e01230044aa410f1 \
18+
https://github.com/ccache/ccache/releases/download/v${CCACHE_VERSION}/ccache-${CCACHE_VERSION}-linux-x86_64-glibc.tar.xz /ccache.tar.xz
19+
ADD --checksum=sha256:fdf00b1eadebf437e898ca3c0c94fd3e8d03b9e2bbe4f3d74ac6df2fecbf0a74 \
20+
https://github.com/ccache/ccache/releases/download/v${CCACHE_VERSION}/ccache-${CCACHE_VERSION}-linux-x86_64-glibc.tar.xz.minisig /ccache.tar.xz.minisig
21+
ADD --checksum=sha256:8a354e12475dd154d0a2d3084eefd2c105f872ec8062965baaa7e9f2f76fe611 \
1722
https://github.com/Jake-Shadle/xwin/releases/download/${XWIN_VERSION}/xwin-${XWIN_VERSION}-x86_64-unknown-linux-musl.tar.gz /xwin.tar.gz
1823

1924
# Downloader stage for ARM64 architecture
@@ -22,9 +27,11 @@ FROM scratch AS downloader-arm64
2227
ARG CCACHE_VERSION
2328
ARG XWIN_VERSION
2429

25-
ADD --checksum=sha256:b01c270c245e41998ab777164aba085dbeb23ce515f4e2134a1fdddabf0bf6ad \
26-
https://github.com/ccache/ccache/releases/download/v${CCACHE_VERSION}/ccache-${CCACHE_VERSION}-linux-aarch64.tar.xz /ccache.tar.xz
27-
ADD --checksum=sha256:b85cd1e0c94f249338b02a6e54b380154a5af6b5dd754121b15722125a67cf9f \
30+
ADD --checksum=sha256:4cf4b05d9c381b3a60f1f10189f45ad9402bbc58979dbdc4901659c7f5e42dc8 \
31+
https://github.com/ccache/ccache/releases/download/v${CCACHE_VERSION}/ccache-${CCACHE_VERSION}-linux-aarch64-glibc.tar.xz /ccache.tar.xz
32+
ADD --checksum=sha256:24b50ebf8ce5ec9e5e56af298ddb17699a46f0d9bb035d7c824500270a5cde74 \
33+
https://github.com/ccache/ccache/releases/download/v${CCACHE_VERSION}/ccache-${CCACHE_VERSION}-linux-aarch64-glibc.tar.xz.minisig /ccache.tar.xz.minisig
34+
ADD --checksum=sha256:fe106caefbb316664d73fd03166c28c09e580bb2a3ad65b4d50c51c67368aeab \
2835
https://github.com/Jake-Shadle/xwin/releases/download/${XWIN_VERSION}/xwin-${XWIN_VERSION}-aarch64-unknown-linux-musl.tar.gz /xwin.tar.gz
2936

3037
# Select downloader stage based on target architecture.
@@ -40,14 +47,20 @@ ADD --checksum=sha256:db2938ce5fd422f2db7a07508452772c945135d99274004c462190c323
4047
# Extractor stage using target architecture specific downloader
4148
FROM ${BASE_IMAGE} AS extractor
4249

50+
ARG CCACHE_MINISIGN_PUBKEY
4351
ARG CCACHE_VERSION
4452
ARG XWIN_VERSION
4553

4654
SHELL ["/bin/bash", "-Eeuo", "pipefail", "-c"]
4755

4856
WORKDIR /
4957

50-
RUN --mount=from=downloader,target=/dl <<EOF
58+
# hadolint ignore=DL3008
59+
RUN --mount=from=downloader,target=/dl \
60+
--mount=type=cache,target=/var/cache/apt,sharing=locked \
61+
--mount=type=cache,target=/var/lib/apt,sharing=locked <<EOF
62+
apt-get update && apt-get install --no-install-recommends -y minisign
63+
5164
ARM_GNU_TOOLCHAIN_URL="https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-$(uname -m)-arm-none-eabi.tar.xz"
5265
ARM_GNU_TOOLCHAIN_TAR="/tmp/arm-gnu-toolchain.tar.xz"
5366

@@ -60,8 +73,10 @@ RUN --mount=from=downloader,target=/dl <<EOF
6073
wget --no-hsts -qO "${ARM_GNU_TOOLCHAIN_TAR}" "${ARM_GNU_TOOLCHAIN_URL}"
6174
echo "${ARM_GNU_TOOLCHAIN_SHA256} ${ARM_GNU_TOOLCHAIN_TAR}" | sha256sum -c -
6275

76+
minisign -P "${CCACHE_MINISIGN_PUBKEY}" -Vm /dl/ccache.tar.xz
77+
6378
tar xJf "${ARM_GNU_TOOLCHAIN_TAR}" --exclude="*arm-none-eabi-gdb*" --exclude="share"
64-
tar xJf /dl/ccache.tar.xz --strip-components=1 "ccache-${CCACHE_VERSION}-linux-$(uname -m)/ccache"
79+
tar xJf /dl/ccache.tar.xz --strip-components=1 "ccache-${CCACHE_VERSION}-linux-$(uname -m)-glibc/ccache"
6580
tar xzf /dl/xwin.tar.gz --strip-components=1 "xwin-${XWIN_VERSION}-$(uname -m)-unknown-linux-musl/xwin"
6681
cp /dl/llvm.gpg.key /llvm.gpg.key
6782
cp /dl/mull.gpg.key /mull.gpg.key
@@ -90,7 +105,6 @@ ENV CCACHE_DIR=/cache/.ccache \
90105
PYTHONPYCACHEPREFIX=/cache/.python
91106

92107
# Install the base system with all tool dependencies
93-
# hadolint ignore=DL3008
94108
RUN --mount=type=bind,source=.devcontainer/cpp/apt-requirements-base.json,target=/tmp/apt-requirements-base.json \
95109
--mount=type=bind,source=.devcontainer/cpp/apt-requirements-clang.json,target=/tmp/apt-requirements-clang.json \
96110
--mount=type=bind,source=.devcontainer/cpp/requirements.txt,target=/tmp/requirements.txt \

.devcontainer/cpp/apt-requirements-base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"gdb-multiarch": "15.0.50.20240403-0ubuntu1",
2+
"gdb-multiarch": "15.1-1ubuntu1~24.04.1",
33
"ninja-build": "1.11.1-2",
44
"python3-pip": "24.0+dfsg-1ubuntu1.3",
55
"unzip": "6.0-28ubuntu4.1",

.devcontainer/cpp/apt-requirements-clang.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"libclang-rt-20-dev": "1:20.1.8~++20250804090239+87f0227cb601-1~exp1~20250804210352.139",
88
"lld-20": "1:20.1.8~++20250804090239+87f0227cb601-1~exp1~20250804210352.139",
99
"llvm-20": "1:20.1.8~++20250804090239+87f0227cb601-1~exp1~20250804210352.139",
10-
"mull-20": "0.29.0"
10+
"mull-20": "0.31.1"
1111
}

.devcontainer/cpp/devcontainer-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"marus25.cortex-debug@1.12.1",
1010
"mhutchie.git-graph@1.30.0",
1111
"ms-vscode.cmake-tools@1.22.28",
12-
"ms-vscode.cpptools@1.30.5",
12+
"ms-vscode.cpptools@1.31.3",
1313
"ms-vsliveshare.vsliveshare@1.0.5959",
14-
"sonarsource.sonarlint-vscode@4.44.0"
14+
"sonarsource.sonarlint-vscode@4.45.0"
1515
],
1616
"settings": {
1717
"C_Cpp.intelliSenseEngine": "disabled",

.devcontainer/cpp/devcontainer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@
3636
"extensions": [
3737
"alexkrechik.cucumberautocomplete@3.1.0",
3838
"github.copilot@1.388.0",
39-
"github.vscode-github-actions@0.31.0",
40-
"github.vscode-pull-request-github@0.132.0",
39+
"github.vscode-github-actions@0.31.2",
40+
"github.vscode-pull-request-github@0.132.2",
4141
"jetmartin.bats@0.1.10",
4242
"kherring.bats-test-runner@0.1.3",
4343
"mhutchie.git-graph@1.30.0",
4444
"ms-azuretools.vscode-docker@2.0.0",
4545
"ms-playwright.playwright@1.1.17",
4646
"ms-vscode.cmake-tools@1.22.28",
47-
"ms-vscode.cpptools@1.30.5",
48-
"sonarsource.sonarlint-vscode@4.44.0",
47+
"ms-vscode.cpptools@1.31.3",
48+
"sonarsource.sonarlint-vscode@4.45.0",
4949
"usernamehw.errorlens@3.28.0"
5050
]
5151
}

.devcontainer/cpp/requirements.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ cmake==4.2.3 \
135135
--hash=sha256:e3dfbaeffac5848dce60b62a93eecd96b7a3eb0af6d874efc4ec0edb72ec7a24 \
136136
--hash=sha256:e9d3761edc558b89321283c258f3bc036d2cda4c22ecfa181a25bb84e96afd4a \
137137
--hash=sha256:f3693c97daaeedc931c6c2ef67b7213e60ef8e51c11050b6a7f4628f5f2a7883
138-
# via -r cpp/requirements.in
138+
# via -r requirements.in
139139
colorama==0.4.6 \
140140
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
141141
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
@@ -146,7 +146,7 @@ colorlog==6.8.2 \
146146
# via gcovr
147147
conan==2.26.2 \
148148
--hash=sha256:28bfbbd276935623f1b304811335acb9d2b8ce3a57aa649e432d10d4f51ce055
149-
# via -r cpp/requirements.in
149+
# via -r requirements.in
150150
distro==1.8.0 \
151151
--hash=sha256:02e111d1dc6a50abb8eed6bf31c3e48ed8b0830d1ea2a1b78c61765c2513fdd8 \
152152
--hash=sha256:99522ca3e365cac527b44bde033f64c6945d90eb9f769703caaec52b09bbd3ff
@@ -158,7 +158,7 @@ fasteners==0.19 \
158158
gcovr==8.6 \
159159
--hash=sha256:b2e7042abca9321cadbab8a06eb34d19f801b831557b28cdc30a029313de8b9e \
160160
--hash=sha256:dbf9d87c38042752ad6f530aa8210427e22b526611bb7b7bfed0e81977d1f1ef
161-
# via -r cpp/requirements.in
161+
# via -r requirements.in
162162
idna==3.10 \
163163
--hash=sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9 \
164164
--hash=sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3
@@ -328,9 +328,9 @@ markupsafe==2.1.3 \
328328
patch-ng==1.18.0 \
329329
--hash=sha256:da067628d6d5fd9dc5a55eab37951d46bd95661b7219fab364b711366abcc690
330330
# via conan
331-
pygments==2.17.2 \
332-
--hash=sha256:b27c2826c47d0f3219f29554824c30c5e8945175d888647acd804ddd04af846c \
333-
--hash=sha256:da46cec9fd2de5be3a8a784f434e4c4ab670b4ff54d605c4c2717e9d49c4c367
331+
pygments==2.20.0 \
332+
--hash=sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f \
333+
--hash=sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176
334334
# via gcovr
335335
python-dateutil==2.9.0.post0 \
336336
--hash=sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3 \
@@ -391,9 +391,9 @@ pyyaml==6.0.2 \
391391
--hash=sha256:f753120cb8181e736c57ef7636e83f31b9c0d1722c516f7e86cf15b7aa57ff12 \
392392
--hash=sha256:ff3824dc5261f50c9b0dfb3be22b4567a6f938ccce4587b38952d85fd9e9afe4
393393
# via conan
394-
requests==2.32.4 \
395-
--hash=sha256:27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c \
396-
--hash=sha256:27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422
394+
requests==2.33.0 \
395+
--hash=sha256:3324635456fa185245e24865e810cecec7b4caf933d7eb133dcde67d48cee69b \
396+
--hash=sha256:c7ebc5e8b0f21837386ad0e1c8fe8b829fa5f544d8df3b2253bff14ef29d7652
397397
# via conan
398398
six==1.16.0 \
399399
--hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 \

.devcontainer/rust/devcontainer-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"extensions": [
88
"mhutchie.git-graph@1.30.0",
99
"ms-vsliveshare.vsliveshare@1.0.5959",
10-
"rust-lang.rust-analyzer@0.3.2819",
10+
"rust-lang.rust-analyzer@0.3.2836",
1111
"tamasfe.even-better-toml@0.21.2",
1212
"usernamehw.errorlens@3.28.0"
1313
]

.devcontainer/rust/devcontainer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
},
2020
"extensions": [
2121
"github.copilot@1.388.0",
22-
"github.vscode-github-actions@0.31.0",
23-
"github.vscode-pull-request-github@0.132.0",
22+
"github.vscode-github-actions@0.31.2",
23+
"github.vscode-pull-request-github@0.132.2",
2424
"jetmartin.bats@0.1.10",
2525
"kherring.bats-test-runner@0.1.3",
2626
"mhutchie.git-graph@1.30.0",
2727
"ms-azuretools.vscode-docker@2.0.0",
28-
"rust-lang.rust-analyzer@0.3.2819",
29-
"sonarsource.sonarlint-vscode@4.44.0",
28+
"rust-lang.rust-analyzer@0.3.2836",
29+
"sonarsource.sonarlint-vscode@4.45.0",
3030
"tamasfe.even-better-toml@0.21.2",
3131
"usernamehw.errorlens@3.28.0"
3232
]

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ jobs:
4747
needs: build-push-test
4848
if: ${{ !cancelled() }}
4949
steps:
50-
- uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
50+
- uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0
5151
with:
5252
disable-sudo: true
5353
egress-policy: audit
54-
- uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
54+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
5555
with:
5656
merge-multiple: true
5757
pattern: test-results-*

0 commit comments

Comments
 (0)