Skip to content

Commit aa5bd53

Browse files
Prune empty project id attrs (#2868)
1 parent e02ade4 commit aa5bd53

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+470
-51
lines changed

assets/src/components/ai/sentinels/Sentinels.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export function Sentinels() {
7070
first="Registered sentinels"
7171
firstPartialType="body2Bold"
7272
firstColor="text"
73-
second="AI-powered sentinel monitoring for your Kubernetes clusters."
73+
second="AI-powered integration testing for your Kubernetes clusters."
7474
secondPartialType="body2"
7575
secondColor="text-light"
7676
/>

assets/src/generated/graphql.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3724,6 +3724,7 @@ export type GateStatusAttributes = {
37243724
export enum GateType {
37253725
Approval = 'APPROVAL',
37263726
Job = 'JOB',
3727+
Sentinel = 'SENTINEL',
37273728
Window = 'WINDOW'
37283729
}
37293730

@@ -6232,6 +6233,10 @@ export type PipelineGate = {
62326233
job?: Maybe<Job>;
62336234
/** the name of this gate as seen in the UI */
62346235
name: Scalars['String']['output'];
6236+
/** the sentinel this gate will execute */
6237+
sentinel?: Maybe<Sentinel>;
6238+
/** the run that the sentinel executed last */
6239+
sentinelRun?: Maybe<SentinelRun>;
62356240
/** more detailed specification for complex gates */
62366241
spec?: Maybe<GateSpec>;
62376242
/** the current state of this gate */
@@ -6251,6 +6256,8 @@ export type PipelineGateAttributes = {
62516256
clusterId?: InputMaybe<Scalars['ID']['input']>;
62526257
/** the name of this gate */
62536258
name: Scalars['String']['input'];
6259+
/** the id of the sentinel this gate will execute */
6260+
sentinelId?: InputMaybe<Scalars['ID']['input']>;
62546261
/** a specification for more complex gate types */
62556262
spec?: InputMaybe<GateSpecAttributes>;
62566263
/** the type of gate this is */
@@ -6632,6 +6639,8 @@ export type PrAutomation = {
66326639
/** string id for a repository, eg for github, this is {organization}/{repository-name} */
66336640
identifier?: Maybe<Scalars['String']['output']>;
66346641
insertedAt?: Maybe<Scalars['DateTime']['output']>;
6642+
/** labels to apply to the created prs */
6643+
labels?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
66356644
message: Scalars['String']['output'];
66366645
/** the name for this automation */
66376646
name: Scalars['String']['output'];
@@ -6679,6 +6688,8 @@ export type PrAutomationAttributes = {
66796688
icon?: InputMaybe<Scalars['String']['input']>;
66806689
/** string id for a repository, eg for github, this is {organization}/{repository-name} */
66816690
identifier?: InputMaybe<Scalars['String']['input']>;
6691+
/** labels to apply to created prs */
6692+
labels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
66826693
message?: InputMaybe<Scalars['String']['input']>;
66836694
name?: InputMaybe<Scalars['String']['input']>;
66846695
/** whether to generate a patch for this pr instead of a full pr */
@@ -12742,6 +12753,7 @@ export type VulnerabilityAttributes = {
1274212753
pkgPath?: InputMaybe<Scalars['String']['input']>;
1274312754
primaryLink?: InputMaybe<Scalars['String']['input']>;
1274412755
publishedDate?: InputMaybe<Scalars['DateTime']['input']>;
12756+
repositoryUrl?: InputMaybe<Scalars['String']['input']>;
1274512757
resource?: InputMaybe<Scalars['String']['input']>;
1274612758
score?: InputMaybe<Scalars['Float']['input']>;
1274712759
severity?: InputMaybe<VulnSeverity>;
124 Bytes
Binary file not shown.
-16 Bytes
Binary file not shown.
169 Bytes
Binary file not shown.
5 Bytes
Binary file not shown.

charts/controller/crds/deployments.plural.sh_pipelines.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,50 @@ spec:
170170
name:
171171
description: Name of this gate.
172172
type: string
173+
sentinelRef:
174+
description: SentinelRef specifies the sentinel to execute
175+
for the SENTINEL gate.
176+
properties:
177+
apiVersion:
178+
description: API version of the referent.
179+
type: string
180+
fieldPath:
181+
description: |-
182+
If referring to a piece of an object instead of an entire object, this string
183+
should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
184+
For example, if the object reference is to a container within a pod, this would take on a value like:
185+
"spec.containers{name}" (where "name" refers to the name of the container that triggered
186+
the event) or if no container name is specified "spec.containers[2]" (container with
187+
index 2 in this pod). This syntax is chosen only to have some well-defined way of
188+
referencing a part of an object.
189+
type: string
190+
kind:
191+
description: |-
192+
Kind of the referent.
193+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
194+
type: string
195+
name:
196+
description: |-
197+
Name of the referent.
198+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
199+
type: string
200+
namespace:
201+
description: |-
202+
Namespace of the referent.
203+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
204+
type: string
205+
resourceVersion:
206+
description: |-
207+
Specific resourceVersion to which this reference is made, if any.
208+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
209+
type: string
210+
uid:
211+
description: |-
212+
UID of the referent.
213+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
214+
type: string
215+
type: object
216+
x-kubernetes-map-type: atomic
173217
spec:
174218
description: Spec contains detailed configuration for
175219
complex gate types like JOB gates.
@@ -9937,10 +9981,12 @@ spec:
99379981
- APPROVAL (requires human approval)
99389982
- WINDOW (time-based constraints),
99399983
- JOB (runs custom validation before allowing promotion).
9984+
- SENTINEL (runs a Plural Sentinel before allowing promotion).
99409985
enum:
99419986
- APPROVAL
99429987
- WINDOW
99439988
- JOB
9989+
- SENTINEL
99449990
type: string
99459991
required:
99469992
- name

charts/controller/crds/deployments.plural.sh_prautomations.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,11 @@ spec:
435435
Identifier specifies the target repository in the format "organization/repository-name"
436436
for GitHub, or equivalent formats for other SCM providers.
437437
type: string
438+
labels:
439+
description: Labels to apply to all created PRs from this pr automation
440+
items:
441+
type: string
442+
type: array
438443
message:
439444
description: |-
440445
Message defines the commit message template that will be used in the generated PR.

config/prod.exs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ import Config
33
config :console, :initialize, true
44

55
config :console, ConsoleWeb.Endpoint,
6+
adapter: Bandit.PhoenixAdapter,
67
http: [
78
port: 4000,
8-
# http_options: [compress: true],
9-
# http_1_options: [max_header_length: 8192],
10-
compress: true,
11-
protocol_options: [
12-
max_header_value_length: 8192,
13-
]
9+
http_options: [compress: true],
10+
http_1_options: [max_header_length: 8192],
11+
# compress: true,
12+
# protocol_options: [
13+
# max_header_value_length: 8192,
14+
# ]
1415
],
1516
# force_ssl: [hsts: true, rewrite_on: [:x_forwarded_proto]],
1617
# cache_static_manifest: "priv/static/cache_manifest.json",

go/client/models_gen.go

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)