Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scripts/ci/githubActions/createMatrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ async function createClientMatrix(baseBranch: string): Promise<void> {
const testsRootFolder = `tests/output/${language}`;
const testsOutputBase = `${testsRootFolder}/${getTestOutputFolder(language)}`;
// We delete tests to ensure the CI only run tests against what changed.
const testsToDelete = `${testsOutputBase}/client ${testsOutputBase}/requests ${testsOutputBase}/e2e ${testsOutputBase}/benchmark`;
let testsToDelete = `${testsOutputBase}/client ${testsOutputBase}/requests ${testsOutputBase}/e2e`;
if (language !== 'swift') {
// Swift requires the benchmark folder to have files in it
testsToDelete += ` ${testsOutputBase}/benchmark`;
}

// We only store tests of clients that ran during this job, the rest stay as is
let testsToStore = matrix[language].toRun
Expand Down
9 changes: 9 additions & 0 deletions specs/ingestion/common/observabilityParameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ runStatus:
items:
$ref: './schemas/run.yml#/RunStatus'

runType:
name: type
in: query
description: Run type for filtering the list of task runs.
schema:
type: array
items:
$ref: './schemas/run.yml#/RunType'

taskID:
name: taskID
in: query
Expand Down
2 changes: 1 addition & 1 deletion specs/ingestion/common/schemas/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ RunOutcome:
RunType:
type: string
description: Task run type.
enum: [reindex, update, discover]
enum: [reindex, update, discover, validate, push]

RunReasonCode:
type: string
Expand Down
1 change: 1 addition & 0 deletions specs/ingestion/paths/runs/runs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ get:
- $ref: '../../common/parameters.yml#/itemsPerPage'
- $ref: '../../common/parameters.yml#/page'
- $ref: '../../common/observabilityParameters.yml#/runStatus'
- $ref: '../../common/observabilityParameters.yml#/runType'
- $ref: '../../common/observabilityParameters.yml#/taskID'
- $ref: '../../common/observabilityParameters.yml#/runSort'
- $ref: '../../common/parameters.yml#/order'
Expand Down