-
Notifications
You must be signed in to change notification settings - Fork 3
/
.daas.yml
53 lines (49 loc) · 1.78 KB
/
.daas.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
version: 0.3
project:
name: "rxclient"
apt:
sources:
- "rpm ftp://server/pub ALTLinux/Sisyphus/x86_64 classic"
- "rpm ftp://server/pub ALTLinux/Sisyphus/noarch classic"
#- rpm http://ftp.altlinux.org/pub/distributions/ALTLinux Sisyphus/x86_64 classic
#- rpm http://ftp.altlinux.org/pub/distributions/ALTLinux Sisyphus/noarch classic
groups:
rx:
nodes:
rxclient:
context: "rxclient-$BUILD_ID"
image: x64.sisyphus-rxclient
start_command: start-rx-client.sh
hostname: "rxclient-$BUILD_ID"
environment:
- "SERVICE_NAME=$RXCLIENT_NAME"
- "SERVICE_TAGS=rxclient,build-$BUILD_ID"
ports:
- "$CI_BUILD_ID:22"
volumes:
- "./rxclient-config:/home/guest/.nx/config"
copy:
- "rx-test.list:/etc/apt/sources.list.d/"
- "03-logging.conf:/etc/rx-etersoft/node.conf.d/"
- "guest:/home/guest/"
- "[0400]guest.sudo:/etc/sudoers.d/guest"
before_command:
- epm repolist && epm update
- epm i --auto rxclient
- chown -R guest:guest /home/guest/.nx /home/guest/.opennx /home/guest/Desktop
- chown root:root /etc/sudoers.d/guest
rxserver:
context: "rxclient-rxserver-$BUILD_ID"
image: x64.sisyphus-rxserver
start_command: start-rx.sh
hostname: "rx-server-$BUILD_ID"
environment:
- "SERVICE_NAME=$RXSERVER_NAME"
- "SERVICE_TAGS=rxclient,build-$BUILD_ID"
copy:
- "03-logging.conf:/etc/rx-etersoft/node.conf.d/"
- "guest.sudo:/etc/sudoers.d/guest"
before_command:
- chown root:root /etc/sudoers.d/guest
ports:
- "$BUILD_ID:22"