-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitlab-ci.yml
77 lines (74 loc) · 2.03 KB
/
.gitlab-ci.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
include:
- local: linux.gitlab-ci.yml
rules:
- if: $PLATFORM == 'linux'
when: always
- if: $PLATFORM == 'windows'
when: never
- if: $PLATFORM == 'darwin'
when: never
- local: windows.gitlab-ci.yml
rules:
- if: $PLATFORM == 'windows'
when: always
- if: $PLATFORM == 'linux'
when: never
- if: $PLATFORM == 'darwin'
when: never
- local: darwin.gitlab-ci.yml
rules:
- if: $PLATFORM == 'darwin'
when: always
- if: $PLATFORM == 'linux'
when: never
- if: $PLATFORM == 'windows'
when: never
default:
image: docker-hosted.snap-ci.ovh/snap-installer:12.0.0-snapshot
cache:
- key: ${CI_COMMIT_BRANCH}
paths:
- "${CI_PROJECT_DIR}/.m2/repository"
- "${CI_PROJECT_DIR}/.cache/pip"
- "${CI_PROJECT_DIR}/**/target"
variables:
VERSION: '12.0.0'
PLATFORM:
description: Choose to plateform to run this job
value: linux
options:
- "linux"
- "windows"
- "darwin"
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
# $DOCKER_AUTH_CONFIG should have been setup as projet variable
SCOPE:
description: Choose GPT tests scope
value: daily
options:
- "daily"
- "weekly"
- "CItest"
REPORT_DIR: /home/snap/result
TEST_DATA_DIR: "/home/snap/testData"
TEST_DATA_LIST: "singleTestData.txt"
SNAP_DIR: /home/snap/esa-snap-software
TEMP_DIR: /home/snap/tmp
TAG: master
PROPERTIES_PATH: $CI_PROJECT_DIR/snap.conf
MAVEN_CLI_OPTS: >-
--no-transfer-progress
--batch-mode
--errors
--fail-at-end
--show-version
-DdeployAtEnd=false
JAVA_OPTIONS: >-
-Dncsa.hdf.hdflib.HDFLibrary.hdflib=$SNAP_DIR/snap/modules/lib/amd64/libjhdf.so
-Dncsa.hdf.hdf5lib.H5.hdf5lib=$SNAP_DIR/snap/modules/lib/amd64/libjhdf5.so
S3_ARGS: --endpoint-url $S3_ENDPOINT --region sbg --no-progress
# Overrides: memory_request = "4Gi" (but no more than: memory_request_overwrite_max_allowed = "8Gi")
KUBERNETES_MEMORY_REQUEST: "6Gi"
stages:
- test
- report