-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
59 lines (55 loc) · 1.47 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
variables:
DOCKER_HOST: "tcp://localhost:2375"
DOCKER_DRIVER: overlay2
CXXFLAGS: "-Wno-error"
CFLAGS: "-Wno-error"
stages:
- build
build-spl-files:
stage: build
image:
name: eu.gcr.io/coral-muse-571/alpine_ci_k8s:latest
dependencies: []
script:
- cd src/Egnyte_Protect
- chmod -R 644 *
- chmod 700 default
- chmod 700 metadata
- chmod 700 static
- chmod 700 default/data
- chmod 700 default/data/ui
- chmod 700 default/data/ui/views
- chmod 700 default/data/ui/nav
- cd ..
- tar cvf Egnyte_Protect.tar Egnyte_Protect
- gzip Egnyte_Protect.tar
- cd TA-egnyte-protect
- chown -R root:root *
- chmod -R 644 *
- chmod -R 755 bin
- chmod 700 default
- chmod 700 default/data
- chmod 700 default/data/ui
- chmod 700 default/data/ui/nav
- chmod 700 default/data/ui/views
- chmod 700 metadata
- chmod 700 static
- chmod 700 README
- chmod 700 appserver
- chmod 700 appserver/static
- chmod 700 appserver/static/css
- chmod 700 appserver/static/img
- chmod 700 appserver/static/js
- chmod 700 appserver/static/js/build
- chmod 700 appserver/templates
- cd ..
- tar cvf TA-egnyte-protect.tar TA-egnyte-protect
- gzip TA-egnyte-protect.tar
- cd ..
- mkdir builds
- cp src/Egnyte_Protect.tar.gz builds/Egnyte_Protect.spl
- cp src/TA-egnyte-protect.tar.gz builds/TA-egnyte-protect.spl
artifacts:
paths:
- builds
expire_in: 1 week