forked from DIRACGrid/DIRAC
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
31 lines (25 loc) · 737 Bytes
/
Copy path.gitlab-ci.yml
File metadata and controls
31 lines (25 loc) · 737 Bytes
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
image: gitlab-registry.cern.ch/alu/dirac/docker-compose
services:
- name: docker:18-dind
before_script:
- "echo ${CI_REGISTRY_PASSWORD} | docker login -u ${CI_REGISTRY_USER} ${CI_REGISTRY} --password-stdin"
# GitLab only clones the current reference but DIRAC's tests require other branches
- git fetch --all
variables:
COMPOSE_HTTP_TIMEOUT: "360"
test:
tags:
- docker-privileged
script:
- "bash tests/CI/run_docker_setup.sh"
after_script:
- "bash -c 'source tests/CI/utils.sh && getLogs'"
artifacts:
name: "logs_$CI_JOB_NAME"
paths:
- log_server_install.txt
- log_server_tests.txt
- log_client_install.txt
- log_client_tests.txt
expire_in: 1 week
when: always