File: rpm_ci

package info (click to toggle)
libpgjava 42.2.5-2%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,136 kB
  • sloc: java: 57,821; xml: 1,135; sh: 307; perl: 99; makefile: 7
file content (15 lines) | stat: -rwxr-xr-x 511 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh -xe

# Go to correct directory.
cd "$(dirname "$0")"

# Decrypt copr token.  For security reasons, the security variable is not
# exported in case of pull request -> thus this is going to fail.
(
    set +x +e # pssst!
    echo "$copr_token_password" | gpg --batch --passphrase-fd 0 rpm/copr-token.gpg
) || exit 0

docker run -e HOME=/git -e PARENT_VERSION -e PROJECT_VERSION \
    -u `id -u` -ti --rm -v `pwd`/..:/git:Z praiskup/copr-and-jdbc-ci \
    copr-ci-git /git/packaging/rpm postgresql-jdbc