diff --git a/.gitea/workflows/test-modules.yaml b/.gitea/workflows/test-modules.yaml index f00b254..bd26161 100644 --- a/.gitea/workflows/test-modules.yaml +++ b/.gitea/workflows/test-modules.yaml @@ -32,7 +32,23 @@ jobs: - name: Publish NaxOS Modules to Gitea Packages run: | tar -czf naxos-os-modules.tar.gz modules profiles iso flake.nix flake.lock - curl -s --fail-with-body -X PUT \ - -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ + echo "Packaging naxos-os-modules.tar.gz to Gitea Packages registry..." + TOKEN="${{ secrets.PACKAGE_TOKEN }}" + if [ -z "$TOKEN" ]; then + TOKEN="${{ secrets.GITEA_TOKEN }}" + fi + RESPONSE=$(curl -s -w "\nHTTP_STATUS:%{http_code}" -X PUT \ + -H "Authorization: token ${TOKEN}" \ --upload-file naxos-os-modules.tar.gz \ - "${{ github.server_url }}/api/packages/naxos/generic/naxos-os-modules/1.0.0/naxos-os-modules.tar.gz" || echo "Package upload note: published or exists" + "${{ github.server_url }}/api/packages/naxos/generic/naxos-os-modules/1.0.0/naxos-os-modules.tar.gz") + STATUS=$(echo "$RESPONSE" | grep "HTTP_STATUS:" | cut -d: -f2) + BODY=$(echo "$RESPONSE" | grep -v "HTTP_STATUS:") + echo "Package upload HTTP status: $STATUS" + if [ "$STATUS" -eq 201 ] || [ "$STATUS" -eq 200 ] || [ "$STATUS" -eq 204 ]; then + echo "Successfully published naxos-os-modules.tar.gz to Gitea Packages!" + elif [ "$STATUS" -eq 409 ]; then + echo "Package version 1.0.0 already published in Gitea Packages: $BODY" + else + echo "Failed to publish package to Gitea Packages ($STATUS): $BODY" + exit 1 + fi diff --git a/README.md b/README.md index 3e18b79..56ae33f 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ ## Appliance Interface Preview -| Overview Dashboard | OpenZFS Storage & Migration | +| Overview Dashboard | OpenZFS Storage Engine | | :---: | :---: | -| ![Dashboard Overview](docs/images/dashboard-overview.jpg) | ![Storage & Migration](docs/images/storage-management.jpg) | -| **CNCF Perses Analytics** | **App Store Catalog** | -| ![Perses Analytics](docs/images/perses-analytics.jpg) | ![App Store](docs/images/app-store.jpg) | +| ![Dashboard Overview](docs/images/dashboard-overview.png) | ![Storage Management](docs/images/storage-management.png) | +| **CNCF Perses Analytics** | **App Store & Runtime** | +| ![Perses Analytics](docs/images/perses-analytics.png) | ![App Store](docs/images/app-store.png) | ## Architecture & Features diff --git a/docs/images/app-store.jpg b/docs/images/app-store.jpg deleted file mode 100644 index 579e5e4..0000000 Binary files a/docs/images/app-store.jpg and /dev/null differ diff --git a/docs/images/app-store.png b/docs/images/app-store.png new file mode 100644 index 0000000..fb1a1c7 Binary files /dev/null and b/docs/images/app-store.png differ diff --git a/docs/images/dashboard-overview.jpg b/docs/images/dashboard-overview.jpg deleted file mode 100644 index 6a78b4e..0000000 Binary files a/docs/images/dashboard-overview.jpg and /dev/null differ diff --git a/docs/images/dashboard-overview.png b/docs/images/dashboard-overview.png new file mode 100644 index 0000000..e75a722 Binary files /dev/null and b/docs/images/dashboard-overview.png differ diff --git a/docs/images/gitops-sync.png b/docs/images/gitops-sync.png new file mode 100644 index 0000000..23ab18f Binary files /dev/null and b/docs/images/gitops-sync.png differ diff --git a/docs/images/migration-wizard.png b/docs/images/migration-wizard.png new file mode 100644 index 0000000..b22a38e Binary files /dev/null and b/docs/images/migration-wizard.png differ diff --git a/docs/images/perses-analytics.jpg b/docs/images/perses-analytics.jpg deleted file mode 100644 index a50311f..0000000 Binary files a/docs/images/perses-analytics.jpg and /dev/null differ diff --git a/docs/images/perses-analytics.png b/docs/images/perses-analytics.png new file mode 100644 index 0000000..39a411c Binary files /dev/null and b/docs/images/perses-analytics.png differ diff --git a/docs/images/shares-management.png b/docs/images/shares-management.png new file mode 100644 index 0000000..ec4cbe6 Binary files /dev/null and b/docs/images/shares-management.png differ diff --git a/docs/images/storage-management.jpg b/docs/images/storage-management.jpg deleted file mode 100644 index c3fdb4e..0000000 Binary files a/docs/images/storage-management.jpg and /dev/null differ diff --git a/docs/images/storage-management.png b/docs/images/storage-management.png new file mode 100644 index 0000000..45dfe5e Binary files /dev/null and b/docs/images/storage-management.png differ diff --git a/docs/images/system-logs.png b/docs/images/system-logs.png new file mode 100644 index 0000000..068064c Binary files /dev/null and b/docs/images/system-logs.png differ