arch: null artifacts: [] environment: BUILD_SUBMITTER: git.sr.ht GIT_REF: refs/heads/main 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 - s3fs-fuse repositories: {} secrets: - 46ce8da6-9e44-4e6c-a5fa-2e25d05fe3bb shell: false sources: - http://git.hut.ccw.icu/~comcloudway/melon#594b8cb290b541164c566c9de9aae1b0501a98a6 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" - build-dependencies: | cd melon flatpak-builder build --user --install-deps-from=flathub --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 - 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: ""