Skip to content

Commit

Permalink
Get latest from develop
Browse files Browse the repository at this point in the history
  • Loading branch information
jaalah committed Jan 8, 2025
2 parents 8703588 + caca6dd commit 3e4c2b8
Show file tree
Hide file tree
Showing 127 changed files with 3,465 additions and 665 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"resolutions": {
"node-fetch": "^2.6.7",
"yaml": "^2.3.0",
"semver": "^7.5.2"
"semver": "^7.5.2",
"cookie": "^0.7.0"
},
"workspaces": {
"packages": [
Expand Down
5 changes: 5 additions & 0 deletions packages/api-v4/.changeset/pr-11445-changed-1734706802321.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/api-v4": Changed
---

Changed MetricCritera, DimensionFilter and Alert Interfaces ([#11445](https://github.com/linode/manager/pull/11445))
16 changes: 12 additions & 4 deletions packages/api-v4/src/cloudpulse/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ export type AlertSeverityType = 0 | 1 | 2 | 3;
export type MetricAggregationType = 'avg' | 'sum' | 'min' | 'max' | 'count';
export type MetricOperatorType = 'eq' | 'gt' | 'lt' | 'gte' | 'lte';
export type AlertServiceType = 'linode' | 'dbaas';
type DimensionFilterOperatorType = 'eq' | 'neq' | 'startswith' | 'endswith';
export type DimensionFilterOperatorType =
| 'eq'
| 'neq'
| 'startswith'
| 'endswith';
export type AlertDefinitionType = 'system' | 'user';
export type AlertStatusType = 'enabled' | 'disabled';
export type CriteriaConditionType = 'ALL';
Expand Down Expand Up @@ -164,20 +168,24 @@ export interface MetricCriteria {
aggregation_type: MetricAggregationType;
operator: MetricOperatorType;
threshold: number;
dimension_filters: DimensionFilter[];
dimension_filters?: DimensionFilter[];
}

export interface AlertDefinitionMetricCriteria extends MetricCriteria {
export interface AlertDefinitionMetricCriteria
extends Omit<MetricCriteria, 'dimension_filters'> {
unit: string;
label: string;
dimension_filters?: AlertDefinitionDimensionFilter[];
}
export interface DimensionFilter {
label: string;
dimension_label: string;
operator: DimensionFilterOperatorType;
value: string;
}

export interface AlertDefinitionDimensionFilter extends DimensionFilter {
label: string;
}
export interface TriggerCondition {
polling_interval_seconds: number;
evaluation_period_seconds: number;
Expand Down
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-10820-changed-1725610034084.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@linode/manager': Changed
---

Volume drawers and action menu ([#10820](https://github.com/linode/manager/pull/10820))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tech Stories
---

Add `IMAGE_REGISTRY` Docker build argument ([#11360](https://github.com/linode/manager/pull/11360))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11408-tests-1734042066746.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Add cypress component tests for Autocomplete ([#11408](https://github.com/linode/manager/pull/11408))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tech Stories
---

Add MSW crud domains ([#11428](https://github.com/linode/manager/pull/11428))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tech Stories
---

Patch `cookie` version as resolution for dependabot ([#11434](https://github.com/linode/manager/pull/11434))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11440-tests-1734593684793.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Cypress test to validate CAA records are editable ([#11440](https://github.com/linode/manager/pull/11440))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11444-tests-1734632019649.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Add test for LKE cluster rename flow ([#11444](https://github.com/linode/manager/pull/11444))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11445-added-1734705630196.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Added
---

DimensionFilter, DimensionFilterField, TriggerCondition component along with Unit Tests ([#11445](https://github.com/linode/manager/pull/11445))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11453-fixed-1734765509208.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

`Create Token` button becomes disabled when all permissions are selected individually (without using 'select all') and child-account is hidden ([#11453](https://github.com/linode/manager/pull/11453))
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tech Stories
---

Replace Select with Autocomplete component in Object Storage ([#11456](https://github.com/linode/manager/pull/11456))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11472-fixed-1736174726210.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Object Storage `endpoint_type` sorting ([#11472](https://github.com/linode/manager/pull/11472))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11476-fixed-1736263048231.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

Visibility of sensitive data in Managed and Longview with Mask Sensitive Data setting enabled ([#11476](https://github.com/linode/manager/pull/11476))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11478-tests-1736180178602.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Add coverage for Kube version upgrades in landing page ([#11478](https://github.com/linode/manager/pull/11478))
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11486-tests-1736284627318.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Tests
---

Fix Cypress test failures stemming from Debian 10 Image deprecation ([#11486](https://github.com/linode/manager/pull/11486))
8 changes: 6 additions & 2 deletions packages/manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Registry to use when pulling images.
# Defaults to Docker Hub, but can be overriden to point to another registry if needed.
ARG IMAGE_REGISTRY=docker.io

# Node.js base image for Cloud Manager CI tasks.
#
# Extends from the Node.js base image that corresponds with our latest supported
# version of Node, and includes other tools that we rely on like pnpm and bun.
FROM node:20.17-bullseye-slim as nodejs-cloud-manager
FROM ${IMAGE_REGISTRY}/node:20.17-bullseye-slim as nodejs-cloud-manager
RUN npm install -g pnpm bun

# `manager`
Expand All @@ -28,7 +32,7 @@ CMD yarn start:manager:ci
#
# Builds an image containing Cypress and miscellaneous system utilities required
# by the tests.
FROM cypress/included:13.11.0 as e2e-build
FROM ${IMAGE_REGISTRY}/cypress/included:13.11.0 as e2e-build
RUN npm install -g pnpm bun
USER node
WORKDIR /home/node/app
Expand Down
Loading

0 comments on commit 3e4c2b8

Please sign in to comment.