From 903d20b25e12f6c820a701325bf3862e7123f271 Mon Sep 17 00:00:00 2001 From: Ahmad Wilson Date: Mon, 31 Aug 2026 08:32:24 -0500 Subject: [PATCH] fix: drop invalid galaxy namespace override for Galaxy import Remove galaxy_info.namespace o1 so imports keep the existing 0x0i.basic_service listing. Add tag-triggered Galaxy import workflow. Co-authored-by: Cursor --- .github/workflows/galaxy-import.yml | 30 +++++++++++++++++++++++++++++ meta/main.yml | 1 - 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/galaxy-import.yml diff --git a/.github/workflows/galaxy-import.yml b/.github/workflows/galaxy-import.yml new file mode 100644 index 0000000..9ccf09b --- /dev/null +++ b/.github/workflows/galaxy-import.yml @@ -0,0 +1,30 @@ +name: Galaxy Import + +on: + push: + tags: + - "v*" + workflow_dispatch: + +jobs: + import: + runs-on: ubuntu-latest + steps: + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.x" + + - name: Install ansible-core + run: pip install ansible-core + + - name: Import role to Ansible Galaxy + env: + GALAXY_API_KEY: ${{ secrets.GALAXY_API_KEY }} + run: | + if [ -z "$GALAXY_API_KEY" ]; then + echo "GALAXY_API_KEY secret is not set" >&2 + exit 1 + fi + # Hardcode legacy github_user so FQN stays 0x0i.basic_service + ansible-galaxy role import 0x0I basic-service --token "$GALAXY_API_KEY" diff --git a/meta/main.yml b/meta/main.yml index 0e9afc8..552a8b2 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -3,7 +3,6 @@ galaxy_info: author: O1 Labs role_name: basic_service - namespace: o1 description: Ansible role for running any software process/service company: O1.IO license: MIT