new podman-based pipeline

pull/112/head
Alya Sirko 2022-09-09 17:39:24 +03:00
parent 9b619cb0b8
commit 86c60aa4c2
2 changed files with 1 additions and 7 deletions

View File

@ -23,12 +23,6 @@ steps:
commands:
- ln -s /var/lib/drone-runner-exec/.local $HOME/.local
- name: Debug
commands:
- echo $HOME
- podman images
- ls -la
- name: Build Intermediate Linux Release Artifact (Binary)
commands:
- ./ci.sh --build-linux

2
ci.sh
View File

@ -10,7 +10,7 @@ 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 "/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 () {