ci: drop 32-bit release targets [CI SKIP]
This commit is contained in:
1 parent
d4b4869501
commit
6b12049df0
6 files changed
+6
-66
No files matched your search
@@ -69,30 +69,6 @@ steps:
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-arm-agent
|
||||
image: powershell
|
||||
environment: &rid-linux-arm-agent
|
||||
<<: *build-environment
|
||||
RID: linux-arm
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-arm-probe
|
||||
image: powershell
|
||||
environment: &rid-linux-arm-probe
|
||||
<<: *rid-linux-arm-agent
|
||||
COMPONENT: probe
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-arm-enroll
|
||||
image: powershell
|
||||
environment: &rid-linux-arm-enroll
|
||||
<<: *rid-linux-arm-agent
|
||||
COMPONENT: fleet-enroll
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-musl-x64-agent
|
||||
image: powershell
|
||||
environment: &rid-linux-musl-x64-agent
|
||||
@@ -141,30 +117,6 @@ steps:
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-musl-arm-agent
|
||||
image: powershell
|
||||
environment: &rid-linux-musl-arm-agent
|
||||
<<: *build-environment
|
||||
RID: linux-musl-arm
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-musl-arm-probe
|
||||
image: powershell
|
||||
environment: &rid-linux-musl-arm-probe
|
||||
<<: *rid-linux-musl-arm-agent
|
||||
COMPONENT: probe
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-musl-arm-enroll
|
||||
image: powershell
|
||||
environment: &rid-linux-musl-arm-enroll
|
||||
<<: *rid-linux-musl-arm-agent
|
||||
COMPONENT: fleet-enroll
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-macos-x64-agent
|
||||
image: powershell
|
||||
environment: &rid-macos-x64-agent
|
||||
@@ -274,18 +226,12 @@ steps:
|
||||
- build-linux-arm64-agent
|
||||
- build-linux-arm64-probe
|
||||
- build-linux-arm64-enroll
|
||||
- build-linux-arm-agent
|
||||
- build-linux-arm-probe
|
||||
- build-linux-arm-enroll
|
||||
- build-linux-musl-x64-agent
|
||||
- build-linux-musl-x64-probe
|
||||
- build-linux-musl-x64-enroll
|
||||
- build-linux-musl-arm64-agent
|
||||
- build-linux-musl-arm64-probe
|
||||
- build-linux-musl-arm64-enroll
|
||||
- build-linux-musl-arm-agent
|
||||
- build-linux-musl-arm-probe
|
||||
- build-linux-musl-arm-enroll
|
||||
- build-macos-x64-agent
|
||||
- build-macos-x64-probe
|
||||
- build-macos-x64-enroll
|
||||
|
||||
@@ -44,7 +44,7 @@ npm run build --prefix web
|
||||
|
||||
前端产物位于 `web/display/dist/` 和 `web/admin/dist/`。NativeAOT 目标平台和 Windows 上使用 AotAnywhere 交叉构建的说明见 [`docs/deployment.md`](docs/deployment.md)。
|
||||
|
||||
Backend 以 OCI 镜像发布,支持 Linux/amd64 与 Linux/arm64;Agent 和 Probe 发布 Linux glibc/musl x64、arm64、arm,macOS x64/arm64,以及 Windows x64/arm64 二进制包。容器部署配置见 [`compose.yaml`](compose.yaml),发布说明见 [`docs/deployment.md`](docs/deployment.md)。
|
||||
Backend 以 OCI 镜像发布,支持 Linux/amd64 与 Linux/arm64;Agent 和 Probe 发布 Linux glibc/musl x64、arm64,macOS x64/arm64,以及 Windows x64/arm64 二进制包。容器部署配置见 [`compose.yaml`](compose.yaml),发布说明见 [`docs/deployment.md`](docs/deployment.md)。
|
||||
|
||||
### 本地运行
|
||||
|
||||
|
||||
@@ -55,10 +55,8 @@ try {
|
||||
$targets = @(
|
||||
@{ Rid = 'linux-x64'; Os = 'linux'; Arch = 'amd64'; Windows = $false },
|
||||
@{ Rid = 'linux-arm64'; Os = 'linux'; Arch = 'arm64'; Windows = $false },
|
||||
@{ Rid = 'linux-arm'; Os = 'linux'; Arch = 'arm'; Windows = $false },
|
||||
@{ Rid = 'linux-musl-x64'; Os = 'linux'; Arch = 'musl-amd64'; Windows = $false },
|
||||
@{ Rid = 'linux-musl-arm64'; Os = 'linux'; Arch = 'musl-arm64'; Windows = $false },
|
||||
@{ Rid = 'linux-musl-arm'; Os = 'linux'; Arch = 'musl-arm'; Windows = $false },
|
||||
@{ Rid = 'osx-x64'; Os = 'macos'; Arch = 'x64'; Windows = $false },
|
||||
@{ Rid = 'osx-arm64'; Os = 'macos'; Arch = 'arm64'; Windows = $false },
|
||||
@{ Rid = 'win-x64'; Os = 'windows'; Arch = 'amd64'; Windows = $true },
|
||||
|
||||
@@ -26,7 +26,7 @@ printf 'machine %s login justme password %s\n' "$gitea_host" "$GITEA_TOKEN" > "$
|
||||
chmod 600 "$netrc"
|
||||
trap 'rm -rf "$tmp"' EXIT
|
||||
|
||||
release_body="Agent and Probe builds: Linux glibc and musl (x64, arm64, arm), macOS (x64, arm64), and Windows (x64, arm64). macOS binaries are not Developer ID signed or notarized. Backend OCI images: registry.oeo.one/monitor/monitor-backend:$version (linux/amd64 and linux/arm64)."
|
||||
release_body="Agent and Probe builds: Linux glibc and musl (x64, arm64), macOS (x64, arm64), and Windows (x64, arm64). macOS binaries are not Developer ID signed or notarized. Backend OCI images: registry.oeo.one/monitor/monitor-backend:$version (linux/amd64 and linux/arm64)."
|
||||
payload="$(printf '{"tag_name":"%s","target_commitish":"%s","name":"MyMonitor %s","body":"%s","draft":false,"prerelease":false}' \
|
||||
"$tag" "${CI_COMMIT_SHA:-}" "$tag" "$release_body")"
|
||||
release_status="$(curl --silent --show-error --retry 3 --netrc-file "$netrc" \
|
||||
@@ -64,14 +64,10 @@ assets=(
|
||||
"monitor-agent-v$version-linux-arm64.tar.gz"
|
||||
"monitor-probe-v$version-linux-amd64.tar.gz"
|
||||
"monitor-probe-v$version-linux-arm64.tar.gz"
|
||||
"monitor-agent-v$version-linux-arm.tar.gz"
|
||||
"monitor-probe-v$version-linux-arm.tar.gz"
|
||||
"monitor-agent-v$version-linux-musl-amd64.tar.gz"
|
||||
"monitor-probe-v$version-linux-musl-amd64.tar.gz"
|
||||
"monitor-agent-v$version-linux-musl-arm64.tar.gz"
|
||||
"monitor-probe-v$version-linux-musl-arm64.tar.gz"
|
||||
"monitor-agent-v$version-linux-musl-arm.tar.gz"
|
||||
"monitor-probe-v$version-linux-musl-arm.tar.gz"
|
||||
"monitor-agent-v$version-macos-x64.tar.gz"
|
||||
"monitor-probe-v$version-macos-x64.tar.gz"
|
||||
"monitor-agent-v$version-macos-arm64.tar.gz"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
param(
|
||||
[Parameter(Mandatory)]
|
||||
[ValidateSet(
|
||||
'linux-x64', 'linux-arm64', 'linux-arm',
|
||||
'linux-musl-x64', 'linux-musl-arm64', 'linux-musl-arm',
|
||||
'linux-x64', 'linux-arm64',
|
||||
'linux-musl-x64', 'linux-musl-arm64',
|
||||
'osx-x64', 'osx-arm64', 'win-x64', 'win-arm64'
|
||||
)]
|
||||
[string]$RuntimeIdentifier,
|
||||
|
||||
+2
-2
@@ -11,8 +11,8 @@ scripts/package.sh <agent|probe> <rid> → backend/art
|
||||
|
||||
| rid | 目标 | 构建方式 |
|
||||
| --- | --- | --- |
|
||||
| `linux-x64`、`linux-arm64`、`linux-arm` | Debian/Ubuntu glibc、ARMv7 | Windows CI 主机通过 AotAnywhere 交叉编译 |
|
||||
| `linux-musl-x64`、`linux-musl-arm64`、`linux-musl-arm` | Alpine、OpenWrt、musl ARMv7 | Windows CI 主机通过 AotAnywhere 交叉编译 |
|
||||
| `linux-x64`、`linux-arm64` | Debian/Ubuntu glibc 服务器 | Windows CI 主机通过 AotAnywhere 交叉编译 |
|
||||
| `linux-musl-x64`、`linux-musl-arm64` | Alpine、amd64 OpenWrt、aarch64 OpenWrt 路由器 | Windows CI 主机通过 AotAnywhere 交叉编译 |
|
||||
| `osx-x64`、`osx-arm64` | Intel Mac、Apple Silicon | Windows CI 主机通过 AotAnywhere 交叉编译;发布包未做 Developer ID 签名或 Apple 公证 |
|
||||
| `win-x64`、`win-arm64` | Windows x64、ARM64 | Windows CI 主机上的 Visual Studio C++ 工具链 |
|
||||
|
||||
|
||||
Reference in new issue
Block a user