vergabe-teilnahme/.forgejo/workflows/application-tests.yaml
tegwick 0f4f11a9a2
Some checks failed
Application acceptance / application-tests (pull_request) Failing after 53s
Application acceptance / application-tests (push) Failing after 3s
Gate customer-product releases with application acceptance and hosted reuse checks
Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a07ff8-19d0-7820-b4d0-1353833cb7fc
2026-09-08 13:03:32 +02:00

27 lines
939 B
YAML

name: Application acceptance
on:
push:
branches: [main, 'factory/**']
pull_request:
branches: [main]
workflow_dispatch:
jobs:
application-tests:
runs-on: container-build
env:
DOCKER_HOST: tcp://127.0.0.1:2375
steps:
- name: Test the exact source and built assets
run: |
set -eu
REF="${GITHUB_SHA:?exact source revision required}"
mkdir -p buildctx /tmp/factory-docker-bin
wget -qO /tmp/repo.tar.gz \
"https://forgejo.coulomb.social/${GITHUB_REPOSITORY}/archive/${REF}.tar.gz"
tar xzf /tmp/repo.tar.gz -C buildctx --strip-components=1
wget -qO- https://download.docker.com/linux/static/stable/x86_64/docker-27.3.1.tgz \
| tar xz --strip-components=1 -C /tmp/factory-docker-bin docker/docker
export PATH="/tmp/factory-docker-bin:${PATH}"
docker build --target application-tests buildctx