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: - 6b490ef3-3359-4999-aed2-6f8c28fc7d26 shell: false sources: - http://git.hut.ccw.icu/~comcloudway/melon#87af37d0782790158b3b06015a26beddcce35047 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: ""