[PR #4] [MERGED] Fix agent build pipeline and packaging for all platforms #8

Closed
opened 2026-03-02 11:44:06 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jhd3197/ServerKit/pull/4
Author: @jhd3197
Created: 1/24/2026
Status: Merged
Merged: 1/24/2026
Merged by: @jhd3197

Base: mainHead: dev


📝 Commits (10+)

  • e0235bb Fix missing base64 import in agent
  • bf16d8f chore: bump version to 1.2.57 [skip ci]
  • 95d9e6f Fix agent packaging build errors
  • af32f97 chore: bump version to 1.2.58 [skip ci]
  • 49f8d80 Simplify MSI installer for WiX v4 compatibility
  • 423bbcc Remove test binary and add agent .gitignore
  • bda8cc5 chore: bump version to 1.2.59 [skip ci]
  • 7ac4b9f Fix RPM build for cross-architecture and output path
  • b02cd9a Update agent image in docker-compose.yml
  • c46d9fa chore: bump version to 1.2.60 [skip ci]

📊 Changes

8 files changed (+65 additions, -77 deletions)

View changed files

📝 .github/workflows/agent-release.yml (+5 -5)
📝 VERSION (+1 -1)
agent/.gitignore (+26 -0)
📝 agent/docker-compose.yml (+1 -1)
📝 agent/internal/agent/agent.go (+1 -0)
📝 agent/packaging/msi/Product.wxs (+20 -63)
📝 agent/packaging/rpm/build.sh (+11 -7)
agent/serverkit-agent.exe (+0 -0)

📄 Description

Summary

Fixes the agent release workflow to successfully build and publish packages for all platforms
(Linux, Windows, Docker).

Build Fixes

  • Go: Add missing encoding/base64 import in agent code
  • RPM: Fix cross-architecture builds (arm64 on x86_64 runner) using --target flag
  • RPM: Fix output directory permission error by using absolute paths
  • MSI: Simplify WiX v4 installer - use version variable, remove UI extension dependency, fix
    duplicate file reference

Repository Cleanup

  • Remove accidentally committed serverkit-agent.exe binary
  • Add .gitignore for agent build artifacts

Docker

  • Update Docker image repository to jhd3197/serverkit-agent
  • Update docker-compose.yml with correct image reference

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jhd3197/ServerKit/pull/4 **Author:** [@jhd3197](https://github.com/jhd3197) **Created:** 1/24/2026 **Status:** ✅ Merged **Merged:** 1/24/2026 **Merged by:** [@jhd3197](https://github.com/jhd3197) **Base:** `main` ← **Head:** `dev` --- ### 📝 Commits (10+) - [`e0235bb`](https://github.com/jhd3197/ServerKit/commit/e0235bb9128a10b53f6b93d9a4298293dd1ee768) Fix missing base64 import in agent - [`bf16d8f`](https://github.com/jhd3197/ServerKit/commit/bf16d8f66740e5a7f871c50789f1afea18376ead) chore: bump version to 1.2.57 [skip ci] - [`95d9e6f`](https://github.com/jhd3197/ServerKit/commit/95d9e6f2c4735cfac7f8495c65c7a1c89c50c128) Fix agent packaging build errors - [`af32f97`](https://github.com/jhd3197/ServerKit/commit/af32f97f92ca00e71bbfa5a23628936c1b8300d2) chore: bump version to 1.2.58 [skip ci] - [`49f8d80`](https://github.com/jhd3197/ServerKit/commit/49f8d8054f4709992c7f4020a4787be0027df5a8) Simplify MSI installer for WiX v4 compatibility - [`423bbcc`](https://github.com/jhd3197/ServerKit/commit/423bbcce910eff78fd0e39593c7c3c041df24af0) Remove test binary and add agent .gitignore - [`bda8cc5`](https://github.com/jhd3197/ServerKit/commit/bda8cc5e03a6878c802adc810b77aa8157d2eaa5) chore: bump version to 1.2.59 [skip ci] - [`7ac4b9f`](https://github.com/jhd3197/ServerKit/commit/7ac4b9f36aab801d3849aa1ae879ee7c7c4dbcf8) Fix RPM build for cross-architecture and output path - [`b02cd9a`](https://github.com/jhd3197/ServerKit/commit/b02cd9a919a940e5307849e69ff69ecee873c61a) Update agent image in docker-compose.yml - [`c46d9fa`](https://github.com/jhd3197/ServerKit/commit/c46d9fa0d154705b7a425d34f9d32f0614c68122) chore: bump version to 1.2.60 [skip ci] ### 📊 Changes **8 files changed** (+65 additions, -77 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/agent-release.yml` (+5 -5) 📝 `VERSION` (+1 -1) ➕ `agent/.gitignore` (+26 -0) 📝 `agent/docker-compose.yml` (+1 -1) 📝 `agent/internal/agent/agent.go` (+1 -0) 📝 `agent/packaging/msi/Product.wxs` (+20 -63) 📝 `agent/packaging/rpm/build.sh` (+11 -7) ➖ `agent/serverkit-agent.exe` (+0 -0) </details> ### 📄 Description ## Summary Fixes the agent release workflow to successfully build and publish packages for all platforms (Linux, Windows, Docker). ### Build Fixes - **Go**: Add missing `encoding/base64` import in agent code - **RPM**: Fix cross-architecture builds (arm64 on x86_64 runner) using `--target` flag - **RPM**: Fix output directory permission error by using absolute paths - **MSI**: Simplify WiX v4 installer - use version variable, remove UI extension dependency, fix duplicate file reference ### Repository Cleanup - Remove accidentally committed `serverkit-agent.exe` binary - Add `.gitignore` for agent build artifacts ### Docker - Update Docker image repository to `jhd3197/serverkit-agent` - Update docker-compose.yml with correct image reference --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 11:44:06 +03:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ServerKit#8
No description provided.