mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-16 21:53:17 +00:00
new podman-based pipeline
This commit is contained in:
parent
644fac6743
commit
13ad5a9980
4
ci.sh
4
ci.sh
|
@ -10,11 +10,11 @@ usage () {
|
||||||
}
|
}
|
||||||
|
|
||||||
podman_offline () {
|
podman_offline () {
|
||||||
podman run --rm -v "src:/var/lib/builder/src" -v "/var/lib/drone-runner-exec/fdroid:/var/lib/builder/repo:U" -v "/var/lib/drone-runner-exec/fdroid-keystore:/var/lib/builder/repo/fdroid-keystore:U" -v "/var/lib/drone-runner-exec/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 "src:/var/lib/builder/src:U" -v "/var/lib/drone-runner-exec/fdroid:/var/lib/builder/repo:U" -v "/var/lib/drone-runner-exec/fdroid-keystore:/var/lib/builder/repo/fdroid-keystore:U" -v "/var/lib/drone-runner-exec/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_online () {
|
||||||
podman run --rm -v "src:/var/lib/builder/src" --privileged --workdir $1 "$CONTAINER_IMAGE" $2
|
podman run --rm -v "src:/var/lib/builder/src:U" --privileged --workdir $1 "$CONTAINER_IMAGE" $2
|
||||||
}
|
}
|
||||||
|
|
||||||
build_linux () {
|
build_linux () {
|
||||||
|
|
Loading…
Reference in a new issue