Skip to content

Commit

Permalink
ci: copy also temp files in artifacts for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Mar 14, 2017
1 parent a22d654 commit 7fa3314
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ stages:

variables:
ACCEPT_LICENSE: '*'
FEATURES: '-userpriv -sandbox -usersandbox'
FEATURES: '-userpriv -sandbox -usersandbox keepwork'

compile:
stage: build
script:
- mkdir artifacts && mkdir artifacts/logs
- mkdir artifacts && mkdir artifacts/logs && mkdir artifacts/tmp
- ( equo up && equo i -q --bdeps -o genkernel-next ) &>artifacts/logs/equo.log
- ( equo i -q bison sys-block/open-iscsi sabayon-artwork-plymouth-default gentoolkit layman git gcc ) &>artifacts/logs/equo.log
- ( eix-sync && layman -S ) &>/dev/null
Expand All @@ -18,6 +18,7 @@ compile:
- echo "Testing genkernel installation and kernel compilation ($available_kernel)" && make && make install && emerge -j1 -b -q -t $available_kernel
- mv /usr/portage/packages/* ./artifacts/
- mv /var/log/portage/* ./artifacts/logs/
- mv /var/tmp/portage/* ./artifacts/tmp/
artifacts:
paths:
- artifacts
Expand Down

0 comments on commit 7fa3314

Please sign in to comment.