refactor: rename CI/CD workflows from hive to spinifex

- 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
This commit is contained in:
Ben Duncan
2026-03-18 01:09:02 +00:00
parent c11ac04892
commit 55186d95f2
4 changed files with 30 additions and 30 deletions
+4 -4
View File
@@ -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()
+6 -6
View File
@@ -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
@@ -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
+6 -6
View File
@@ -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