Skip to content

OS-8535: Installer needs to ask about standalone SmartOS UI#18

Draft
nshalman wants to merge 6 commits into
masterfrom
OS-8535
Draft

OS-8535: Installer needs to ask about standalone SmartOS UI#18
nshalman wants to merge 6 commits into
masterfrom
OS-8535

Conversation

@nshalman

Copy link
Copy Markdown
Contributor

In order to wire up the SmartOS installer to be able to install smartos-ui at setup time, it will need some improvements.
This PR is where I will build those.
First some tidying before I get to the heart of that.

@danmcd danmcd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will changing the Rust toolchain require a minimum PI bump? Oh, and do we need to enforce a minimum PI?

Comment thread Makefile

NAME = smartos-ui
RUST_TOOLCHAIN = 1.75.0
RUST_TOOLCHAIN = 1.84.1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this bump the minimum PI that SmartOS UI needs?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oooh, I see the code to check for that is commented out, and dependent on manta...

        # # Get the minimium supported PI from the Manta object's metadata
        # minimium_pi=$("${CURL[@]}" -I -o /dev/null -w '%header{m-minimum-pi}' \
        #   "${URL_PREFIX}/smartos-ui-$version.tar.gz")

        # if [[ "${Live_Image:?}" < "$minimium_pi" ]]; then
        #       err "$version requires a platform image of $minimium_pi or newer"
        # fi

That starts at line 181 of uiadm.sh.

@nshalman nshalman force-pushed the OS-8535 branch 4 times, most recently from b62ef2b to c45d246 Compare May 1, 2025 17:31
Comment thread Makefile
RUST_TOOLCHAIN = 1.84.1

ENGBLD_USE_BUILDIMAGE = false
ENGBLD_SKIP_VALIDATE_BUILDENV = true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will we need that with the recent push to eng?

Comment thread Makefile
export STAMP

BUILD_PLATFORM = 20210826T002459Z
BUILD_PLATFORM := 20240111T002438Z

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That happens to be the PI of where the one zone landed. Did you pick that for that specific reason? Or is there another?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants