diff --git a/.gitignore b/.gitignore index a0c108b99..209d8ee4e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ # macOS .DS_Store -.vscode .vscode_copy # Logs diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..01b46c29e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "yaml.schemas": { + "release-index-shema.json": "release-index.yaml" + } +} \ No newline at end of file diff --git a/release-index-shema.json b/release-index-shema.json new file mode 100644 index 000000000..ddb953ad1 --- /dev/null +++ b/release-index-shema.json @@ -0,0 +1,137 @@ +{ + "$schema": "http://json-schema.org/draft-06/schema#", + "$ref": "#/definitions/Welcome3", + "definitions": { + "Welcome3": { + "type": "object", + "additionalProperties": false, + "properties": { + "rollout": { + "$ref": "#/definitions/Rollout" + }, + "features": { + "type": "array", + "items": { + "$ref": "#/definitions/Feature" + } + }, + "releases": { + "type": "array", + "items": { + "$ref": "#/definitions/Release" + } + } + }, + "required": [ + "features", + "releases", + "rollout" + ], + "title": "Welcome3" + }, + "Feature": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "type": "string" + }, + "subnets": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "subnets" + ], + "title": "Feature" + }, + "Release": { + "type": "object", + "additionalProperties": false, + "properties": { + "rc_name": { + "type": "string" + }, + "version": { + "type": "string" + }, + "publish": { + "type": "string", + "format": "date-time" + }, + "features": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "required": [ + "features", + "publish", + "rc_name", + "version" + ], + "title": "Release" + }, + "Rollout": { + "type": "object", + "additionalProperties": false, + "properties": { + "rc_name": { + "type": "string" + }, + "pause": { + "type": "boolean" + }, + "skip_days": { + "type": "array", + "items": { + "type": "string", + "format": "date" + } + }, + "stages": { + "type": "array", + "items": { + "$ref": "#/definitions/Stage" + } + } + }, + "required": [ + "pause", + "rc_name", + "skip_days", + "stages" + ], + "title": "Rollout" + }, + "Stage": { + "type": "object", + "additionalProperties": false, + "properties": { + "subnets": { + "type": "array", + "items": { + "type": "string" + } + }, + "bake_time": { + "type": "string" + }, + "wait_for_next_week": { + "type": "boolean" + } + }, + "required": [ + "bake_time", + "subnets" + ], + "title": "Stage" + } + } +} diff --git a/release-index.yaml b/release-index.yaml new file mode 100644 index 000000000..10ce5edf9 --- /dev/null +++ b/release-index.yaml @@ -0,0 +1,79 @@ +rollout: + rc_name: rc--2024-02-21_23-01 # changed in step 4 & 5 + pause: true + skip_days: + - 2024-02-26 + stages: + - subnets: [io67a] + bake_time: 8h + - subnets: [shefu, uzr34] + bake_time: 4h + - subnets: [pjljw, qdvhd, bkfrj] + bake_time: 4h + - subnets: [snjp4, w4asl, qxesv] + bake_time: 2h + - subnets: [4zbus, ejbmu, 2fq7c] + bake_time: 2h + - subnets: [pae4o, 5kdm2, csyj4] + bake_time: 2h + - subnets: [eq6en, lhg73, brlsh] + bake_time: 2h + - subnets: [k44fs, cv73p, 4ecnw] + bake_time: 1h + - subnets: [opn46, lspz2, o3ow2] + bake_time: 1h + - subnets: [w4rem, 6pbhf, e66qm] + bake_time: 1h + - subnets: [yinp6, fuqsr, jtdsg] + bake_time: 30m + - subnets: [mpubz, x33ed, pzp6e] + bake_time: 30m + - subnets: [3hhby, nl6hn, gmq5v] + bake_time: 30m + - subnets: [tdb26] + bake_time: 2h + wait_for_next_week: true + +features: # can be changed in step 4 $ 5 + - name: p2p + subnets: + - shefu + - qdvhd + - bkfrj + - snjp4 + - qxesv + - w4asl + - 4zbus + - ejbmu + - 2fq7c + - pae4o + - csyj4 + - 5kdm2 + - eq6en + - brlsh + - k44fs + - cv73p + - 4ecnw + - opn46 + - lspz2 + - o3ow2 + - w4rem + - 6pbhf + - e66qm + - jtdsg + - fuqsr + - mpubz + - x33ed + - 3hhby + - nl6hn + +releases: # add new release in step 2 + - rc_name: rc--2024-02-21_23-01 + version: 85bd56a70e55b2cea75cae6405ae11243e5fdad8 + publish: 2024-02-26T14:20:00+00:00 # changed in step 3 + features: + - p2p + - rc_name: rc--2024-02-21_23-01 + version: 2e921c9adfc71f3edc96a9eb5d85fc742e7d8a9f + publish: 2024-02-26T14:20:00+00:00 # changed in step 3 + features: [] \ No newline at end of file