Files
Echoion/.gitea/workflows/ci.yml
T
faumaray 41937b2987
Container CI / release-build (push) Has been cancelled
update
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-25 23:54:51 +03:00

54 lines
1.5 KiB
YAML

name: Container CI
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
release-build:
runs-on: ubuntu-24.04
steps:
- name: Verify the Docker-capable Gitea runner
shell: bash
run: |
set -euo pipefail
test "$(uname -s)" = Linux
command -v docker
docker version
docker info
- name: Check out source and nested repositories
uses: https://github.com/actions/checkout@11d5960a326750d5838078e36cf38b85af677262
with:
fetch-depth: 0
submodules: recursive
ssh-key: ${{ secrets.RELEASE_CHECKOUT_SSH_KEY }}
persist-credentials: false
- name: Build, test, and package without starting Echoion
env:
CI_VERSION: 0.0.0-ci.${{ gitea.run_number }}.${{ gitea.run_attempt }}
run: |
set -eu
scripts/release.sh --version "$CI_VERSION"
- name: Test release control-plane scripts
run: |
set -eu
bash scripts/tests/test-gitea-tag-verification.sh
docker run --rm --network none \
--volume "$PWD:/workspace:ro" \
--workdir /workspace \
echoion-release-builder:gcc-16.1.0 \
python3 scripts/tests/test_aggregate_update_feed.py
docker run --rm --network none \
--volume "$PWD:/workspace:ro" \
--workdir /workspace \
echoion-release-builder:gcc-16.1.0 \
python3 scripts/tests/test_gitea_release.py