travis: check if package verification really works
QubesOS/qubes-issues#1926
This commit is contained in:
parent
798e008f7b
commit
237aee86c5
@ -4,8 +4,10 @@ language: generic
|
||||
install: git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
|
||||
script:
|
||||
- ~/qubes-builder/scripts/travis-build
|
||||
- travis_wait 30 make -C ~/qubes-builder iso BUILDERCONF=scripts/travis-builder.conf VERBOSE=0 COMPONENTS=installer-qubes-os
|
||||
- travis_wait 30 $EXPECT_FAILURE make -C ~/qubes-builder iso BUILDERCONF=scripts/travis-builder.conf VERBOSE=0 COMPONENTS=installer-qubes-os
|
||||
after_script:
|
||||
- tail -n 100 ~/qubes-builder/build-logs/installer-qubes-os-iso-*.log
|
||||
env:
|
||||
DIST_DOM0=fc20 INSTALLER_KICKSTART=/tmp/qubes-installer/conf/travis-iso.ks USE_QUBES_REPO_VERSION=3.1
|
||||
- DIST_DOM0=fc20 INSTALLER_KICKSTART=/tmp/qubes-installer/conf/travis-iso.ks USE_QUBES_REPO_VERSION=3.1
|
||||
- DIST_DOM0=fc20 INSTALLER_KICKSTART=/tmp/qubes-installer/conf/travis-iso-unsigned.ks USE_QUBES_REPO_VERSION=3.1 EXPECT_FAILURE=./expected-failure
|
||||
- DIST_DOM0=fc20 INSTALLER_KICKSTART=/tmp/qubes-installer/conf/travis-iso-unknown-key.ks USE_QUBES_REPO_VERSION=3.1 EXPECT_FAILURE=./expected-failure
|
||||
|
3
conf/travis-iso-unknown-key.ks
Normal file
3
conf/travis-iso-unknown-key.ks
Normal file
@ -0,0 +1,3 @@
|
||||
%include travis-iso.ks
|
||||
|
||||
repo --name=unknown-key --gpgkey=file:///tmp/qubes-installer/qubes-release/RPM-GPG-KEY-qubes-3.1-primary --baseurl=http://ftp.qubes-os.org/~marmarek/repo-verify-unknown-key
|
3
conf/travis-iso-unsigned.ks
Normal file
3
conf/travis-iso-unsigned.ks
Normal file
@ -0,0 +1,3 @@
|
||||
%include travis-iso.ks
|
||||
|
||||
repo --name=unsigned --gpgkey=file:///tmp/qubes-installer/qubes-release/RPM-GPG-KEY-qubes-3.1-primary --baseurl=http://ftp.qubes-os.org/~marmarek/repo-verify-unsigned
|
3
expected-failure
Executable file
3
expected-failure
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
! "$@"
|
Loading…
Reference in New Issue
Block a user