-
Notifications
You must be signed in to change notification settings - Fork 22
/
.gitlab-ci.yml
45 lines (41 loc) · 1019 Bytes
/
.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
variables:
GIT_STRATEGY: clone
GITLAB: registry.gitlab.com
SHIFTER: registry.services.nersc.gov:8443
REGISTRY_USER: TonyWildish
APPLICATION: desisim
TEST_IMAGE: $REGISTRY/$REGISTRY_USER/$APPLICATION:latest
DOCKER_DRIVER: overlay
stages:
- build
- install
compileBranch:
stage: build
only:
- branches
tags:
- linux
- shared
script:
- echo "Project $CI_PROJECT_NAME, branch $CI_COMMIT_REF_NAME"
compileTag:
stage: build
only:
- tags
tags:
- linux
- shared
script:
- echo "Project $CI_PROJECT_NAME, tag $CI_COMMIT_REF_NAME"
install:
stage: install
tags:
- linux,shared
script:
- echo "installing $CI_PROJECT_NAME (not really)"
# - apt-get update
# - apt-get install -y --no-install-recommends python-pip python-devel
# - pip install numpy # could add '--root /desi' to this and the next two lines
# - pip install -r requirements.txt
# - python setup.py install
# - python -c "from desiutil.bitmask import BitMask"