Skip to content

Commit

Permalink
remove canary app
Browse files Browse the repository at this point in the history
  • Loading branch information
andypf committed Jun 21, 2024
1 parent 8908b1c commit 7504aa3
Show file tree
Hide file tree
Showing 24 changed files with 492 additions and 1,501 deletions.
5 changes: 4 additions & 1 deletion apps/assets-overview/src/components/AssetsListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { DateTime } from "luxon"
const AssetsListItem = ({ name, versions }) => {
const urlStateKey = useStore((state) => state.urlStateKey)
const { latest, ...otherVersions } = versions || {}
console.log("===", latest)
const olderVersions = React.useMemo(() => {
const keys = Object.keys(otherVersions)
const index = keys.indexOf(latest?.version)
Expand Down Expand Up @@ -49,7 +50,8 @@ const AssetsListItem = ({ name, versions }) => {
})
}, [urlStateKey, name, latest?.version])

latest.repository = "https://github.com/juno-project/juno"
latest.repository =
latest.repository || "https://github.com/juno-project/juno"

return (
<DataGridRow
Expand All @@ -63,6 +65,7 @@ const AssetsListItem = ({ name, versions }) => {
{latest.kind === "juno-3rd-party" && <Pill pillValueLabel="3rd" />}
{latest.kind === "juno" && <Pill pillValueLabel="Juno" />}
</Stack>
<span className="text-xs text-theme-light">{latest.repository}</span>
{latest.author && (
<span className="text-xs text-theme-light">
powered by {latest.author}{" "}
Expand Down
2 changes: 1 addition & 1 deletion ci/Dockerfile.assets.server
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG EXIT_ON_ERROR="true"
FROM keppel.eu-de-1.cloud.sap/ccloud/juno-v3-assets-server:latest AS lastbuild

# Base image
FROM keppel.eu-de-1.cloud.sap/ccloud/juno-canary-base:latest AS base
FROM keppel.eu-de-1.cloud.sap/ccloud/juno-v3-base:latest AS base
ARG BASE_URL_PLACEHOLDER

RUN mkdir -p /tmp/latest
Expand Down
2 changes: 1 addition & 1 deletion ci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

FLY := fly -t v5
ci: ci-clean ci-create
$(FLY) set-pipeline --pipeline juno-v4 -c pipeline.yaml -l ./vars.yaml
$(FLY) set-pipeline --pipeline juno-v3 -c pipeline.yaml -l ./vars.yaml

login:
$(FLY) login -c https://ci1.eu-de-2.cloud.sap -n services
Expand Down
Loading

0 comments on commit 7504aa3

Please sign in to comment.