arch: null artifacts: [] environment: BUILD_SUBMITTER: git.sr.ht GIT_REF: refs/heads/main builddir: ccw-aports ccwmirror: https://mirror.ccw.icu mirror: https://dl-cdn.alpinelinux.org/alpine owner: comcloudway@ccw.icu s3_bucket: mirror s3_url: https://s3.ccw.icu targets: - x86_64 image: alpine/edge packages: - git - cargo - abuild - abuild-rootbld - qemu - qemu-openrc - qemu-x86_64 - s3fs-fuse repositories: ccw.icu: | /home/build/packages https://git.hut.ccw.icu/~comcloudway/ccw-aports/blob/main/comcloudway%40ccw.icu.rsa.pub comcloudway@ccw.icu.rsa.pub secrets: - 5cbb7212-a29b-4590-9081-414a45371b60 - 3ac2ec05-4f22-4b6a-99cb-f08f7ffe4a29 - 6b490ef3-3359-4999-aed2-6f8c28fc7d26 shell: false sources: - http://git.hut.ccw.icu/~comcloudway/ccw-aports#530ec2a3dfc41d5e7e7c913c7481f0a89e3a192f - https://git.hut.ccw.icu/~comcloudway/cabin tasks: - prepare: "# setup s3fs\nsudo modprobe fuse\nsudo mv ~/.passwd-s3fs /etc/passwd-s3fs\nmkdir -p ~/packages\nsudo s3fs $s3_bucket ~/packages -o url=$s3_url -o use_path_request_style -o umask=0007,uid=$(id -u) -o allow_other\n# configure keypath\necho \"PACKAGER_PRIVKEY=$HOME/.abuild/$owner.rsa\" >> $HOME/.abuild/abuild.conf\n# start binfmt service for userspace emulation \n# required by abuild-rootbld\nsudo rc-service qemu-binfmt start\n" - setup: | cd cabin cargo build --release sudo cargo install --path . --root="/usr" - index: | cd $builddir cabin scan - build: | cd $builddir for target in "${targets[@]}" do # cabin build-all will automatically generate a tree and order # in which to build the dependencies cabin build-all -a $target -v done - cleanup: | sudo umount ~/packages triggers: [] oauth: ""