Skip to content

Commit 9c19e92

Browse files
committed
Data Contract CLI 1.2.3
1 parent 2ba9223 commit 9c19e92

17 files changed

Lines changed: 44 additions & 44 deletions

File tree

‎CLAUDE.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Everything below is for maintainers changing the workshop or the online tutorial
1010
- **On-site workshop**: `README.md`, `exercises/part-*/`, used with slides (intro and retro are on the slides, not in the repo).
1111
- **Shared**: `solutions/` (reference solutions, also embedded in the tutorial), `initdb/` + `data/` (PostgreSQL sample data), `scripts/` (install and Community Edition setup), `schemas/` (official JSON schemas), `entropy-data-ce/`.
1212
- **Walkthrough videos**: `video/` records one video per tutorial chapter (see `video/README.md`).
13-
- The old Data Mesh Live 2026 version lives in a separate repo, `simonharrer/odcs-odps-workshop` (no SPA). Do not mention Data Mesh Live here.
13+
- The data2day 2026 version lives in a separate repo, `simonharrer/odcs-odps-workshop` (no SPA).
1414

1515
Online and on-site use the same numbering: Part C is CI/CD (exercise 7), Part D is the data platform (exercise 8 publish, exercise 9 semantics). Solution folders follow these numbers.
1616

1717
## Versions (keep in sync everywhere)
1818

19-
- datacontract-cli `1.2.2`, dataproduct-cli `0.2.0`, entropy-data `0.3.13`: pinned in `scripts/install.sh`, `install.ps1`, `install.bat`, and in `solutions/exercise7/datacontract.yml`.
19+
- datacontract-cli `1.2.3`, dataproduct-cli `0.2.0`, entropy-data `0.3.13`: pinned in `scripts/install.sh`, `install.ps1`, `install.bat`, and in `solutions/exercise7/datacontract.yml`.
2020
- ODCS `v3.2.0` and ODPS `v1.1.0` in all solutions, examples, and `schemas/` (mapped in `.vscode/settings.json`).
2121
- GitHub Actions: `actions/checkout@v7`, `astral-sh/setup-uv@v10.2.0` (setup-uv has no floating major tags).
2222
- When bumping a CLI, re-capture the terminal outputs in the tutorial and re-record the affected videos.

‎exercises/part-c/exercise7-ci-cd-with-github-actions.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Builds on Parts A and B only. You need a [GitHub](https://github.com) account.
6565

6666
- name: Install the CLIs
6767
run: |
68-
uv tool install --python 3.11 'datacontract-cli[postgres]==1.2.2'
68+
uv tool install --python 3.11 'datacontract-cli[postgres]==1.2.3'
6969
uv tool install --python 3.11 'dataproduct-cli==0.2.0'
7070
7171
- name: Lint data contracts
@@ -136,7 +136,7 @@ A breaking change in a contract breaks consumers. The pipeline catches it *befor
136136
- uses: astral-sh/setup-uv@v10.2.0
137137
138138
- name: Install the CLI
139-
run: uv tool install --python 3.11 'datacontract-cli[postgres]==1.2.2'
139+
run: uv tool install --python 3.11 'datacontract-cli[postgres]==1.2.3'
140140
141141
- name: Compare with the base branch
142142
env:

‎scripts/install.bat‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@echo off
22
rem Installs the Data Contract CLI, the Data Product CLI, and the Entropy Data CLI (Windows variant of install.sh).
33
rem Works in cmd and PowerShell. Keep the pinned versions in sync with install.sh and install.ps1.
4-
uv tool install --force --python python3.11 "datacontract-cli[all]==1.2.2"
4+
uv tool install --force --python python3.11 "datacontract-cli[all]==1.2.3"
55
uv tool install --force --python python3.11 "dataproduct-cli==0.2.0"
66
uv tool install "entropy-data==0.3.13"
77
uv tool update-shell

‎scripts/install.ps1‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Run from the repository root:
55
# powershell -ExecutionPolicy Bypass -File scripts\install.ps1
6-
uv tool install --force --python python3.11 'datacontract-cli[all]==1.2.2'
6+
uv tool install --force --python python3.11 'datacontract-cli[all]==1.2.3'
77
uv tool install --force --python python3.11 'dataproduct-cli==0.2.0'
88
uv tool install 'entropy-data==0.3.13'
99
uv tool update-shell

‎scripts/install.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# Keep the pinned versions in sync with install.bat and install.ps1 (the Windows variants).
3-
uv tool install --force --python python3.11 'datacontract-cli[all]==1.2.2'
3+
uv tool install --force --python python3.11 'datacontract-cli[all]==1.2.3'
44
uv tool install --force --python python3.11 'dataproduct-cli==0.2.0'
55
uv tool install 'entropy-data==0.3.13'
66
uv tool update-shell

‎solutions/exercise7/datacontract.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: Install the CLIs
2323
run: |
24-
uv tool install --python 3.11 'datacontract-cli[postgres]==1.2.2'
24+
uv tool install --python 3.11 'datacontract-cli[postgres]==1.2.3'
2525
uv tool install --python 3.11 'dataproduct-cli==0.2.0'
2626
2727
- name: Lint data contracts
@@ -71,7 +71,7 @@ jobs:
7171
- uses: astral-sh/setup-uv@v10.2.0
7272

7373
- name: Install the CLI
74-
run: uv tool install --python 3.11 'datacontract-cli[postgres]==1.2.2'
74+
run: uv tool install --python 3.11 'datacontract-cli[postgres]==1.2.3'
7575

7676
- name: Compare with the base branch
7777
env:
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
WEBVTT
22
33
1
4-
00:00:00.000 --> 00:00:03.450
4+
00:00:00.000 --> 00:00:03.451
55
Setup: alles, was du für die Übungen brauchst.
66

77
2
8-
00:00:03.500 --> 00:00:12.101
8+
00:00:03.501 --> 00:00:12.110
99
Prüfe die Voraussetzungen: git, Docker mit Compose und uv.
1010

1111
3
12-
00:00:12.152 --> 00:00:17.627
12+
00:00:12.161 --> 00:00:17.647
1313
Öffne das Workshop-Repository auf GitHub und klicke auf Fork.
1414

1515
4
16-
00:00:17.677 --> 00:00:22.127
16+
00:00:17.697 --> 00:00:22.147
1717
Dein Fork ist deine eigene Kopie. Im CI/CD-Kapitel pushst du dorthin.
1818

1919
5
20-
00:00:22.177 --> 00:00:29.193
20+
00:00:22.197 --> 00:00:29.215
2121
Klone deinen Fork und wechsle in den Ordner.
2222

2323
6
24-
00:00:29.243 --> 00:00:35.518
24+
00:00:29.266 --> 00:00:35.534
2525
Das Install-Skript installiert die Data Contract CLI und die Data Product CLI.
2626

2727
7
28-
00:00:35.568 --> 00:00:42.762
29-
Prüfe die Versionen: 1.2.2 und 0.2.0.
28+
00:00:35.584 --> 00:00:42.776
29+
Prüfe die Versionen: 1.2.3 und 0.2.0.
3030

3131
8
32-
00:00:42.812 --> 00:00:47.419
32+
00:00:42.826 --> 00:00:47.437
3333
Starte PostgreSQL. Die Orders-Daten sind schon geladen.
3434

3535
9
36-
00:00:47.468 --> 00:00:54.870
36+
00:00:47.487 --> 00:00:54.884
3737
Eine kurze Abfrage zeigt 5000 Bestellungen.
3838

3939
10
40-
00:00:54.920 --> 00:01:01.623
40+
00:00:54.934 --> 00:01:01.642
4141
Die Datei .env enthält die Zugangsdaten. Die CLIs lesen sie automatisch.
4242

4343
11
44-
00:01:01.673 --> 00:01:04.622
44+
00:01:01.692 --> 00:01:04.643
4545
Fertig. Als Nächstes: Daten unter Vertrag nehmen.
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
WEBVTT
22
33
1
4-
00:00:00.000 --> 00:00:03.450
4+
00:00:00.000 --> 00:00:03.451
55
Setup: everything you need for the exercises.
66

77
2
8-
00:00:03.500 --> 00:00:12.101
8+
00:00:03.501 --> 00:00:12.110
99
Check the prerequisites: git, Docker with Compose, and uv.
1010

1111
3
12-
00:00:12.152 --> 00:00:17.627
12+
00:00:12.161 --> 00:00:17.647
1313
Open the workshop repository on GitHub and click Fork.
1414

1515
4
16-
00:00:17.677 --> 00:00:22.127
16+
00:00:17.697 --> 00:00:22.147
1717
Your fork is your own copy. You will push to it in the CI/CD chapter.
1818

1919
5
20-
00:00:22.177 --> 00:00:29.193
20+
00:00:22.197 --> 00:00:29.215
2121
Clone your fork and change into the folder.
2222

2323
6
24-
00:00:29.243 --> 00:00:35.518
24+
00:00:29.266 --> 00:00:35.534
2525
The install script installs the Data Contract CLI and the Data Product CLI.
2626

2727
7
28-
00:00:35.568 --> 00:00:42.762
29-
Check the versions: 1.2.2 and 0.2.0.
28+
00:00:35.584 --> 00:00:42.776
29+
Check the versions: 1.2.3 and 0.2.0.
3030

3131
8
32-
00:00:42.812 --> 00:00:47.419
32+
00:00:42.826 --> 00:00:47.437
3333
Start PostgreSQL. It comes preloaded with the orders data.
3434

3535
9
36-
00:00:47.468 --> 00:00:54.870
36+
00:00:47.487 --> 00:00:54.884
3737
A quick query shows 5000 orders.
3838

3939
10
40-
00:00:54.920 --> 00:01:01.623
40+
00:00:54.934 --> 00:01:01.642
4141
The .env file holds the database credentials. The CLIs read it automatically.
4242

4343
11
44-
00:01:01.673 --> 00:01:04.622
44+
00:01:01.692 --> 00:01:04.643
4545
Done. Next: put your data under contract.

‎tutorial/public/videos/setup.mp4‎

-11.8 KB
Binary file not shown.

‎tutorial/public/videos/setup.webp‎

38 Bytes
Loading

0 commit comments

Comments
 (0)