Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to SDK 0.23.0 #1779

Merged
merged 2 commits into from
Oct 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fail-fast: false
steps:
- uses: actions/checkout@v2
- run: rustup toolchain install 1.53.0 && rustup default 1.53.0
- run: rustup toolchain install 1.56.0 && rustup default 1.56.0
- run: cargo install --version 0.30.0 cargo-make
- run: cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} unit-tests
- run: cargo make -e BUILDSYS_VARIANT=${{ matrix.variant }} check-fmt
Expand Down
6 changes: 3 additions & 3 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ BUILDSYS_NAME = "bottlerocket"
# "Bottlerocket Remix by ${CORP}" or "${CORP}'s Bottlerocket Remix"
BUILDSYS_PRETTY_NAME = "Bottlerocket OS"
# SDK version used for building
BUILDSYS_SDK_VERSION="v0.22.0"
BUILDSYS_SDK_VERSION="v0.23.0"
# Site for fetching the SDK
BUILDSYS_REGISTRY="public.ecr.aws/bottlerocket"

Expand Down Expand Up @@ -498,8 +498,8 @@ dependencies = ["fetch"]
script = [
'''
run_cargo_deny="
(cd /tmp/sources && cargo deny check --disable-fetch licenses)
(cd /tmp/tools && cargo deny check --disable-fetch licenses)
(cd /tmp/sources && cargo deny --all-features check --disable-fetch licenses bans sources) &&
(cd /tmp/tools && cargo deny --all-features check --disable-fetch licenses bans sources)
"
set +e
docker run --rm \
Expand Down
6 changes: 3 additions & 3 deletions sources/api/apiclient/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
constants = { path = "../../constants" }
datastore = { path = "../datastore" }
constants = { path = "../../constants", version = "0.1.0" }
datastore = { path = "../datastore", version = "0.1.0" }
futures = { version = "0.3", default-features = false }
http = "0.2"
# Ensure we use exactly hyper 0.14.2 which is the last version that does not emit a cdylib
# See this issue for tracking https://github.com/bottlerocket-os/bottlerocket/issues/1471
hyper = { version = "=0.14.2", default-features = false, features = [ "client", "http1", "http2" ] }
hyper-unix-connector = "0.2"
log = "0.4"
models = { path = "../../models" }
models = { path = "../../models", version = "0.1.0" }
rand = "0.8"
reqwest = { version = "0.11.1", default-features = false, features = ["rustls-tls"] }
serde = { version = "1.0", features = ["derive"] }
Expand Down
8 changes: 4 additions & 4 deletions sources/api/apiserver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ exclude = ["README.md"]

[dependencies]
actix-web = { version = "4.0.0-beta.5", default-features = false }
bottlerocket-release = { path = "../../bottlerocket-release" }
datastore = { path = "../datastore" }
bottlerocket-release = { path = "../../bottlerocket-release", version = "0.1.0" }
datastore = { path = "../datastore", version = "0.1.0" }
fs2 = "0.4.3"
futures = { version = "0.3", default-features = false }
http = "0.2.1"
libc = "0.2"
log = "0.4"
models = { path = "../../models" }
models = { path = "../../models", version = "0.1.0" }
nix = "0.22"
num = "0.4"
percent-encoding = "2.1"
Expand All @@ -27,7 +27,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
simplelog = "0.10"
snafu = "0.6"
thar-be-updates = { path = "../thar-be-updates" }
thar-be-updates = { path = "../thar-be-updates", version = "0.1.0" }
walkdir = "2.2"

[build-dependencies]
Expand Down
8 changes: 4 additions & 4 deletions sources/api/bootstrap-containers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
apiclient = { path = "../apiclient" }
constants = { path = "../../constants" }
datastore = { path = "../datastore" }
apiclient = { path = "../apiclient", version = "0.1.0" }
constants = { path = "../../constants", version = "0.1.0" }
datastore = { path = "../datastore", version = "0.1.0" }
base64 = "0.13"
http = "0.2"
log = "0.4"
models = { path = "../../models" }
models = { path = "../../models", version = "0.1.0" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
simplelog = "0.10"
Expand Down
6 changes: 3 additions & 3 deletions sources/api/certdog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
apiclient = { path = "../apiclient" }
apiclient = { path = "../apiclient", version = "0.1.0" }
argh = "0.1.3"
base64 = "0.13"
constants = { path = "../../constants" }
constants = { path = "../../constants", version = "0.1.0" }
# x509-parser depends on der-parser ^5.0. 5.1.1 contains breaking changes.
# The 5.1.1 release isn't in the master branch; those changes are instead in a
# 6.0.0 release, more clearly implying breaking changes. Lock to 5.1.0.
der-parser = "=5.1.0"
http = "0.2"
log = "0.4"
models = { path = "../../models" }
models = { path = "../../models", version = "0.1.0" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
simplelog = "0.10"
Expand Down
6 changes: 3 additions & 3 deletions sources/api/corndog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
apiclient = { path = "../apiclient" }
constants = { path = "../../constants" }
apiclient = { path = "../apiclient", version = "0.1.0" }
constants = { path = "../../constants", version = "0.1.0" }
http = "0.2"
log = "0.4"
models = { path = "../../models" }
models = { path = "../../models", version = "0.1.0" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
simplelog = "0.10"
Expand Down
6 changes: 3 additions & 3 deletions sources/api/early-boot-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
apiclient = { path = "../apiclient" }
apiclient = { path = "../apiclient", version = "0.1.0" }
async-trait = "0.1.36"
base64 = "0.13"
constants = { path = "../../constants" }
constants = { path = "../../constants", version = "0.1.0" }
flate2 = { version = "1.0", default-features = false, features = ["rust_backend"] }
http = "0.2"
imdsclient = { path = "../../imdsclient" }
imdsclient = { path = "../../imdsclient", version = "0.1.0" }
log = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
Expand Down
4 changes: 2 additions & 2 deletions sources/api/ecs-settings-applier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
constants = { path = "../../constants" }
constants = { path = "../../constants", version = "0.1.0" }
serde = {version = "1.0", features = ["derive"]}
serde_json = "1"
schnauzer = { path = "../schnauzer" }
schnauzer = { path = "../schnauzer", version = "0.1.0" }
log = "0.4"
snafu = "0.6"
tokio = { version = "~1.8", default-features = false, features = ["macros", "rt-multi-thread"] } # LTS
Expand Down
6 changes: 3 additions & 3 deletions sources/api/host-containers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
apiclient = { path = "../apiclient" }
apiclient = { path = "../apiclient", version = "0.1.0" }
base64 = "0.13"
constants = { path = "../../constants" }
constants = { path = "../../constants", version = "0.1.0" }
http = "0.2"
log = "0.4"
models = { path = "../../models" }
models = { path = "../../models", version = "0.1.0" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
simplelog = "0.10"
Expand Down
6 changes: 3 additions & 3 deletions sources/api/migration/migration-helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ publish = false
exclude = ["README.md"]

[dependencies]
bottlerocket-release = { path = "../../../bottlerocket-release" }
datastore = { path = "../../datastore" }
bottlerocket-release = { path = "../../../bottlerocket-release", version = "0.1.0" }
datastore = { path = "../../datastore", version = "0.1.0" }
handlebars = "4.1"
schnauzer = { path = "../../schnauzer" }
schnauzer = { path = "../../schnauzer", version = "0.1.0" }
serde = "1.0.104"
serde_json = "1.0"
snafu = "0.6"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ publish = false
exclude = ["README.md"]

[dependencies]
migration-helpers = { path = "../../../migration-helpers" }
migration-helpers = { path = "../../../migration-helpers", version = "0.1.0" }
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ publish = false
exclude = ["README.md"]

[dependencies]
migration-helpers = { path = "../../../migration-helpers" }
migration-helpers = { path = "../../../migration-helpers", version = "0.1.0" }
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ publish = false
exclude = ["README.md"]

[dependencies]
migration-helpers = { path = "../../../migration-helpers" }
migration-helpers = { path = "../../../migration-helpers", version = "0.1.0" }
6 changes: 3 additions & 3 deletions sources/api/migration/migrator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
bottlerocket-release = { path = "../../../bottlerocket-release" }
bottlerocket-release = { path = "../../../bottlerocket-release", version = "0.1.0" }
log = "0.4"
lz4 = "1.23.1"
nix = "0.22"
Expand All @@ -21,15 +21,15 @@ semver = "1.0"
simplelog = "0.10"
snafu = "0.6"
tough = "0.11"
update_metadata = { path = "../../../updater/update_metadata" }
update_metadata = { path = "../../../updater/update_metadata", version = "0.1.0" }
url = "2.1.1"

[build-dependencies]
cargo-readme = "3.1"

[dev-dependencies]
chrono = "0.4.11"
storewolf = { path = "../../storewolf" }
storewolf = { path = "../../storewolf", version = "0.1.0" }
tempfile = "3.1.0"

[[bin]]
Expand Down
8 changes: 4 additions & 4 deletions sources/api/pluto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
apiclient = { path = "../apiclient" }
constants = { path = "../../constants" }
imdsclient = { path = "../../imdsclient" }
models = { path = "../../models" }
apiclient = { path = "../apiclient", version = "0.1.0" }
constants = { path = "../../constants", version = "0.1.0" }
imdsclient = { path = "../../imdsclient", version = "0.1.0" }
models = { path = "../../models", version = "0.1.0" }
rusoto_core = { version = "0.47", default-features = false, features = ["rustls"] }
rusoto_eks = { version = "0.47", default-features = false, features = ["rustls"] }
serde_json = "1"
Expand Down
8 changes: 4 additions & 4 deletions sources/api/schnauzer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
apiclient = { path = "../apiclient" }
apiclient = { path = "../apiclient", version = "0.1.0" }
base64 = "0.13"
constants = { path = "../../constants" }
bottlerocket-release = { path = "../../bottlerocket-release" }
constants = { path = "../../constants", version = "0.1.0" }
bottlerocket-release = { path = "../../bottlerocket-release", version = "0.1.0" }
dns-lookup = "1.0"
handlebars = "4.1"
http = "0.2"
lazy_static = "1.4"
log = "0.4"
models = { path = "../../models" }
models = { path = "../../models", version = "0.1.0" }
percent-encoding = "2.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
Expand Down
8 changes: 4 additions & 4 deletions sources/api/servicedog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
apiclient = { path = "../apiclient" }
constants = { path = "../../constants" }
datastore = { path = "../datastore" }
apiclient = { path = "../apiclient", version = "0.1.0" }
constants = { path = "../../constants", version = "0.1.0" }
datastore = { path = "../datastore", version = "0.1.0" }
http = "0.2"
log = "0.4"
models = { path = "../../models" }
models = { path = "../../models", version = "0.1.0" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
simplelog = "0.10"
Expand Down
4 changes: 2 additions & 2 deletions sources/api/settings-committer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
apiclient = { path = "../apiclient" }
constants = { path = "../../constants" }
apiclient = { path = "../apiclient", version = "0.1.0" }
constants = { path = "../../constants", version = "0.1.0" }
snafu = "0.6"
http = "0.2"
log = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion sources/api/shibaken/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exclude = ["README.md"]

[dependencies]
base64 = "0.13"
imdsclient = { path = "../../imdsclient" }
imdsclient = { path = "../../imdsclient", version = "0.1.0" }
log = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
Expand Down
6 changes: 3 additions & 3 deletions sources/api/static-pods/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
constants = { path = "../../constants" }
constants = { path = "../../constants", version = "0.1.0" }
base64 = "0.13"
log = "0.4"
models = { path = "../../models" }
schnauzer = { path = "../schnauzer" }
models = { path = "../../models", version = "0.1.0" }
schnauzer = { path = "../schnauzer", version = "0.1.0" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
simplelog = "0.10"
Expand Down
12 changes: 6 additions & 6 deletions sources/api/storewolf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
constants = { path = "../../constants" }
bottlerocket-release = { path = "../../bottlerocket-release" }
datastore = { path = "../datastore" }
constants = { path = "../../constants", version = "0.1.0" }
bottlerocket-release = { path = "../../bottlerocket-release", version = "0.1.0" }
datastore = { path = "../datastore", version = "0.1.0" }
log = "0.4"
models = { path = "../../models" }
models = { path = "../../models", version = "0.1.0" }
rand = { version = "0.8", default-features = false, features = ["std", "std_rng"] }
semver = "1.0"
simplelog = "0.10"
Expand All @@ -23,13 +23,13 @@ toml = "0.5"

[build-dependencies]
cargo-readme = "3.1"
merge-toml = { path = "merge-toml" }
merge-toml = { path = "merge-toml", version = "0.1.0" }
# We have a models build-dep because we read default settings from the models
# directory and need its build.rs to run first; we also reflect the dependency
# with cargo:rerun-if-changed statements in our build.rs. The models build.rs
# runs twice, once for the above dependency and once for this build-dependency,
# so it's important that it remains reentrant.
models = { path = "../../models" }
models = { path = "../../models", version = "0.1.0" }
snafu = "0.6"
toml = "0.5"
walkdir = "2"
Expand Down
8 changes: 4 additions & 4 deletions sources/api/sundog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
apiclient = { path = "../apiclient" }
constants = { path = "../../constants" }
datastore = { path = "../datastore" }
apiclient = { path = "../apiclient", version = "0.1.0" }
constants = { path = "../../constants", version = "0.1.0" }
datastore = { path = "../datastore", version = "0.1.0" }
http = "0.2"
log = "0.4"
models = { path = "../../models" }
models = { path = "../../models", version = "0.1.0" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
simplelog = "0.10"
Expand Down
8 changes: 4 additions & 4 deletions sources/api/thar-be-settings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ build = "build.rs"
exclude = ["README.md"]

[dependencies]
apiclient = { path = "../apiclient" }
constants = { path = "../../constants" }
apiclient = { path = "../apiclient", version = "0.1.0" }
constants = { path = "../../constants", version = "0.1.0" }
handlebars = "4.1"
http = "0.2"
itertools = "0.10"
log = "0.4"
models = { path = "../../models" }
models = { path = "../../models", version = "0.1.0" }
nix = "0.22"
schnauzer = { path = "../schnauzer" }
schnauzer = { path = "../schnauzer", version = "0.1.0" }
serde_json = "1"
simplelog = "0.10"
snafu = "0.6"
Expand Down
Loading