[AZ-185][AZ-186] Batch 2

Made-with: Cursor
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-04-15 07:32:37 +03:00
parent d244799f02
commit 9a0248af72
18 changed files with 1857 additions and 26 deletions
+14
View File
@@ -12,5 +12,19 @@ steps:
- if [ "$CI_COMMIT_BRANCH" = "main" ]; then export TAG=arm; else export TAG=${CI_COMMIT_BRANCH}-arm; fi
- docker build -f Dockerfile -t localhost:5000/loader:$TAG .
- docker push localhost:5000/loader:$TAG
- docker save localhost:5000/loader:$TAG -o loader-image.tar
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- name: publish-artifact
image: python:3.11-slim
commands:
- pip install --no-cache-dir boto3==1.40.9 cryptography==44.0.2 requests==2.32.4
- |
if [ "$CI_COMMIT_BRANCH" = "main" ]; then
export PUBLISH_DEV_STAGE=main
export TAG=arm
else
export PUBLISH_DEV_STAGE=$CI_COMMIT_BRANCH
export TAG=${CI_COMMIT_BRANCH}-arm
fi
- python scripts/publish_artifact.py --file loader-image.tar --resource-name loader --dev-stage "$PUBLISH_DEV_STAGE" --architecture arm64 --version "$CI_COMMIT_SHA"