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: 3 additions & 3 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Read image version from versions.yaml
id: imgver
run: |
VER=$(uvx --from 'scitrera-repo-tools==0.1.18' sync-versions --print-version aether-gateway)
VER=$(uvx --from 'scitrera-repo-tools==0.1.19' sync-versions --print-version aether-gateway)
echo "version=$VER" >> "$GITHUB_OUTPUT"
echo "major_minor=$(echo $VER | cut -d. -f1-2)" >> "$GITHUB_OUTPUT"

Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
- name: Read image version from versions.yaml
id: imgver
run: |
VER=$(uvx --from 'scitrera-repo-tools==0.1.18' sync-versions --print-version aether-gateway)
VER=$(uvx --from 'scitrera-repo-tools==0.1.19' sync-versions --print-version aether-gateway)
echo "version=$VER" >> "$GITHUB_OUTPUT"
echo "major_minor=$(echo $VER | cut -d. -f1-2)" >> "$GITHUB_OUTPUT"

Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
- name: Read image version from versions.yaml
id: imgver
run: |
VER=$(uvx --from 'scitrera-repo-tools==0.1.18' sync-versions --print-version aether-gateway)
VER=$(uvx --from 'scitrera-repo-tools==0.1.19' sync-versions --print-version aether-gateway)
echo "version=$VER" >> "$GITHUB_OUTPUT"
echo "major_minor=$(echo $VER | cut -d. -f1-2)" >> "$GITHUB_OUTPUT"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/proto-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: astral-sh/setup-uv@v9.0.0

- name: Verify generated Go code is up to date
run: uvx --from 'scitrera-repo-tools==0.1.18' compile-protos --check --lang go
run: uvx --from 'scitrera-repo-tools==0.1.19' compile-protos --check --lang go

proto-check-python:
name: compile-protos --check (python)
Expand All @@ -65,7 +65,7 @@ jobs:
run: pip install grpcio-tools==1.81.1

- name: Verify generated Python code is up to date
run: uvx --from 'scitrera-repo-tools==0.1.18' compile-protos --check --lang python --python "$(which python)"
run: uvx --from 'scitrera-repo-tools==0.1.19' compile-protos --check --lang python --python "$(which python)"

proto-check-typescript:
name: compile-protos --check (typescript)
Expand All @@ -85,4 +85,4 @@ jobs:
uses: astral-sh/setup-uv@v9.0.0

- name: Verify generated TypeScript code is up to date
run: uvx --from 'scitrera-repo-tools==0.1.18' compile-protos --check --lang typescript
run: uvx --from 'scitrera-repo-tools==0.1.19' compile-protos --check --lang typescript
5 changes: 3 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
name: npm
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6

Expand All @@ -42,7 +43,7 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- name: Rewrite local refs to version pins
run: uvx --from 'scitrera-repo-tools==0.1.18' sync-versions --release
run: uvx --from 'scitrera-repo-tools==0.1.19' sync-versions --release

- name: Install dependencies
run: npm ci
Expand All @@ -53,7 +54,7 @@ jobs:
working-directory: sdk/typescript

- name: Publish to npm
run: npm publish --access public
run: npm publish --access public --provenance
working-directory: sdk/typescript
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/publish-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
uses: astral-sh/setup-uv@v9.0.0

- name: Verify versions are in sync
run: uvx --from 'scitrera-repo-tools==0.1.18' sync-versions --check --verbose
run: uvx --from 'scitrera-repo-tools==0.1.19' sync-versions --check --verbose

- name: Compare tag against versions.yaml
if: github.ref_type == 'tag'
run: |
set -euo pipefail
tag="${GITHUB_REF_NAME#v}"
declared="$(uvx --from 'scitrera-repo-tools==0.1.18' sync-versions --print-version aether-sdk-python)"
declared="$(uvx --from 'scitrera-repo-tools==0.1.19' sync-versions --print-version aether-sdk-python)"
if [ "$tag" != "$declared" ]; then
echo "::error::Tag ${GITHUB_REF_NAME} does not match the aether-sdk-python version declared in versions.yaml ($declared)"
exit 1
Expand All @@ -66,7 +66,7 @@ jobs:
python-version: '3.12'

- name: Rewrite local refs to version pins
run: uvx --from 'scitrera-repo-tools==0.1.18' sync-versions --release
run: uvx --from 'scitrera-repo-tools==0.1.19' sync-versions --release

- name: Build sdist + wheel
run: |
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
python-version: '3.12'

- name: Rewrite local refs to version pins
run: uvx --from 'scitrera-repo-tools==0.1.18' sync-versions --release
run: uvx --from 'scitrera-repo-tools==0.1.19' sync-versions --release

- name: Build sdist + wheel
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
uses: astral-sh/setup-uv@v9.0.0

- name: Verify versions are in sync
run: uvx --from 'scitrera-repo-tools==0.1.18' sync-versions --check --verbose
run: uvx --from 'scitrera-repo-tools==0.1.19' sync-versions --check --verbose
10 changes: 9 additions & 1 deletion versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ ci:
# release, which is the same unpinned-tooling drift proto-check exists to
# catch. Bump in lockstep with the proto toolchain when repo-tools changes
# generated output.
repo_tools_source: "scitrera-repo-tools==0.1.18"
repo_tools_source: "scitrera-repo-tools==0.1.19"
# `push_branches` is deliberately unset, so develop stays in both the push and
# pull_request trigger lists and every check runs twice for a commit pushed to
# an open PR's branch. That is the intended trade: both runs complete and both
Expand Down Expand Up @@ -97,6 +97,14 @@ ci:
# the one Python project whose version tracks the tag; ag2 is versioned
# independently (0.0.2), so a single tag cannot verify both.
verify_tag_version: aether-sdk-python
npm:
# Load-bearing, not cosmetic. It grants id-token: write to the publish job,
# which is what lets npm mint an OIDC token and sign a provenance statement.
# Without it the publish falls back to plain token auth and this package
# rejects it with a misleading 404 — the mode every tag-triggered npm publish
# has failed in, including v0.1.60 and v0.2.1. NODE_AUTH_TOKEN is still sent;
# the token and OIDC are used together.
use_provenance: true
go:
# -short matches what test.yml runs for unit CI: without it the suite tries
# to reach RabbitMQ/Valkey/Postgres, which only the integration job provides.
Expand Down
Loading