Merge 41ebb36e9d
into 19d90e7c23
This commit is contained in:
commit
98ef5c6c08
4 changed files with 92 additions and 0 deletions
64
.papr.yml
Normal file
64
.papr.yml
Normal file
|
@ -0,0 +1,64 @@
|
|||
|
||||
---
|
||||
|
||||
host:
|
||||
distro: fedora/26/cloud
|
||||
context: 'Go-tip'
|
||||
|
||||
env:
|
||||
go_version: "tip"
|
||||
|
||||
timeout: 30m
|
||||
|
||||
packages:
|
||||
- btrfs-tools
|
||||
- libdevmapper-devel
|
||||
- libgpgme11-devel
|
||||
- libapparmor-devel
|
||||
- libseccomp-devel
|
||||
- autoconf
|
||||
- automake
|
||||
- bison
|
||||
- e2fslibs-devel
|
||||
- libfuse-devel
|
||||
- libtool
|
||||
- liblzma-devel
|
||||
- docker
|
||||
|
||||
tests:
|
||||
# Set common env. vars here, so only $go_version needs to vary between contexts
|
||||
- export PATH="$HOME/gopath/bin:$PATH"
|
||||
- export LD_LIBRARY_PATH="/usr/local/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
|
||||
- export
|
||||
- |
|
||||
# Script filenames easily renamed, don't forget to upd artifacts (below)
|
||||
for filename in .papr_first.sh .papr_second.sh .papr_third.sh:
|
||||
do
|
||||
echo "------------------------------------------------------"
|
||||
echo "------------------- $filename"
|
||||
echo "------------------------------------------------------"
|
||||
"./$filename" &> ${filename}.output || break;
|
||||
done
|
||||
|
||||
artifacts:
|
||||
- .papr_first.sh.output
|
||||
- .papr_second.sh.output
|
||||
- .papr_third.sh.output
|
||||
|
||||
---
|
||||
|
||||
context: 'Go-1.8.x'
|
||||
env:
|
||||
go_version: "1.8.x"
|
||||
|
||||
---
|
||||
|
||||
context: 'Go-1.7.x'
|
||||
env:
|
||||
go_version: "1.7.x"
|
||||
|
||||
---
|
||||
|
||||
context: 'Go-1.6.x'
|
||||
env:
|
||||
go_version: "1.6.x"
|
7
.papr_first.sh
Normal file
7
.papr_first.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
echo "...pretend installing $go_version down /usr/local..."
|
||||
|
||||
make install.tools
|
9
.papr_second.sh
Normal file
9
.papr_second.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
git clone https://github.com/ostreedev/ostree ../ostree
|
||||
cd ../ostree
|
||||
./autogen.sh --prefix=/usr/local
|
||||
make all
|
||||
sudo make install
|
12
.papr_third.sh
Normal file
12
.papr_third.sh
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
make .gitvalidation
|
||||
make gofmt
|
||||
make lint
|
||||
make integration
|
||||
make docs
|
||||
make
|
||||
|
||||
echo "... pretending to send notification to chat.freenode.net#cri-o ..."
|
Loading…
Add table
Add a link
Reference in a new issue