mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-04-26 17:06:39 +00:00
Remove obsolete Woodpecker CI configuration for ARM builds. This deletion streamlines the pipeline by eliminating unused build steps and settings related to ARM architecture, which are no longer necessary.
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
when:
|
||||||
|
event: [push, pull_request, manual]
|
||||||
|
branch: [dev, stage, main]
|
||||||
|
|
||||||
|
labels:
|
||||||
|
platform: arm64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: unit-tests
|
||||||
|
image: mcr.microsoft.com/dotnet/sdk:8.0
|
||||||
|
commands:
|
||||||
|
- dotnet restore SatelliteProvider.sln
|
||||||
|
- dotnet test SatelliteProvider.Tests/SatelliteProvider.Tests.csproj --no-restore --configuration Release --logger "console;verbosity=normal" --logger "trx;LogFileName=test-results.trx" --results-directory /app/test-results
|
||||||
@@ -2,8 +2,20 @@ when:
|
|||||||
event: [push, manual]
|
event: [push, manual]
|
||||||
branch: [dev, stage, main]
|
branch: [dev, stage, main]
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- 01-test
|
||||||
|
|
||||||
|
# Multi-arch matrix. Adding amd64 = uncommenting the second entry once an
|
||||||
|
# amd64 agent is online.
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- PLATFORM: arm64
|
||||||
|
TAG_SUFFIX: arm
|
||||||
|
# - PLATFORM: amd64
|
||||||
|
# TAG_SUFFIX: amd
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
platform: arm64
|
platform: ${PLATFORM}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-push
|
- name: build-push
|
||||||
@@ -17,7 +29,7 @@ steps:
|
|||||||
from_secret: registry_token
|
from_secret: registry_token
|
||||||
commands:
|
commands:
|
||||||
- echo "$REGISTRY_TOKEN" | docker login "$REGISTRY_HOST" -u "$REGISTRY_USER" --password-stdin
|
- echo "$REGISTRY_TOKEN" | docker login "$REGISTRY_HOST" -u "$REGISTRY_USER" --password-stdin
|
||||||
- export TAG=${CI_COMMIT_BRANCH}-arm
|
- export TAG=${CI_COMMIT_BRANCH}-${TAG_SUFFIX}
|
||||||
- export BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ)
|
- export BUILD_DATE=$(date -u +%Y-%m-%dT%H:%M:%SZ)
|
||||||
- |
|
- |
|
||||||
docker build -f SatelliteProvider.Api/Dockerfile \
|
docker build -f SatelliteProvider.Api/Dockerfile \
|
||||||
Reference in New Issue
Block a user