Skip to content

Commit 88b526b

Browse files
committed
Incorporated upstream v0.13.0 changes and re-applied downstream features
Git history will be rewritten to a fresh start Next backport will be done as a rebase operation (with "git push --force-with-lease" on the main downstream branch) Note: Prometheus first PR has been cherry-picked Signed-off-by: Leonardo Milleri <[email protected]>
1 parent d9eb5e0 commit 88b526b

Some content is hidden

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

47 files changed

+18710
-271
lines changed

.tekton/trustee-pull-request.yaml

Lines changed: 630 additions & 0 deletions
Large diffs are not rendered by default.

.tekton/trustee-push.yaml

Lines changed: 613 additions & 0 deletions
Large diffs are not rendered by default.

Cargo.lock

Lines changed: 204 additions & 182 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ members = [
55
"rvps",
66
"tools/kbs-client",
77
"deps/verifier",
8-
"integration-tests",
98
]
109
resolver = "2"
1110

@@ -33,7 +32,7 @@ hex = "0.4.3"
3332
jwt-simple = { version = "0.12", default-features = false, features = [
3433
"pure-rust",
3534
] }
36-
kbs_protocol = { git = "https://github.com/confidential-containers/guest-components.git", rev = "27b8245", default-features = false }
35+
kbs_protocol = { git = "https://github.com/confidential-containers/guest-components.git", rev = "e6999a3c0fd877dae9e68ea78b8b483062db32b8", default-features = false }
3736
kbs-types = "0.10.0"
3837
kms = { git = "https://github.com/confidential-containers/guest-components.git", rev = "e6999a3c0fd877dae9e68ea78b8b483062db32b8", default-features = false }
3938
jsonwebtoken = { version = "9", default-features = false }

integration-tests/Cargo.toml

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

integration-tests/src/lib.rs

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

kbs/Cargo.toml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ lazy_static = "1.4.0"
6060
log.workspace = true
6161
mobc = { version = "0.8.5", optional = true }
6262
p256 = { workspace = true, features = ["ecdh"] }
63+
prometheus = "0.13.4"
6364
prost = { workspace = true, optional = true }
6465
rand = "0.8.5"
6566
regex = "1.11.1"
@@ -103,7 +104,20 @@ josekit = "0.10.0"
103104
tempfile.workspace = true
104105
rstest.workspace = true
105106
reference-value-provider-service.path = "../rvps"
106-
serial_test = "3.0"
107+
serial_test.workspace = true
108+
109+
[target.'cfg(not(any(target_arch = "s390x", target_arch = "aarch64")))'.dev-dependencies]
110+
kbs-client = { path = "../tools/kbs-client" }
111+
112+
[target.'cfg(target_arch = "s390x")'.dev-dependencies]
113+
kbs-client = { path = "../tools/kbs-client", default-features = false, features = [
114+
"se-attester",
115+
] }
116+
117+
[target.'cfg(target_arch = "aarch64")'.dev-dependencies]
118+
kbs-client = { path = "../tools/kbs-client", default-features = false, features = [
119+
"cca-attester",
120+
] }
107121

108122
[build-dependencies]
109123
tonic-build = { workspace = true, optional = true }

kbs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ uninstall:
115115
rm -rf $(INSTALL_DESTDIR)/kbs $(INSTALL_DESTDIR)/kbs-client $(INSTALL_DESTDIR)/issuer-kbs $(INSTALL_DESTDIR)/resource-kbs
116116

117117
check:
118-
cargo test -p kbs -p kbs-client -p integration-tests $(TEST_ARGUMENTS)
118+
cargo test -p kbs -p kbs-client $(TEST_ARGUMENTS)
119119

120120
lint:
121121
cargo clippy -p kbs -p kbs-client $(TEST_ARGUMENTS) -- -D warnings

kbs/docker/kbs-client-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/library/rust:1.80.0 AS builder
1+
FROM docker.io/library/rust:1.89.0 AS builder
22

33
WORKDIR /usr/src/kbs
44
COPY . .

kbs/docker/kbs-client/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/library/rust:1.80.0 AS builder
1+
FROM docker.io/library/rust:1.89.0 AS builder
22
ARG ARCH=x86_64
33

44
WORKDIR /usr/src/kbs

0 commit comments

Comments
 (0)