mirror of
https://github.com/azaion/admin.git
synced 2026-04-26 18:56:39 +00:00
Remove obsolete build-arm.yml configuration file from Woodpecker pipeline. This file is no longer needed following recent updates to the build process.
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
when:
|
||||||
|
event: [push, pull_request, manual]
|
||||||
|
branch: [dev, stage, main]
|
||||||
|
|
||||||
|
labels:
|
||||||
|
platform: arm64
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: unit-tests
|
||||||
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
|
commands:
|
||||||
|
- dotnet restore Azaion.AdminApi.sln
|
||||||
|
- dotnet test Azaion.AdminApi.sln --no-restore --configuration Release --logger "console;verbosity=normal" --logger "trx;LogFileName=test-results.trx" --results-directory /app/test-results
|
||||||
|
|
||||||
|
- name: e2e-tests
|
||||||
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||||
|
commands:
|
||||||
|
- dotnet restore e2e/Azaion.E2E/Azaion.E2E.csproj
|
||||||
|
- dotnet test e2e/Azaion.E2E/Azaion.E2E.csproj --no-restore --configuration Release --logger "console;verbosity=normal" --logger "trx;LogFileName=e2e-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 Dockerfile \
|
docker build -f Dockerfile \
|
||||||
Reference in New Issue
Block a user