scripts: publish unified Agent artifacts and restore CI coverage [CI]
Remove Probe build jobs and release paths. Transfer Gitea publishing credentials to both Agent architecture jobs, publish each platform archive once, and run slow tests after development images are published.
This commit is contained in:
1 parent
c9beeee8e3
commit
4515d7b075
14 files changed
+52
-179
No files matched your search
+17
-35
@@ -39,6 +39,9 @@ steps:
|
||||
- name: build-linux-amd64-agent
|
||||
image: bash
|
||||
environment:
|
||||
GITEA_BASE: http://127.0.0.1:3100
|
||||
GITEA_TOKEN:
|
||||
from_secret: gitea_token
|
||||
ZOT_REGISTRY: registry.oeo.one
|
||||
ZOT_USERNAME: justme
|
||||
ZOT_SECRET:
|
||||
@@ -50,7 +53,8 @@ steps:
|
||||
- bash ci/build-dev-image.sh agent
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-amd64-probe
|
||||
# Build both node architectures in parallel; publish both indexes together after both builds.
|
||||
- name: build-linux-arm64-agent
|
||||
image: bash
|
||||
environment:
|
||||
GITEA_BASE: http://127.0.0.1:3100
|
||||
@@ -63,42 +67,10 @@ steps:
|
||||
RELEASE_API_URL: https://mo.oeo.one
|
||||
RELEASE_SIGNING_KEY:
|
||||
from_secret: release_signing_key
|
||||
commands:
|
||||
- bash ci/build-dev-image.sh probe
|
||||
depends_on: []
|
||||
|
||||
# Build both node architectures in parallel; publish both indexes together after all four builds.
|
||||
- name: build-linux-arm64-agent
|
||||
image: bash
|
||||
environment:
|
||||
ZOT_REGISTRY: registry.oeo.one
|
||||
ZOT_USERNAME: justme
|
||||
ZOT_SECRET:
|
||||
from_secret: zot_secret
|
||||
RELEASE_API_URL: https://mo.oeo.one
|
||||
RELEASE_SIGNING_KEY:
|
||||
from_secret: release_signing_key
|
||||
commands:
|
||||
- bash ci/build-dev-image.sh agent arm64
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-arm64-probe
|
||||
image: bash
|
||||
environment:
|
||||
GITEA_BASE: http://127.0.0.1:3100
|
||||
GITEA_TOKEN:
|
||||
from_secret: gitea_token
|
||||
ZOT_REGISTRY: registry.oeo.one
|
||||
ZOT_USERNAME: justme
|
||||
ZOT_SECRET:
|
||||
from_secret: zot_secret
|
||||
RELEASE_API_URL: https://mo.oeo.one
|
||||
RELEASE_SIGNING_KEY:
|
||||
from_secret: release_signing_key
|
||||
commands:
|
||||
- bash ci/build-dev-image.sh probe arm64
|
||||
depends_on: []
|
||||
|
||||
- name: publish-linux-node-indexes
|
||||
image: bash
|
||||
environment:
|
||||
@@ -113,6 +85,16 @@ steps:
|
||||
- bash ci/publish-dev-node-indexes.sh
|
||||
depends_on:
|
||||
- build-linux-amd64-agent
|
||||
- build-linux-amd64-probe
|
||||
- build-linux-arm64-agent
|
||||
- build-linux-arm64-probe
|
||||
|
||||
- name: backend-e2e-tests
|
||||
image: bash
|
||||
when:
|
||||
- evaluate: 'not (CI_COMMIT_MESSAGE contains "[SKIP TESTS]")'
|
||||
environment:
|
||||
NUGET_PACKAGES: /home/justme/woodpecker/cache/nuget/packages
|
||||
commands:
|
||||
- bash ci/verify-backend.sh slow
|
||||
depends_on:
|
||||
- publish-linux-node-indexes
|
||||
- build-linux-amd64-backend
|
||||
@@ -17,7 +17,7 @@ depends_on:
|
||||
- windows-release
|
||||
|
||||
steps:
|
||||
- name: publish-agent-probe-oci
|
||||
- name: publish-agent-oci
|
||||
image: bash
|
||||
environment:
|
||||
GITEA_BASE: http://127.0.0.1:3100
|
||||
@@ -45,4 +45,4 @@ steps:
|
||||
commands:
|
||||
- bash ci/publish-gitea-release.sh
|
||||
depends_on:
|
||||
- publish-agent-probe-oci
|
||||
- publish-agent-oci
|
||||
@@ -30,14 +30,6 @@ steps:
|
||||
- ./ci/release-cross-platform.ps1 -RuntimeIdentifier $env:RID -Component $env:COMPONENT
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-x64-probe
|
||||
image: powershell
|
||||
environment: &rid-linux-x64-probe
|
||||
<<: *build-environment
|
||||
COMPONENT: probe
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-x64-enroll
|
||||
image: powershell
|
||||
environment: &rid-linux-x64-enroll
|
||||
@@ -54,14 +46,6 @@ steps:
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-arm64-probe
|
||||
image: powershell
|
||||
environment: &rid-linux-arm64-probe
|
||||
<<: *rid-linux-arm64-agent
|
||||
COMPONENT: probe
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-arm64-enroll
|
||||
image: powershell
|
||||
environment: &rid-linux-arm64-enroll
|
||||
@@ -78,14 +62,6 @@ steps:
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-musl-x64-probe
|
||||
image: powershell
|
||||
environment: &rid-linux-musl-x64-probe
|
||||
<<: *rid-linux-musl-x64-agent
|
||||
COMPONENT: probe
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-musl-x64-enroll
|
||||
image: powershell
|
||||
environment: &rid-linux-musl-x64-enroll
|
||||
@@ -102,14 +78,6 @@ steps:
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-musl-arm64-probe
|
||||
image: powershell
|
||||
environment: &rid-linux-musl-arm64-probe
|
||||
<<: *rid-linux-musl-arm64-agent
|
||||
COMPONENT: probe
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-linux-musl-arm64-enroll
|
||||
image: powershell
|
||||
environment: &rid-linux-musl-arm64-enroll
|
||||
@@ -126,14 +94,6 @@ steps:
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-macos-x64-probe
|
||||
image: powershell
|
||||
environment: &rid-macos-x64-probe
|
||||
<<: *rid-macos-x64-agent
|
||||
COMPONENT: probe
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-macos-x64-enroll
|
||||
image: powershell
|
||||
environment: &rid-macos-x64-enroll
|
||||
@@ -150,14 +110,6 @@ steps:
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-macos-arm64-probe
|
||||
image: powershell
|
||||
environment: &rid-macos-arm64-probe
|
||||
<<: *rid-macos-arm64-agent
|
||||
COMPONENT: probe
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-macos-arm64-enroll
|
||||
image: powershell
|
||||
environment: &rid-macos-arm64-enroll
|
||||
@@ -174,14 +126,6 @@ steps:
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-windows-x64-probe
|
||||
image: powershell
|
||||
environment: &rid-windows-x64-probe
|
||||
<<: *rid-windows-x64-agent
|
||||
COMPONENT: probe
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-windows-x64-enroll
|
||||
image: powershell
|
||||
environment: &rid-windows-x64-enroll
|
||||
@@ -198,14 +142,6 @@ steps:
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-windows-arm64-probe
|
||||
image: powershell
|
||||
environment: &rid-windows-arm64-probe
|
||||
<<: *rid-windows-arm64-agent
|
||||
COMPONENT: probe
|
||||
commands: *build-commands
|
||||
depends_on: []
|
||||
|
||||
- name: build-windows-arm64-enroll
|
||||
image: powershell
|
||||
environment: &rid-windows-arm64-enroll
|
||||
@@ -222,26 +158,18 @@ steps:
|
||||
- ./ci/package-cross-platform.ps1
|
||||
depends_on:
|
||||
- build-linux-x64-agent
|
||||
- build-linux-x64-probe
|
||||
- build-linux-x64-enroll
|
||||
- build-linux-arm64-agent
|
||||
- build-linux-arm64-probe
|
||||
- build-linux-arm64-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-macos-x64-agent
|
||||
- build-macos-x64-probe
|
||||
- build-macos-x64-enroll
|
||||
- build-macos-arm64-agent
|
||||
- build-macos-arm64-probe
|
||||
- build-macos-arm64-enroll
|
||||
- build-windows-x64-agent
|
||||
- build-windows-x64-probe
|
||||
- build-windows-x64-enroll
|
||||
- build-windows-arm64-agent
|
||||
- build-windows-arm64-probe
|
||||
- build-windows-arm64-enroll
|
||||
Reference in new issue
Block a user