From 62d4af93899efe03ff59905f03f2eb559c3b1613 Mon Sep 17 00:00:00 2001 From: Matthew James Briggs Date: Wed, 20 Sep 2023 11:34:59 -0700 Subject: [PATCH] build: update twoliter to v0.0.4 Has - testsys fixes - requires specification of the SDK in Twoliter.toml - Adds logging functionality for pubsys and testsys --- Makefile.toml | 13 +------------ Twoliter.toml | 10 ++++++++++ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/Makefile.toml b/Makefile.toml index eff140b81b5..c5c2a7bc186 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -7,7 +7,7 @@ BUILDSYS_ROOT_DIR = "${CARGO_MAKE_WORKING_DIRECTORY}" # For binary installation, this should be a released version (prefixed with a v, # for example v0.1.0). For the git sourcecode installation method, this can be # any git rev, e.g. a tag, sha, or branch name. -TWOLITER_VERSION = "v0.0.3" +TWOLITER_VERSION = "v0.0.4" # For binary installation, this is the GitHub repository that has binary release artifacts attached # to it, for example https://github.com/bottlerocket-os/twoliter. For git sourcecode installation, @@ -62,12 +62,6 @@ BUILDSYS_NAME = "bottlerocket" # If you're building a Bottlerocket remix, you'd want to set this to something like # "Bottlerocket Remix by ${CORP}" or "${CORP}'s Bottlerocket Remix" BUILDSYS_PRETTY_NAME = "Bottlerocket OS" -# SDK name used for building -BUILDSYS_SDK_NAME="bottlerocket" -# SDK version used for building -BUILDSYS_SDK_VERSION="v0.34.1" -# Site for fetching the SDK -BUILDSYS_REGISTRY="public.ecr.aws/bottlerocket" # These can be overridden with -e to change configuration for pubsys (`cargo # make repo`). In addition, you can set RELEASE_START_TIME to determine when @@ -174,11 +168,6 @@ TESTSYS_TEST_CONFIG_PATH = "${BUILDSYS_ROOT_DIR}/Test.toml" TWOLITER = "${TWOLITER_INSTALL_DIR}/twoliter" -# Depends on ${BUILDSYS_ARCH}, ${BUILDSYS_REGISTRY}, ${BUILDSYS_SDK_NAME}, and -# ${BUILDSYS_SDK_VERSION}. -BUILDSYS_SDK_IMAGE = { script = [ "echo ${BUILDSYS_REGISTRY}/${BUILDSYS_SDK_NAME}-sdk-${BUILDSYS_ARCH}:${BUILDSYS_SDK_VERSION}" ] } -BUILDSYS_TOOLCHAIN = { script = [ "echo ${BUILDSYS_REGISTRY}/${BUILDSYS_SDK_NAME}-toolchain-${BUILDSYS_ARCH}:${BUILDSYS_SDK_VERSION}" ] } - # Depends on ${BUILDSYS_JOBS}. CARGO_MAKE_CARGO_LIMIT_JOBS = "--jobs ${BUILDSYS_JOBS}" CARGO_MAKE_CARGO_ARGS = "--offline --locked" diff --git a/Twoliter.toml b/Twoliter.toml index 41bb4d41d53..c52f30fe7a6 100644 --- a/Twoliter.toml +++ b/Twoliter.toml @@ -1 +1,11 @@ schema-version = 1 + +[sdk] +registry = "public.ecr.aws/bottlerocket" +name = "bottlerocket-sdk" +version = "v0.34.1" + +[toolchain] +registry = "public.ecr.aws/bottlerocket" +name = "bottlerocket-toolchain" +version = "v0.34.1"