Skip to content

Commit 0144e02

Browse files
authored
Merge branch 'datadog' into mateo.lelong/runtime-rs-block-mounts
2 parents bab1d92 + 77e6f1b commit 0144e02

627 files changed

Lines changed: 26918 additions & 21284 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cspell.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json
2+
version: "0.2"
3+
language: en,en-GB
4+
5+
dictionaryDefinitions:
6+
- name: kata-terms
7+
path: ./tests/spellcheck/kata-dictionary.txt
8+
addWords: true
9+
10+
dictionaries:
11+
- en-GB
12+
- en_US
13+
- bash
14+
- git
15+
- golang
16+
- k8s
17+
- python
18+
- rust
19+
- companies
20+
- mnemonics
21+
- peopleNames
22+
- softwareTerms
23+
- networking-terms
24+
- kata-terms
25+
26+
ignoreRegExpList:
27+
- /@[a-z\d](?:[a-z\d]|-(?=[a-z\d])){0,38}/gi # Ignores github handles
28+
# Ignore code blocks
29+
- /^\s*`{3,}[\s\S]*?^\s*`{3,}/gm
30+
- /`[^`\n]+`/g
31+
32+
ignorePaths:
33+
- "**/vendor/**" # vendor files aren't owned by us
34+
- "**/src/runtime/virtcontainers/pkg/cloud-hypervisor/client/**" # Generated files
35+
- "**/requirements.txt"
36+
37+
useGitignore: true

.dockerignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Context for tools/packaging/kata-deploy/Dockerfile (build from repo root: -f tools/packaging/kata-deploy/Dockerfile .)
2+
#
3+
# The Dockerfile only needs: Cargo.toml, Cargo.lock, src/, tools/packaging/kata-deploy/,
4+
# and versions.yaml. Exclude heavy or irrelevant trees to keep context small.
5+
.git
6+
.github
7+
target
8+
kata-artifacts
9+
docs
10+
tests
11+
utils
12+
tools/packaging/kata-deploy/local-build
13+
tools/packaging/kata-deploy/binary/target

.github/cargo-deny-composite-action/cargo-deny-generator.sh

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/cargo-deny-composite-action/cargo-deny-skeleton.yaml.in

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ updates:
3737
# create groups for common dependencies, so they can all go in a single PR
3838
# We can extend this as we see more frequent groups
3939
groups:
40-
bit-vec:
40+
aws-libcrypto:
4141
patterns:
42-
- bit-vec
42+
- aws-lc-*
4343
bumpalo:
4444
patterns:
4545
- bumpalo
@@ -67,6 +67,9 @@ updates:
6767
rustix:
6868
patterns:
6969
- rustix
70+
rustls-webpki:
71+
patterns:
72+
- rustls-webpki
7073
slab:
7174
patterns:
7275
- slab

.github/workflows/PR-wip-checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: WIP Check
2222
steps:
2323
- name: WIP Check
24-
uses: tim-actions/wip-check@1c2a1ca6c110026b3e2297bb2ef39e1747b5a755 # master (2021-06-10)
24+
uses: tim-actions/wip-check@8c84f5987215d49440b86475062d61e4f099e1b7 # master (2021-06-10)
2525
with:
2626
labels: '["do-not-merge", "wip", "rfc"]'
2727
keywords: '["WIP", "wip", "RFC", "rfc", "dnm", "DNM", "do-not-merge"]'

.github/workflows/actionlint.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ jobs:
2323

2424
- name: Run actionlint
2525
uses: raven-actions/actionlint@e01d1ea33dd6a5ed517d95b4c0c357560ac6f518 # v2.1.1
26+
with:
27+
version: '1.7.12'

.github/workflows/basic-ci-amd64.yaml

Lines changed: 61 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
KATA_HYPERVISOR: ${{ matrix.vmm }}
3636
SANDBOXER: "shim"
3737
steps:
38-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
38+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3939
with:
4040
ref: ${{ inputs.commit-hash }}
4141
fetch-depth: 0
@@ -70,7 +70,7 @@ jobs:
7070
GH_TOKEN: ${{ github.token }}
7171

7272
- name: get-kata-tarball
73-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
73+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
7474
with:
7575
name: kata-static-tarball-amd64${{ inputs.tarball-suffix }}
7676
path: kata-artifacts
@@ -96,7 +96,7 @@ jobs:
9696
KATA_HYPERVISOR: ${{ matrix.vmm }}
9797
SANDBOXER: "podsandbox"
9898
steps:
99-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
99+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
100100
with:
101101
ref: ${{ inputs.commit-hash }}
102102
fetch-depth: 0
@@ -113,7 +113,7 @@ jobs:
113113
GH_TOKEN: ${{ github.token }}
114114

115115
- name: get-kata-tarball
116-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
116+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
117117
with:
118118
name: kata-static-tarball-amd64${{ inputs.tarball-suffix }}
119119
path: kata-artifacts
@@ -141,7 +141,7 @@ jobs:
141141
GOPATH: ${{ github.workspace }}
142142
KATA_HYPERVISOR: ${{ matrix.vmm }}
143143
steps:
144-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
144+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
145145
with:
146146
ref: ${{ inputs.commit-hash }}
147147
fetch-depth: 0
@@ -159,13 +159,13 @@ jobs:
159159
GH_TOKEN: ${{ github.token }}
160160

161161
- name: get-kata-tarball
162-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
162+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
163163
with:
164164
name: kata-static-tarball-amd64${{ inputs.tarball-suffix }}
165165
path: kata-artifacts
166166

167167
- name: get-kata-tools-tarball
168-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
168+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
169169
with:
170170
name: kata-tools-static-tarball-amd64${{ inputs.tarball-suffix }}
171171
path: kata-tools-artifacts
@@ -195,7 +195,7 @@ jobs:
195195
env:
196196
KATA_HYPERVISOR: ${{ matrix.vmm }}
197197
steps:
198-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
198+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
199199
with:
200200
ref: ${{ inputs.commit-hash }}
201201
fetch-depth: 0
@@ -213,7 +213,7 @@ jobs:
213213
GH_TOKEN: ${{ github.token }}
214214

215215
- name: get-kata-tarball
216-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
216+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
217217
with:
218218
name: kata-static-tarball-amd64${{ inputs.tarball-suffix }}
219219
path: kata-artifacts
@@ -242,7 +242,7 @@ jobs:
242242
GOPATH: ${{ github.workspace }}
243243
KATA_HYPERVISOR: ${{ matrix.vmm }}
244244
steps:
245-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
245+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
246246
with:
247247
ref: ${{ inputs.commit-hash }}
248248
fetch-depth: 0
@@ -260,7 +260,7 @@ jobs:
260260
GH_TOKEN: ${{ github.token }}
261261

262262
- name: get-kata-tarball
263-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
263+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
264264
with:
265265
name: kata-static-tarball-amd64${{ inputs.tarball-suffix }}
266266
path: kata-artifacts
@@ -269,6 +269,50 @@ jobs:
269269
timeout-minutes: 15
270270
run: bash tests/functional/vfio/gha-run.sh run
271271

272+
run-docker-tests:
273+
name: run-docker-tests
274+
strategy:
275+
# We can set this to true whenever we're 100% sure that
276+
# all the tests are not flaky, otherwise we'll fail them
277+
# all due to a single flaky instance.
278+
fail-fast: false
279+
matrix:
280+
vmm:
281+
- qemu
282+
runs-on: ubuntu-22.04
283+
env:
284+
KATA_HYPERVISOR: ${{ matrix.vmm }}
285+
steps:
286+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
287+
with:
288+
ref: ${{ inputs.commit-hash }}
289+
fetch-depth: 0
290+
persist-credentials: false
291+
292+
- name: Rebase atop of the latest target branch
293+
run: |
294+
./tests/git-helper.sh "rebase-atop-of-the-latest-target-branch"
295+
env:
296+
TARGET_BRANCH: ${{ inputs.target-branch }}
297+
298+
- name: Install dependencies
299+
run: bash tests/integration/docker/gha-run.sh install-dependencies
300+
env:
301+
GH_TOKEN: ${{ github.token }}
302+
303+
- name: get-kata-tarball
304+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
305+
with:
306+
name: kata-static-tarball-amd64${{ inputs.tarball-suffix }}
307+
path: kata-artifacts
308+
309+
- name: Install kata
310+
run: bash tests/integration/docker/gha-run.sh install-kata kata-artifacts
311+
312+
- name: Run docker smoke test
313+
timeout-minutes: 5
314+
run: bash tests/integration/docker/gha-run.sh run
315+
272316
run-nerdctl-tests:
273317
name: run-nerdctl-tests
274318
strategy:
@@ -287,7 +331,7 @@ jobs:
287331
env:
288332
KATA_HYPERVISOR: ${{ matrix.vmm }}
289333
steps:
290-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
334+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
291335
with:
292336
ref: ${{ inputs.commit-hash }}
293337
fetch-depth: 0
@@ -306,7 +350,7 @@ jobs:
306350
run: bash tests/integration/nerdctl/gha-run.sh install-dependencies
307351

308352
- name: get-kata-tarball
309-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
353+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
310354
with:
311355
name: kata-static-tarball-amd64${{ inputs.tarball-suffix }}
312356
path: kata-artifacts
@@ -324,7 +368,7 @@ jobs:
324368
continue-on-error: true
325369

326370
- name: Archive artifacts ${{ matrix.vmm }}
327-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
371+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
328372
with:
329373
name: nerdctl-tests-garm-${{ matrix.vmm }}
330374
path: /tmp/artifacts
@@ -334,7 +378,7 @@ jobs:
334378
name: run-kata-agent-apis
335379
runs-on: ubuntu-22.04
336380
steps:
337-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
381+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
338382
with:
339383
ref: ${{ inputs.commit-hash }}
340384
fetch-depth: 0
@@ -352,13 +396,13 @@ jobs:
352396
GH_TOKEN: ${{ github.token }}
353397

354398
- name: get-kata-tarball
355-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
399+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
356400
with:
357401
name: kata-static-tarball-amd64${{ inputs.tarball-suffix }}
358402
path: kata-artifacts
359403

360404
- name: get-kata-tools-tarball
361-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
405+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
362406
with:
363407
name: kata-tools-static-tarball-amd64${{ inputs.tarball-suffix }}
364408
path: kata-tools-artifacts

0 commit comments

Comments
 (0)