arch: null artifacts: [] environment: BUILD_SUBMITTER: git.sr.ht GIT_REF: refs/heads/main app_id: icu.ccw.Melon repo_dir: 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#b629b8414693a95dd5db35788a552ed26e6d4f27 tasks: - s3fs-setup: | sudo modprobe fuse sudo mv ~/.passwd-s3fs /etc/passwd-s3fs mkdir -p ~/$repo_dir sudo s3fs $s3_bucket ~/$repo_dir -o url=$s3_url -o use_path_request_style -o umask=0007,uid=$(id -u) -o allow_other - 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 $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: | sudo umount ~/$repo_dir triggers: [] oauth: ""