From 55186d95f2be134b2eb48c41669d7e07d8d6b840 Mon Sep 17 00:00:00 2001 From: Ben Duncan <5178243+benduncan@users.noreply.github.com> Date: Wed, 18 Mar 2026 01:09:02 +0000 Subject: [PATCH] refactor: rename CI/CD workflows from hive to spinifex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rename hive.yml → spinifex.yml - Update workflow names, path triggers, working directories - Update release.yml tarball references - Update e2e.yml test paths - Update ui.yml frontend paths --- .github/workflows/e2e.yml | 8 +++--- .github/workflows/release.yml | 12 ++++----- .github/workflows/{hive.yml => spinifex.yml} | 28 ++++++++++---------- .github/workflows/ui.yml | 12 ++++----- 4 files changed, 30 insertions(+), 30 deletions(-) rename .github/workflows/{hive.yml => spinifex.yml} (82%) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 725f13b1c..da9d2f4d3 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -1,4 +1,4 @@ -name: Hive E2E Tests +name: Spinifex E2E Tests on: push: @@ -64,7 +64,7 @@ jobs: SSH_KEY=$(echo "$INVENTORY" | jq -r '.ssh_key_path') SSH_KEY="${SSH_KEY/#\~/$HOME}" ssh -o StrictHostKeyChecking=no -i "$SSH_KEY" tf-user@${WAN_IP} \ - 'cd ~/Development/mulga/hive && ./tests/e2e/run-e2e.sh' + 'cd ~/Development/mulga/spinifex && ./tests/e2e/run-e2e.sh' - name: Teardown if: always() @@ -121,7 +121,7 @@ jobs: SSH_KEY=$(echo "$INVENTORY" | jq -r '.ssh_key_path') SSH_KEY="${SSH_KEY/#\~/$HOME}" ssh -o StrictHostKeyChecking=no -i "$SSH_KEY" tf-user@${WAN_IP} \ - 'cd ~/Development/mulga/hive && ./tests/e2e/run-pseudo-multinode-e2e.sh' + 'cd ~/Development/mulga/spinifex && ./tests/e2e/run-pseudo-multinode-e2e.sh' - name: Teardown if: always() @@ -185,7 +185,7 @@ jobs: done ssh -o StrictHostKeyChecking=no -i "$SSH_KEY" tf-user@${NODE1_IP} \ - "cd ~/Development/mulga/hive && ./tests/e2e/run-multinode-e2e.sh ${NODE_IPS}" + "cd ~/Development/mulga/spinifex && ./tests/e2e/run-multinode-e2e.sh ${NODE_IPS}" - name: Teardown if: always() diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 849c207e9..e9ebdaaec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,10 +11,10 @@ jobs: distro: runs-on: ubuntu-24.04 steps: - - name: Checkout Hive + - name: Checkout Spinifex uses: actions/checkout@v6 with: - path: hive + path: spinifex - name: Checkout Predastore uses: actions/checkout@v6 @@ -35,13 +35,13 @@ jobs: uses: docker/setup-qemu-action@v3 - name: Build distribution tarballs - run: cd hive && make distro VERSION=${{ github.ref_name }} + run: cd spinifex cd hive &&cd hive && make distro VERSION=${{ github.ref_name }} - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: files: | - hive/dist/*.tar.gz - hive/dist/*.sha256 - hive/scripts/setup.sh + spinifex/dist/*.tar.gz + spinifex/dist/*.sha256 + spinifex/scripts/setup.sh generate_release_notes: true diff --git a/.github/workflows/hive.yml b/.github/workflows/spinifex.yml similarity index 82% rename from .github/workflows/hive.yml rename to .github/workflows/spinifex.yml index 6217113c2..e1a9c7de4 100644 --- a/.github/workflows/hive.yml +++ b/.github/workflows/spinifex.yml @@ -1,4 +1,4 @@ -name: Hive Build and Test +name: Spinifex Build and Test on: push: @@ -15,11 +15,11 @@ on: jobs: build_and_test: - name: Hive Build and Test + name: Spinifex Build and Test runs-on: ubuntu-24.04 steps: - - name: Checkout Hive + - name: Checkout Spinifex uses: actions/checkout@v6 with: path: hive @@ -40,13 +40,13 @@ jobs: - name: Setup Go uses: actions/setup-go@v6 with: - cache-dependency-path: "hive/go.sum" - go-version-file: "hive/go.mod" + cache-dependency-path: "spinifex/go.sum" + go-version-file: "spinifex/go.mod" - name: Setup Go Workspace run: go work init ./hive ./viperblock ./predastore - - name: Build Hive + - name: Build Spinifex run: make -C hive build - name: Run Tests with Coverage @@ -56,11 +56,11 @@ jobs: run: cd hive && scripts/diff-coverage.sh coverage.out --base HEAD~1 race_detection: - name: Hive Race Detection + name: Spinifex Race Detection runs-on: ubuntu-24.04 steps: - - name: Checkout Hive + - name: Checkout Spinifex uses: actions/checkout@v6 with: path: hive @@ -80,8 +80,8 @@ jobs: - name: Setup Go uses: actions/setup-go@v6 with: - cache-dependency-path: "hive/go.sum" - go-version-file: "hive/go.mod" + cache-dependency-path: "spinifex/go.sum" + go-version-file: "spinifex/go.mod" - name: Setup Go Workspace run: go work init ./hive ./viperblock ./predastore @@ -90,11 +90,11 @@ jobs: run: make -C hive test-race lint_and_security: - name: Hive Lint and Security + name: Spinifex Lint and Security runs-on: ubuntu-24.04 steps: - - name: Checkout Hive + - name: Checkout Spinifex uses: actions/checkout@v6 with: path: hive @@ -114,8 +114,8 @@ jobs: - name: Setup Go uses: actions/setup-go@v6 with: - cache-dependency-path: "hive/go.sum" - go-version-file: "hive/go.mod" + cache-dependency-path: "spinifex/go.sum" + go-version-file: "spinifex/go.mod" - name: Setup Go Workspace run: go work init ./hive ./viperblock ./predastore diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml index b8c1d9bb8..1c7522690 100644 --- a/.github/workflows/ui.yml +++ b/.github/workflows/ui.yml @@ -6,7 +6,7 @@ on: - main - dev paths: - - hive/services/hiveui/frontend/** + - spinifex/services/spinifexui/frontend/** - .github/workflows/ui.yml workflow_dispatch: @@ -16,25 +16,25 @@ jobs: runs-on: ubuntu-24.04 defaults: run: - working-directory: hive/services/hiveui/frontend + working-directory: spinifex/services/spinifexui/frontend steps: - name: Checkout Code uses: actions/checkout@v6 with: - sparse-checkout: hive/services/hiveui/frontend + sparse-checkout: spinifex/services/spinifexui/frontend - name: Setup pnpm uses: pnpm/action-setup@v4 with: - package_json_file: hive/services/hiveui/frontend/package.json + package_json_file: spinifex/services/spinifexui/frontend/package.json - name: Setup Node.js uses: actions/setup-node@v6 with: cache: "pnpm" - cache-dependency-path: hive/services/hiveui/frontend/pnpm-lock.yaml - node-version-file: hive/services/hiveui/frontend/.nvmrc + cache-dependency-path: spinifex/services/spinifexui/frontend/pnpm-lock.yaml + node-version-file: spinifex/services/spinifexui/frontend/.nvmrc - name: Install Dependencies run: pnpm install --frozen-lockfile