Skip to content

Commit

Permalink
feat: KurtosisUpgrader component release (#2473)
Browse files Browse the repository at this point in the history
## Description
Enable the KurtosisUpgader cloud component in production 

## REMINDER: Tag Reviewers, so they get notified to review

## Is this change user facing?
YES

## References (if applicable)
<!-- Add relevant Github Issues, Discord threads, or other helpful
information. -->
<!-- You can auto-close issues by putting "Fixes #XXXX" here. -->
  • Loading branch information
leoporoli authored Jun 5, 2024
1 parent 473bed8 commit f458e9f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
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

0 comments on commit f458e9f

Please sign in to comment.