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

feat: KurtosisUpgrader component release #2473

Merged
merged 6 commits into from
Jun 5, 2024
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
4 changes: 0 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -537,13 +537,9 @@ jobs:
# Generate Kurtosis Version
- run: "<<pipeline.parameters.generate-kurtosis-version-script-path>>"

# Install goreleaser
# we need to update the apt key, otherwise imports fails due to unrecognized key
- run: |
echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | tee /etc/apt/sources.list.d/goreleaser.list
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
apt update
apt install -y goreleaser

# Cache our dependencies
- restore_cache:
Expand Down
7 changes: 6 additions & 1 deletion cli/cli/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,12 @@ fi
else
goreleaser_verb_and_flags="build --clean --snapshot --single-target"
fi
if ! GORELEASER_CURRENT_TAG=$(cat $root_dirpath/version.txt) goreleaser ${goreleaser_verb_and_flags}; then
if ! export GORELEASER_CURRENT_TAG=$(cat $root_dirpath/version.txt); then
echo "Error: Couldn't export the GORELEASER_CURRENT_TAG to set the Kurtosis version" >&2
exit 1
fi
# Executing goreleaser v1.26.2 without needing to install it
if ! curl -sfL https://goreleaser.com/static/run | VERSION=v1.26.2 DISTRIBUTION=oss bash -s -- ${goreleaser_verb_and_flags}; then
echo "Error: Couldn't build the CLI binary for the current OS/arch" >&2
exit 1
fi
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Button, ButtonGroup, Flex } from "@chakra-ui/react";
import { AppPageLayout, KurtosisAlert, PageTitle } from "kurtosis-ui-components";
import { useEffect, useMemo, useState } from "react";
import { useExperiments } from "../experiments/ExperimentsContext";
import { BrowserRecommendator } from "./components/BrowserRecommendator";
import { KurtosisUpgrader } from "./components/KurtosisUpgrader";
import { EnclavesTable } from "./components/tables/EnclavesTable";
Expand All @@ -15,7 +14,6 @@ export const EnclaveList = () => {

const [selectedEnclaves, setSelectedEnclaves] = useState<EnclaveFullInfo[]>([]);

const { experiments } = useExperiments();
const enclavesKey = useMemo(
() =>
enclaves.isErr
Expand Down Expand Up @@ -48,7 +46,7 @@ export const EnclaveList = () => {
</Flex>
</Flex>
<Flex direction="column" pt={"24px"} width={"100%"} gap={8}>
{experiments.enableCloudVersionUpgrade && <KurtosisUpgrader />}
<KurtosisUpgrader />
<BrowserRecommendator />
{enclaves.isOk && (
<EnclavesTable
Expand Down
Loading