arch: null artifacts: [] environment: BUILD_SUBMITTER: git.sr.ht GIT_REF: refs/heads/flatpak-beta app_id: icu.ccw.Melon repo_dir: /home/build/repo s3_bucket: melon.flatpak-nightly s3_url: https://s3.ccw.icu image: alpine/edge packages: - flatpak - flatpak-builder - appstream-compose - qemu-aarch64 - s3fs-fuse repositories: {} secrets: - 46ce8da6-9e44-4e6c-a5fa-2e25d05fe3bb shell: false sources: - http://git.hut.ccw.icu/~comcloudway/melon#e759538e191a72e1ed09a571ca45afa4facea769 tasks: - s3fs-setup: | sudo modprobe fuse sudo mv ~/.passwd-s3fs /etc/passwd-s3fs mkdir -p $repo_dir-live sudo s3fs $s3_bucket $repo_dir-live -o url=$s3_url -o use_path_request_style -o umask=0007,uid=$(id -u) -o allow_other cp -r $repo_dir-live $repo_dir - prepare: | flatpak remote-add --user --if-not-exists flathub "https://flathub.org/repo/flathub.flatpakrepo" flatpak --user remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo - build-dependencies: | cd melon flatpak-builder build --user --disable-rofiles-fuse --disable-updates --force-clean --repo=$repo_dir flatpak/$app_id.yml flatpak-builder build --arch=aarch64 --user --disable-rofiles-fuse --disable-updates --force-clean --repo=$repo_dir flatpak/$app_id.yml - build-bundle: | cd melon flatpak build-bundle $repo_dir $repo_dir/$app_id.flatpak --runtime-repo="https://flathub.org/repo/flathub.flatpakrepo" $app_id flatpak build-bundle --arch=aarch64 $repo_dir $repo_dir/$app_id--arch64.flatpak --runtime-repo="https://flathub.org/repo/flathub.flatpakrepo" $app_id - build-update-repo: | cd melon flatpak build-update-repo --generate-static-deltas --prune $repo_dir - cleanup: | cp -r $repo_dir/* $repo_dir-live sudo umount $repo_dir-live triggers: [] oauth: ""