forked from ubccr/xdmod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshippable.yml
26 lines (26 loc) · 1.14 KB
/
shippable.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: none
env:
- XDMOD_TEST_MODE=fresh_install
- XDMOD_TEST_MODE=upgrade
build:
cache: true
cache_dir_list:
- /root/.composer
pre_ci_boot:
image_name: tas-tools-ext-01.ccr.xdmod.org/centos7-xdmod6.6.0
image_tag: version4
pull: true
options: "--user root -e HOME=/root"
ci:
- composer install --no-progress
- ~/bin/buildrpm xdmod
- ./open_xdmod/modules/xdmod/integration_tests/scripts/bootstrap.sh
- composer install --no-progress
- cp ~/assets/secrets open_xdmod/modules/xdmod/integration_tests/.secrets
- ./open_xdmod/modules/xdmod/integration_tests/runtests.sh --log-junit `pwd`/shippable/testresults/results.xml
- cp ./configuration/portal_settings.ini ./configuration/portal_settings.ini.old
- cp -f /etc/xdmod/portal_settings.ini ./configuration/portal_settings.ini
- ./open_xdmod/modules/xdmod/component_tests/runtests.sh --log-junit `pwd`/shippable/testresults/componentresults.xml
- mv ./configuration/portal_settings.ini.old ./configuration/portal_settings.ini
on_failure:
- cat /var/log/xdmod/*