-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
41 lines (35 loc) · 1.58 KB
/
.gitlab-ci.yml
File metadata and controls
41 lines (35 loc) · 1.58 KB
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
34
35
36
37
38
39
40
41
# -*- mode: yaml; coding: utf-8 -*-
include:
- project: qs/spin/spin_plugin_common
ref: v3.0.0
file: ci/.gitlab-ci.yml
variables:
SPIN_TREE_NODE__USE: node
SPIN_TREE_PYTHON__USE: python
SPIN_TREE_JAVA__USE: java
triggered_integration_tests_linux:
# Overwrite image to have the necessary tools for ce_services in the CI
image: registry.contact.de/cetest:16.0-10.latest
before_script:
# We need to overwrite this, as spin_plugin_common needs to install jq and
# asserts that we're root, which isn't the case for cetest. But as jq is
# already installed, we can simply do the rest of spin_plugin_common's
# before_script:
- |
export WHEEL_JOB_ID=$( \
curl -s \
"${CI_API_V4_URL}/projects/1065/pipelines/${PARENT_PIPELINE_ID}/jobs?scope=success" \
| jq -S '.[] | select (.name == "wheel") | {id}' | jq -rj '.[]' \
)
- curl -O ${CI_API_V4_URL}/projects/1065/jobs/${WHEEL_JOB_ID}/artifacts.zip
- unzip artifacts.zip "dist/*"
- pip install dist/csspin*.whl -r requirements-dev.txt
triggered_integration_tests_windows:
variables:
SPIN_TREE_CE_SERVICES__HIVEMQ__ELEMENTS_INTEGRATION__INSTALL_DIR: 'C:\Program Files\hivemq-elements-integration'
test_linux:
# Overwrite image to have the necessary tools for ce_services in the CI
image: registry.contact.de/cetest:16.0-10.latest
test_windows:
variables:
SPIN_TREE_CE_SERVICES__HIVEMQ__ELEMENTS_INTEGRATION__INSTALL_DIR: 'C:\Program Files\hivemq-elements-integration'