-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.gitlab-ci.yml
56 lines (52 loc) · 1.02 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
stages:
- build
- publish
Build:
stage: build
image: opentapio/opentap:9.9-ubuntu18.04
tags: [ docker, gce ]
variables:
GIT_SUBMODULE_STRATEGY: recursive
script:
- dotnet build -c Release
- cp OpenTAP.TUI/bin/Release/TUI*.TapPackage .
artifacts:
expire_in: 1 week
paths:
- "TUI*.TapPackage"
PublishAlpha:
stage: publish
image: opentapio/opentap:9.16-ubuntu18.04
tags: [ docker, gce ]
when: manual
dependencies:
- Build
script:
- tap package install PackagePublish
- tap package publish TUI*.TapPackage -k $REPO_KEY
Publish:
stage: publish
image: opentapio/opentap:9.16-ubuntu18.04
tags: [ docker, gce ]
only:
- master
dependencies:
- Build
script:
- tap package install PackagePublish
- tap package publish TUI*.TapPackage -k $REPO_KEY
pages:
stage: build
image: node:9.11.1
only:
- master
cache:
paths:
- node_modules/
script:
- cd doc
- npm install
- npm run build
artifacts:
paths:
- public