Files
flake-hub/.woodpecker.yml
T
Oleks 49fd58b363 Add attic-client (s390x) and geesefs to flake-hub, rewrite CI in xonsh
Move attic-client s390x cross-compilation from building/s390x/attic-client-s390x
and geesefs from building/s390x/geesefs-s390x into flake-hub. Replace ci/build.sh
with ci/build.xsh. All packages now built and pushed to attic via the existing
Woodpecker pipeline on push to main.
2026-03-15 13:09:05 +02:00

65 lines
1.5 KiB
YAML

# Build flake-hub packages for all architectures and push to attic
clone:
- name: clone
image: woodpeckerci/plugin-git
environment:
CI_NETRC_MACHINE: git.oleks.space
CI_NETRC_USERNAME: oleks
CI_NETRC_PASSWORD:
from_secret: gitea_clone_token
when:
- event: push
branch: main
# Build packages for each architecture in parallel
steps:
- name: build-x86_64-linux
image: git.oleks.space/oleks/nix-ci:latest
depends_on: []
environment:
ATTIC_TOKEN:
from_secret: attic_token
GITEA_CLONE_TOKEN:
from_secret: gitea_clone_token
backend_options:
kubernetes:
nodeSelector:
kubernetes.io/arch: amd64
commands:
- sh ci/setup.sh
- xonsh ci/build.xsh x86_64-linux
- name: build-aarch64-linux
image: git.oleks.space/oleks/nix-ci:latest
depends_on: []
environment:
ATTIC_TOKEN:
from_secret: attic_token
GITEA_CLONE_TOKEN:
from_secret: gitea_clone_token
backend_options:
kubernetes:
nodeSelector:
kubernetes.io/arch: arm64
commands:
- sh ci/setup.sh
- xonsh ci/build.xsh aarch64-linux
- name: build-s390x-linux
image: git.oleks.space/oleks/nix-ci:latest
depends_on: []
environment:
ATTIC_TOKEN:
from_secret: attic_token
GITEA_CLONE_TOKEN:
from_secret: gitea_clone_token
backend_options:
kubernetes:
nodeSelector:
kubernetes.io/arch: amd64
commands:
- sh ci/setup.sh
- xonsh ci/build.xsh s390x-linux