2023-01-06 14:48:41 +00:00
|
|
|
workflow:
|
|
|
|
rules:
|
|
|
|
- if: $CI_COMMIT_BRANCH == "master"
|
|
|
|
|
|
|
|
build-x86_64: &build
|
2023-03-28 17:56:51 +00:00
|
|
|
image: registry.git.ptrc.gay/ptrcnull/ptrcports-builder/x86_64:latest
|
2023-01-06 14:48:41 +00:00
|
|
|
stage: build
|
|
|
|
script:
|
2023-03-28 17:56:51 +00:00
|
|
|
- setup-ssh-key "$PRIVATE_KEY"
|
|
|
|
- setup-abuild-key "$PACKAGER_PRIVKEY" "alpine@ptrcnull.me-60610fa4.rsa"
|
|
|
|
- mkdir -p repodest
|
|
|
|
- rsync --archive --update --hard-links --delete --delete-after --delay-updates
|
|
|
|
buildozer@repo.ptrc.gay:repodest/
|
|
|
|
repodest/
|
|
|
|
- buildrepo
|
2023-01-06 14:48:41 +00:00
|
|
|
--aports $PWD/..
|
|
|
|
--destdir $PWD/repodest
|
|
|
|
--purge
|
|
|
|
ptrcports
|
2023-03-28 17:56:51 +00:00
|
|
|
- rsync --archive --update --hard-links --delete --delete-after --delay-updates
|
|
|
|
repodest/
|
|
|
|
buildozer@repo.ptrc.gay:repodest/
|
2023-01-06 14:48:41 +00:00
|
|
|
|
|
|
|
build-aarch64:
|
|
|
|
<<: *build
|
2023-03-28 17:56:51 +00:00
|
|
|
image: registry.git.ptrc.gay/ptrcnull/ptrcports-builder/arm64v8:latest
|
2023-01-06 14:48:41 +00:00
|
|
|
|
|
|
|
# build-armhf:
|
|
|
|
# <<: *build
|
|
|
|
# image: arm32v6/alpine:edge
|
|
|
|
|
|
|
|
# build-armv7:
|
|
|
|
# <<: *build
|
|
|
|
# image: arm32v7/alpine:edge
|
|
|
|
|
|
|
|
# build-ppc64le:
|
|
|
|
# <<: *build
|
|
|
|
# image: ppc64le/alpine:edge
|
|
|
|
|
|
|
|
# build-riscv64:
|
|
|
|
# <<: *build
|
|
|
|
# image: riscv64/alpine:edge
|
|
|
|
|
|
|
|
# build-s390x:
|
|
|
|
# <<: *build
|
|
|
|
# image: s390x/alpine:edge
|
|
|
|
|
|
|
|
# build-x86:
|
|
|
|
# <<: *build
|
|
|
|
# image: i386/alpine:edge
|