|
9 | 9 | import WorkloadDeploy from '$lib/components/WorkloadDeploy.svelte';
|
10 | 10 | import GraphErrors from '$lib/GraphErrors.svelte';
|
11 | 11 | import Time from '$lib/Time.svelte';
|
12 |
| - import { Alert, BodyShort, Button, Heading } from '@nais/ds-svelte-community'; |
| 12 | + import { Alert, BodyLong, BodyShort, Button, Heading } from '@nais/ds-svelte-community'; |
13 | 13 | import { ExternalLinkIcon } from '@nais/ds-svelte-community/icons';
|
14 | 14 | import type { PageData } from './$houdini';
|
15 | 15 | import Runs from './Runs.svelte';
|
16 | 16 | import Schedule from './Schedule.svelte';
|
17 |
| - import Status from './Status.svelte'; |
18 | 17 | import TriggerRunModal from './TriggerRunModal.svelte';
|
19 | 18 |
|
20 | 19 | interface Props {
|
|
77 | 76 | {@const job = $Job.data.team.environment.job}
|
78 | 77 | <div class="job-content">
|
79 | 78 | <div style="display:flex; flex-direction: column; gap: 1rem;">
|
| 79 | + {#if job.status.errors.some((error) => error.__typename === 'WorkloadStatusDeprecatedRegistry')} |
| 80 | + <Alert variant="error"> |
| 81 | + <BodyShort spacing |
| 82 | + >This job is using a deprecated image registry ({job.status.errors.find( |
| 83 | + (error) => error.__typename === 'WorkloadStatusDeprecatedRegistry' |
| 84 | + )?.registry}).</BodyShort |
| 85 | + > |
| 86 | + |
| 87 | + <BodyLong |
| 88 | + >Starting April 1st, applications and jobs on Nais must use images from Google Artifact |
| 89 | + Registry (GAR). The easiest way to ensure that images are stored in GAR is to use Nais' |
| 90 | + GitHub Actions in the workflow. <a |
| 91 | + href="https://nais.io/log/#2025-02-24-image-policy" |
| 92 | + target="_blank" |
| 93 | + rel="noopener noreferrer">Read more in Nais announcement</a |
| 94 | + >. |
| 95 | + </BodyLong> |
| 96 | + </Alert> |
| 97 | + {/if} |
| 98 | + |
80 | 99 | {#if job.deletionStartedAt}
|
81 | 100 | <Alert variant="info" size="small" fullWidth={false}>
|
82 | 101 | This job is being deleted. Deletion started <Time
|
|
129 | 148 | </div>
|
130 | 149 | </div>
|
131 | 150 | <div class="sidebar">
|
132 |
| - <Status {job} /> |
| 151 | + <!-- <Status {job} /> --> |
133 | 152 | <Schedule schedule={job.schedule} />
|
134 | 153 | <AggregatedCostForWorkload workload={jobName} {environment} {teamSlug} />
|
135 | 154 | <Image workload={job} />
|
|
0 commit comments