# Tijdelijke GitLab-pipeline, zolang deze repository nog op gitlab.com staat. # BlueGit zelf leest blue-ci-cd.yml, niet dit bestand. stages: [test, release] go-test: stage: test image: golang:1.22 script: - go test ./... # Zelfde geheimnamen als Posprint. Tim zet ze zelf. # AUR_SSH_PRIVATE_KEY (File, ruwe sleutel) of AUR_SSH_PRIVATE_KEY_B64 # (Variable, één regel base64), plus AUR_GIT_AUTHOR_NAME en AUR_GIT_AUTHOR_EMAIL. publish:aur: stage: release image: archlinux/archlinux:base-devel rules: - if: $CI_COMMIT_BRANCH == "master" allow_failure: true before_script: - pacman -Syu --noconfirm - pacman -S --noconfirm --needed git openssh curl coreutils shadow util-linux - chmod +x scripts/aur-ssh-setup.sh - ./scripts/aur-ssh-setup.sh script: - chmod +x scripts/publish-aur.sh - ./scripts/publish-aur.sh