test_suite:
- backend:
test_suite_script: run-backend-api-tests.sh
+ test_deps_script: install-backend-api-test-deps.sh
- e2e:
test_suite_script: run-frontend-e2e-tests.sh
+ test_deps_script: install-e2e-test-deps.sh
jobs:
- '{name}-{ceph_branch}-{test_suite}'
project-type: freestyle
defaults: global
concurrent: true
- node: huge && x86_64 && centos7 && rebootable
+ node: huge && bionic && rebootable && x86_64 && !xenial && !trusty
quiet-period: 5
block-downstream: false
block-upstream: false
builders:
- shell: "export NPROC=$(nproc); {ceph_build}"
- - conditional-step:
- condition-kind: strings-match
- condition-string1: '{test_suite}'
- condition-string2: 'e2e'
- steps:
- - shell:
- !include-raw: ../../../scripts/e2e/install-e2e-tests-deps.sh
+ - shell:
+ !include-raw:
+ - ../../../scripts/dashboard/{test_deps_script}
- shell: "cd src/pybind/mgr/dashboard; timeout 2h ./{test_suite_script}"
publishers:
project-type: freestyle
defaults: global
concurrent: true
- node: huge && x86_64 && centos7 && rebootable
+ node: huge && bionic && rebootable && x86_64 && !xenial && !trusty
display-name: 'ceph: dashboard Pull Requests backend'
quiet-period: 5
block-downstream: false
!include-raw:
- ../../../scripts/build_utils.sh
- ../../build/build
+ - ../../../scripts/dashboard/install-backend-api-test-deps.sh
- shell: "cd src/pybind/mgr/dashboard; timeout 7200 ./run-backend-api-tests.sh"
project-type: freestyle
defaults: global
concurrent: true
- node: huge && x86_64 && centos7 && rebootable
+ node: huge && bionic && rebootable && x86_64 && !xenial && !trusty
display-name: 'ceph: dashboard Pull Requests'
quiet-period: 5
block-downstream: false
- shell: "export NPROC=$(nproc) CHECK_MAKEOPTS='-j$(nproc) -N -Q'; timeout 7200 ./run-make-check.sh"
- shell:
!include-raw:
- - ../../../scripts/e2e/install-e2e-tests-deps.sh
+ - ../../../scripts/dashboard/install-e2e-test-deps.sh
- shell: "cd src/pybind/mgr/dashboard; timeout 7200 ./run-frontend-e2e-tests.sh"
--- /dev/null
+#!/bin/bash
+set -ex
+
+if grep -q debian /etc/*-release; then
+ sudo apt-get install -y python-scipy python3-scipy python-routes python3-routes
+elif grep -q rhel /etc/*-release; then
+ sudo yum install -y scipy python-routes python3-routes
+fi
--- /dev/null
+#!/bin/bash
+set -ex
+
+if [[ ! $(arch) =~ (i386|x86_64|amd64) ]]; then
+ # google chrome is only available on amd64
+ exit
+fi
+
+if grep -q debian /etc/*-release; then
+ sudo bash -c 'echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list'
+ curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
+ sudo apt-get update
+ sudo apt-get install -y google-chrome-stable
+ sudo apt-get install -y python-requests python3-requests python-openssl python3-openssl python-jinja2 python3-jinja2 \
+ python-jwt python3-jwt python-scipy python3-scipy python-routes python3-routes
+ sudo rm /etc/apt/sources.list.d/google-chrome.list
+elif grep -q rhel /etc/*-release; then
+ sudo dd of=/etc/yum.repos.d/google-chrome.repo status=none <<EOF
+[google-chrome]
+name=google-chrome
+baseurl=https://dl.google.com/linux/chrome/rpm/stable/\$basearch
+enabled=1
+gpgcheck=1
+gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
+EOF
+ sudo yum install -y google-chrome-stable
+ sudo rm /etc/yum.repos.d/google-chrome.repo
+ sudo yum install -y python-requests pyOpenSSL python-jinja2 python-jwt scipy python-routes python3-routes
+fi
+++ /dev/null
-#!/bin/bash
-set -ex
-
-if [[ ! $(arch) =~ (i386|x86_64|amd64) ]]; then
- # google chrome is only available on amd64
- exit
-fi
-
-if grep -q debian /etc/*-release; then
- sudo bash -c 'echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list'
- curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo apt-get update
- sudo apt-get install -y google-chrome-stable
- sudo apt-get install -y python-requests python-openssl python-jinja2 python-jwt python-scipy
- sudo rm /etc/apt/sources.list.d/google-chrome.list
-elif grep -q rhel /etc/*-release; then
- sudo dd of=/etc/yum.repos.d/google-chrome.repo status=none <<EOF
-[google-chrome]
-name=google-chrome
-baseurl=https://dl.google.com/linux/chrome/rpm/stable/\$basearch
-enabled=1
-gpgcheck=1
-gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
-EOF
- sudo yum install -y google-chrome-stable
- sudo rm /etc/yum.repos.d/google-chrome.repo
- sudo yum install -y python-requests pyOpenSSL python-jinja2 python-jwt scipy
-fi