arch: null artifacts: [] environment: BUILD_SUBMITTER: git.sr.ht GIT_REF: refs/heads/dev-flatpak-ci 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: - 8ef759b4-40f4-4693-8f94-c6dff371ce33 shell: false sources: - http://git.hut.ccw.icu/~comcloudway/melon#9aaf09a0aa944ee1717e835c49d3e0274c0b5192 tasks: - s3fs-setup: | sudo modprobe fuse 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: ""