Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit dcf7793

Browse files
authored
CI: update schema (#179)
* fix typing for Azure * disable CI docs on main
1 parent a2617fa commit dcf7793

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.azure/ipynb-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
trigger:
2-
batch: true
2+
batch: "true"
33
branches:
44
include: [ main ]
55
pr: none
@@ -10,12 +10,12 @@ jobs:
1010

1111
- job: papermill
1212
# how much time to give 'run always even if cancelled tasks' before stopping them
13-
cancelTimeoutInMinutes: 2
13+
cancelTimeoutInMinutes: "2"
1414
# how long to run the job before automatically cancelling
1515
# When 0 is specified, the maximum limit is used:
1616
# - For 360 minutes (6 hours) on Microsoft-hosted agents with a public project and public repository
1717
# - For 60 minutes on Microsoft-hosted agents with a private project or private repository
18-
timeoutInMinutes: 0
18+
timeoutInMinutes: "0"
1919

2020
pool: azure-gpus-persist
2121
# this need to have installed docker in the base image...

.azure/ipynb-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ trigger: none
22
pr:
33
branches:
44
include: [ main ]
5-
autoCancel: true
6-
drafts: true
5+
autoCancel: "true"
6+
drafts: "true"
77

88
jobs:
99

1010
- job: nbval
1111
# how long to run the job before automatically cancelling
12-
timeoutInMinutes: 95
12+
timeoutInMinutes: "95"
1313
# how much time to give 'run always even if cancelled tasks' before stopping them
14-
cancelTimeoutInMinutes: 2
14+
cancelTimeoutInMinutes: "2"
1515

1616
pool: azure-gpus-spot
1717
# this need to have installed docker in the base image...

.github/workflows/ci_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: validate Docs
22

33
on: # Trigger the workflow on push or pull request
4-
push:
5-
branches: [main]
4+
# push:
5+
# branches: [main]
66
pull_request: {}
77
schedule:
88
# At the end of every day

.github/workflows/ci_schema.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
run: |
2121
check-jsonschema .github/workflows/*.yml --builtin-schema "github-workflows"
2222
23-
# - name: Azure Pipelines
24-
# run: |
25-
# check-jsonschema .azure/*.yml --schemafile "https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/v1.188.1/service-schema.json"
23+
- name: Azure Pipelines
24+
env:
25+
SCHEMA_FILE: https://raw.githubusercontent.com/microsoft/azure-pipelines-vscode/v1.204.0/service-schema.json
26+
run: check-jsonschema .azure/*.yml --schemafile "$SCHEMA_FILE"

0 commit comments

Comments
 (0)