This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-asf-example.git
The following commit(s) were added to refs/heads/main by this push:
new 013779f Remove the GitHub action, which has moved to tooling-actions
013779f is described below
commit 013779fc67a98eb70dffd374ba3a8abf932d76e2
Author: Sean B. Palmer <[email protected]>
AuthorDate: Fri Aug 22 15:28:19 2025 +0100
Remove the GitHub action, which has moved to tooling-actions
---
.github/actions/atr-upload/action.yml | 53 -----------------------------------
pyproject.toml | 4 +--
src/asf/example/__init__.py | 2 +-
uv.lock | 4 +--
4 files changed, 5 insertions(+), 58 deletions(-)
diff --git a/.github/actions/atr-upload/action.yml
b/.github/actions/atr-upload/action.yml
deleted file mode 100644
index 6a67c7b..0000000
--- a/.github/actions/atr-upload/action.yml
+++ /dev/null
@@ -1,53 +0,0 @@
-name: "Upload to ATR using GitHub OIDC and rsync"
-description: "Create a GitHub OIDC JWT, register an ephemeral SSH key with
ATR, then rsync a directory to ATR."
-branding: { icon: upload-cloud, color: blue }
-
-inputs:
- asf-uid: { description: "ASF UID", required: true }
- project: { description: "Project", required: true }
- version: { description: "Version", required: true }
- src: { description: "Local dir", default: "dist" }
- audience: { description: "OIDC audience", default: "atr-test" }
- atr-host: { description: "ATR host", default: "release-test.apache.org" }
- ssh-port: { description: "SSH port", default: "2222" }
- rsync-args: { description: "Arguments for rsync", default: "-av" }
-
-runs:
- using: "composite"
- steps:
- - name: Create a GitHub OIDC JWT
- shell: bash
- run: |
- set -euxo pipefail
- url="${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=${{ inputs.audience }}"
- jwt="$(curl -sS -H "Authorization: bearer
${ACTIONS_ID_TOKEN_REQUEST_TOKEN}" "$url" \
- | python3 -c 'import json, sys;
print(json.load(sys.stdin)["value"])')"
- echo "::add-mask::$jwt"
- echo "JWT=$jwt" >> "$GITHUB_ENV"
-
- - name: Generate an ephemeral SSH key
- shell: bash
- run: |
- set -euxo pipefail
- ssh-keygen -t ed25519 -N "" -f "$RUNNER_TEMP/ssh_key"
- echo "SSH_PRIVATE_KEY_PATH=$RUNNER_TEMP/ssh_key" >> "$GITHUB_ENV"
- echo "SSH_PUBLIC_KEY=$(cat "$RUNNER_TEMP/ssh_key.pub")" >>
"$GITHUB_ENV"
-
- - name: Register the ephemeral SSH key with ATR
- shell: bash
- run: |
- set -euxo pipefail
- curl -sS -X POST -H "Content-Type: application/json" \
- -d "{\"jwt\":\"$JWT\",\"ssh_key\":\"$SSH_PUBLIC_KEY\"}" \
- "https://${{ inputs.atr-host }}/api/jwt/github"
-
- - name: Upload to ATR using rsync
- shell: bash
- run: |
- set -euxo pipefail
- command -v rsync > /dev/null || { sudo apt-get update -y && sudo
apt-get install -y rsync; }
- src="${{ inputs.src }}"
- case "$src" in */) ;; *) src="$src/";; esac
- rsync ${{ inputs.rsync-args }} \
- -e "ssh -p ${{ inputs.ssh-port }} -i $SSH_PRIVATE_KEY_PATH -o
StrictHostKeyChecking=accept-new" \
- "$src" "${{ inputs.asf-uid }}@${{ inputs.atr-host }}:/${{
inputs.project }}/${{ inputs.version }}/"
diff --git a/pyproject.toml b/pyproject.toml
index 53a12f1..56912a8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "asf-example"
# This is automatically updated
-version = "0.0.1-dev16"
+version = "0.0.1-dev17"
description = "Example package for ASF Tooling"
readme = "README.md"
requires-python = ">=3.13"
@@ -48,4 +48,4 @@ select = [
[tool.uv]
# This is automatically updated
-exclude-newer = "2025-08-22T13:11:33Z"
+exclude-newer = "2025-08-22T14:28:17Z"
diff --git a/src/asf/example/__init__.py b/src/asf/example/__init__.py
index 6de9e04..e5144bd 100644
--- a/src/asf/example/__init__.py
+++ b/src/asf/example/__init__.py
@@ -37,7 +37,7 @@ import tomlkit.items
PROJECT: Final[str] = "asf-example"
# This is automatically updated
-VERSION: Final[str] = "0.0.1-dev16"
+VERSION: Final[str] = "0.0.1-dev17"
class BumpMode(enum.Enum):
diff --git a/uv.lock b/uv.lock
index 626fa17..d73528b 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3,11 +3,11 @@ revision = 3
requires-python = ">=3.13"
[options]
-exclude-newer = "2025-08-22T13:11:33Z"
+exclude-newer = "2025-08-22T14:28:17Z"
[[package]]
name = "asf-example"
-version = "0.0.1.dev16"
+version = "0.0.1.dev17"
source = { editable = "." }
dependencies = [
{ name = "pygit2" },
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]