new podman-based pipeline

This commit is contained in:
Alya Sirko 2022-09-09 17:07:51 +03:00
parent 29ad240d16
commit 3a0f2c332a

4
ci.sh
View file

@ -10,11 +10,11 @@ usage () {
}
podman_offline () {
podman run --rm -v `pwd`:/var/lib/builder/src:U -v $HOME/fdroid:/var/lib/builder/repo:U -v $HOME/fdroid-keystore:/var/lib/builder/repo/fdroid-keystore:U -v $HOME/standalone-keystore:/var/lib/builder/repo/standalone-keystore:U --env FDROID_KEYSTORE_PASS=$FDROID_KEYSTORE_PASS --env STANDALONE_KEYSTORE_PASS=$STANDALONE_KEYSTORE_PASS --network=none --workdir $1 $CONTAINER_IMAGE $2
podman run --rm -v `pwd`:/var/lib/builder/src:U -v "$HOME/fdroid:/var/lib/builder/repo:U" -v "$HOME/fdroid-keystore:/var/lib/builder/repo/fdroid-keystore:U" -v "$HOME/standalone-keystore:/var/lib/builder/repo/standalone-keystore:U" --env FDROID_KEYSTORE_PASS="$FDROID_KEYSTORE_PASS" --env STANDALONE_KEYSTORE_PASS="$STANDALONE_KEYSTORE_PASS" --network=none --workdir "$1" "$CONTAINER_IMAGE" "$2"
}
podman_online () {
podman run --rm -v `pwd`:/var/lib/builder/src:U --privileged --workdir $1 $CONTAINER_IMAGE $2
podman run --rm -v `pwd`:/var/lib/builder/src:U --privileged --workdir "$1" "$CONTAINER_IMAGE" "$2"
}
build_linux () {