-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
29 lines (26 loc) · 1.23 KB
/
.gitlab-ci.yml
File metadata and controls
29 lines (26 loc) · 1.23 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
# -*- mode: yaml; coding: utf-8 -*-
include:
- project: qs/spin/spin_plugin_common
ref: v3.0.0
file: ci/.gitlab-ci.yml
# ------------------------------------------------------------------------------
triggered_integration_tests_linux:
# Use an image that has node installed to test the node.use use-case.
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
test_linux:
# Overwrite image to have the necessary tools for ce_services in the CI
image: registry.contact.de/cetest:16.0-10.latest