forked from ubccr/xdmod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shippable.yml
33 lines (32 loc) · 1.67 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
27
28
29
30
31
32
33
language: none
env:
- XDMOD_TEST_MODE=fresh_install
- XDMOD_TEST_MODE=upgrade
build:
cache: true
cache_dir_list:
- /root/.composer
- /root/.npm
pre_ci_boot:
image_name: tas-tools-ext-01.ccr.xdmod.org/xdmod-centos7
image_tag: open7.5-v4
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.json open_xdmod/modules/xdmod/integration_tests/.secrets.json
- ./open_xdmod/modules/xdmod/tests/artifacts/update-artifacts.sh
- ./open_xdmod/modules/xdmod/regression_tests/runtests.sh --junit-output-dir `pwd`/shippable/testresults/
- ./open_xdmod/modules/xdmod/integration_tests/runtests.sh --log-junit `pwd`/shippable/testresults/xdmod-integration.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/xdmod-component.xml
- mv ./configuration/portal_settings.ini.old ./configuration/portal_settings.ini
- ./open_xdmod/modules/xdmod/automated_tests/runtests.sh --headless --log-junit `pwd`/shippable/testresults
- ./open_xdmod/modules/xdmod/integration_tests/scripts/samlSetup.sh
- ./open_xdmod/modules/xdmod/automated_tests/runtests.sh --headless --log-junit `pwd`/shippable/testresults --federated
on_failure:
- cat /var/log/xdmod/*