.gitlab-ci.yml 1.26 KB
Newer Older
1
2
3
4
image: stretch_website

before_script:
  - export LANG=en_US.UTF-8
5
  - echo "deb http://security.debian.org/debian-security stretch/updates main contrib non-free" >> /etc/apt/sources.list
6
  - echo "deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free" >> /etc/apt/sources.list
7
8
  - sort /etc/apt/sources.list | uniq > sources.list.new
  - mv sources.list.new /etc/apt/sources.list
9
  - apt-get update
10
  - apt-get install -y dpkg-dev quilt devscripts
Hinrikus Wolf's avatar
Hinrikus Wolf committed
11
12
13
14
  - export DEBIAN_FRONTEND="noninteractive"
  - export DEBIAN_PRIORITY="critical"
  - export DEBFULLNAME="FSMPI Admin-Team"
  - export DEBEMAIL="admin@fsmpi.rwth-aachen.de"
15
16
17
18
19
20
21
#  - python3 -m venv venv
#  - source venv/bin/activate
#  - pip install wheel
#  - pip install -r requirements.txt
#  - mkdir -p ~/.ssh
#  - echo $DEPLOY_KEY | base64 --decode > ~/.ssh/id_ed25519
#  - chmod go-rw ~/.ssh/id_ed25519
22

23
24
25
26
27

sssd:
  stage: build
  script: scripts/sssd.sh
  artifacts: 
Hinrikus Wolf's avatar
Hinrikus Wolf committed
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
    paths: 
      - packages/

adcli:
  stage: build
  script: scripts/adcli.sh
  artifacts: 
    paths: 
      - packages/
      
nginx:
  stage: build
  script: scripts/nginx.sh
  artifacts: 
    paths: 
      - packages/
44

Hinrikus Wolf's avatar
Hinrikus Wolf committed
45
ganeti:
46
  stage: build
Hinrikus Wolf's avatar
Hinrikus Wolf committed
47
48
49
50
51
52
53
54
  script: scripts/ganeti.sh
  artifacts: 
    paths: 
      - packages/


stages:
  - build